Hello community,

here is the log from the commit of package rubygem-httpclient for 
openSUSE:Factory checked in at 2016-05-29 03:12:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-httpclient (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-httpclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-httpclient"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-httpclient/rubygem-httpclient.changes    
2016-03-18 21:39:07.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-httpclient.new/rubygem-httpclient.changes   
    2016-05-29 03:13:19.000000000 +0200
@@ -1,0 +2,12 @@
+Sat May 21 04:33:46 UTC 2016 - co...@suse.com
+
+- updated to version 2.8.0
+  no changelog found
+
+-------------------------------------------------------------------
+Sat Apr 23 04:32:22 UTC 2016 - co...@suse.com
+
+- updated to version 2.7.2
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  httpclient-2.7.1.gem

New:
----
  httpclient-2.8.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-httpclient.spec ++++++
--- /var/tmp/diff_new_pack.XmNgYr/_old  2016-05-29 03:13:20.000000000 +0200
+++ /var/tmp/diff_new_pack.XmNgYr/_new  2016-05-29 03:13:20.000000000 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-httpclient
-Version:        2.7.1
+Version:        2.8.0
 Release:        0
 %define mod_name httpclient
 %define mod_full_name %{mod_name}-%{version}

++++++ httpclient-2.7.1.gem -> httpclient-2.8.0.gem ++++++
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/httpclient/ssl_config.rb 
new/lib/httpclient/ssl_config.rb
--- old/lib/httpclient/ssl_config.rb    2016-01-01 15:52:04.000000000 +0100
+++ new/lib/httpclient/ssl_config.rb    2016-04-24 08:08:06.000000000 +0200
@@ -204,6 +204,9 @@
     #
     # Calling this method resets all existing sessions.
     def add_trust_ca(trust_ca_file_or_hashed_dir)
+      unless File.exist?(trust_ca_file_or_hashed_dir)
+        trust_ca_file_or_hashed_dir = File.join(File.dirname(__FILE__), 
trust_ca_file_or_hashed_dir)
+      end
       @cacerts_loaded = true # avoid lazy override
       add_trust_ca_to_store(@cert_store, trust_ca_file_or_hashed_dir)
       @cert_store_items << trust_ca_file_or_hashed_dir
@@ -438,19 +441,10 @@
       nil
     end
 
-    # Use 2014 bit certs trust anchor if possible.
-    # CVE-2015-1793 requires: OpenSSL >= 1.0.2d or OpenSSL >= 1.0.1p
-    # OpenSSL before 1.0.1 does not have CVE-2015-1793 problem
+    # Use 2048 bit certs trust anchor
     def load_cacerts(cert_store)
       ver = OpenSSL::OPENSSL_VERSION
-      if (ver.start_with?('OpenSSL 1.0.1') && ver >= 'OpenSSL 1.0.1p') ||
-          (ver.start_with?('OpenSSL ') && ver >= 'OpenSSL 1.0.2d') || 
defined?(JRuby)
-        filename = 'cacert.pem'
-      else
-        warning("RSA 1024 bit CA certificates are loaded due to old openssl 
compatibility")
-        filename = 'cacert1024.pem'
-      end
-      file = File.join(File.dirname(__FILE__), filename)
+      file = File.join(File.dirname(__FILE__), 'cacert.pem')
       unless defined?(JRuby)
         # JRuby uses @cert_store_items
         add_trust_ca_to_store(cert_store, file)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/httpclient/version.rb 
new/lib/httpclient/version.rb
--- old/lib/httpclient/version.rb       2016-01-01 15:52:04.000000000 +0100
+++ new/lib/httpclient/version.rb       2016-04-24 08:08:06.000000000 +0200
@@ -1,3 +1,3 @@
 class HTTPClient
-  VERSION = '2.7.1'
+  VERSION = '2.8.0'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2016-01-01 15:52:04.000000000 +0100
+++ new/metadata        2016-04-24 08:08:06.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: httpclient
 version: !ruby/object:Gem::Version
-  version: 2.7.1
+  version: 2.8.0
 platform: ruby
 authors:
 - Hiroshi Nakamura
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2016-01-01 00:00:00.000000000 Z
+date: 2016-04-24 00:00:00.000000000 Z
 dependencies: []
 description: 
 email: n...@ruby-lang.org


Reply via email to