Hello community, here is the log from the commit of package rubygem-excon for openSUSE:Factory checked in at 2015-04-25 09:52:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-excon (Old) and /work/SRC/openSUSE:Factory/.rubygem-excon.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-excon" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-excon/rubygem-excon.changes 2015-04-18 10:41:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-excon.new/rubygem-excon.changes 2015-04-25 11:25:42.000000000 +0200 @@ -1,0 +2,12 @@ +Thu Apr 23 07:59:44 UTC 2015 - [email protected] + +- updated to version 0.45.3 + see installed changelog.txt + + 0.45.3 04/21/2015 + ================= + + guard warning about openssl versions in case constant undefined + ensure rackup listens properly, fixes local tests + +------------------------------------------------------------------- Old: ---- excon-0.45.2.gem New: ---- excon-0.45.3.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-excon.spec ++++++ --- /var/tmp/diff_new_pack.MVLjNv/_old 2015-04-25 11:25:42.000000000 +0200 +++ /var/tmp/diff_new_pack.MVLjNv/_new 2015-04-25 11:25:42.000000000 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-excon -Version: 0.45.2 +Version: 0.45.3 Release: 0 %define mod_name excon %define mod_full_name %{mod_name}-%{version} ++++++ excon-0.45.2.gem -> excon-0.45.3.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile.lock new/Gemfile.lock --- old/Gemfile.lock 2015-04-16 16:49:54.000000000 +0200 +++ new/Gemfile.lock 2015-04-21 16:03:21.000000000 +0200 @@ -1,7 +1,7 @@ PATH remote: . specs: - excon (0.45.2) + excon (0.45.3) GEM remote: http://rubygems.org/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/changelog.txt new/changelog.txt --- old/changelog.txt 2015-04-16 16:49:54.000000000 +0200 +++ new/changelog.txt 2015-04-21 16:03:21.000000000 +0200 @@ -1,3 +1,9 @@ +0.45.3 04/21/2015 +================= + +guard warning about openssl versions in case constant undefined +ensure rackup listens properly, fixes local tests + 0.45.2 04/16/2015 ================= Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/excon.gemspec new/excon.gemspec --- old/excon.gemspec 2015-04-16 16:49:54.000000000 +0200 +++ new/excon.gemspec 2015-04-21 16:03:21.000000000 +0200 @@ -13,8 +13,8 @@ ## If your rubyforge_project name is different, then edit it and comment out ## the sub! line in the Rakefile s.name = 'excon' - s.version = '0.45.2' - s.date = '2015-04-16' + s.version = '0.45.3' + s.date = '2015-04-21' s.rubyforge_project = 'excon' ## Make sure your summary is short. The description may be as long diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/excon/constants.rb new/lib/excon/constants.rb --- old/lib/excon/constants.rb 2015-04-16 16:49:54.000000000 +0200 +++ new/lib/excon/constants.rb 2015-04-21 16:03:21.000000000 +0200 @@ -1,6 +1,6 @@ module Excon - VERSION = '0.45.2' + VERSION = '0.45.3' CR_NL = "\r\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/excon/socket.rb new/lib/excon/socket.rb --- old/lib/excon/socket.rb 2015-04-16 16:49:54.000000000 +0200 +++ new/lib/excon/socket.rb 2015-04-21 16:03:21.000000000 +0200 @@ -242,7 +242,7 @@ # have to slice data when there is a short write. written = @socket.write_nonblock(data) rescue Errno::EFAULT - if OpenSSL::OPENSSL_LIBRARY_VERSION.split(' ')[1] == '1.0.2' + if OpenSSL.const_defined?(:OPENSSL_LIBRARY_VERSION) && OpenSSL::OPENSSL_LIBRARY_VERSION.split(' ')[1] == '1.0.2' msg = "The version of OpenSSL this ruby is built against (1.0.2) has a vulnerability which causes a fault. For more, see https://github.com/excon/excon/issues/467" raise SecurityError.new(msg) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2015-04-16 16:49:54.000000000 +0200 +++ new/metadata 2015-04-21 16:03:21.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: excon version: !ruby/object:Gem::Version - version: 0.45.2 + version: 0.45.3 platform: ruby authors: - dpiddy (Dan Peterson) @@ -10,7 +10,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2015-04-16 00:00:00.000000000 Z +date: 2015-04-21 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: activesupport diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tests/basic_tests.rb new/tests/basic_tests.rb --- old/tests/basic_tests.rb 2015-04-16 16:49:54.000000000 +0200 +++ new/tests/basic_tests.rb 2015-04-21 16:03:21.000000000 +0200 @@ -94,7 +94,7 @@ connection = Excon.new(uri, :user => user, :password => pass ) response = connection.request(:method => :get, :path => '/content-length/100') response.status - end + end end end @@ -285,7 +285,7 @@ end end - with_rackup('basic.ru') do + with_rackup('basic.ru', '0.0.0.0') do connection = Excon.new("http://127.0.0.1:9292/echo", :reuseaddr => true, # enable address and port reuse :persistent => true # keep the socket open diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tests/test_helper.rb new/tests/test_helper.rb --- old/tests/test_helper.rb 2015-04-16 16:49:54.000000000 +0200 +++ new/tests/test_helper.rb 2015-04-21 16:03:21.000000000 +0200 @@ -231,12 +231,12 @@ File.expand_path(File.join(File.dirname(__FILE__), 'rackups', *parts)) end -def with_rackup(name) +def with_rackup(name, host="127.0.0.1") unless RUBY_PLATFORM == 'java' GC.disable if RUBY_VERSION < '1.9' - pid, w, r, e = Open4.popen4("rackup", rackup_path(name)) + pid, w, r, e = Open4.popen4("rackup", "--host", host, rackup_path(name)) else - pid, w, r, e = IO.popen4("rackup", rackup_path(name)) + pid, w, r, e = IO.popen4("rackup", "--host", host, rackup_path(name)) end until e.gets =~ /HTTPServer#start:/; end yield
