commit rubygem-httpclient for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-httpclient for openSUSE:Factory checked in at 2016-11-07 12:22:44 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-10-10 16:22:25.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-httpclient.new/rubygem-httpclient.changes 2016-11-07 12:22:45.0 +0100 @@ -1,0 +2,6 @@ +Sat Oct 8 04:32:11 UTC 2016 - co...@suse.com + +- updated to version 2.8.2.4 + no changelog found + +--- Old: httpclient-2.8.2.3.gem New: httpclient-2.8.2.4.gem Other differences: -- ++ rubygem-httpclient.spec ++ --- /var/tmp/diff_new_pack.FuFx4V/_old 2016-11-07 12:22:46.0 +0100 +++ /var/tmp/diff_new_pack.FuFx4V/_new 2016-11-07 12:22:46.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-httpclient -Version:2.8.2.3 +Version:2.8.2.4 Release:0 %define mod_name httpclient %define mod_full_name %{mod_name}-%{version} ++ httpclient-2.8.2.3.gem -> httpclient-2.8.2.4.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.rb2016-08-28 08:48:35.0 +0200 +++ new/lib/httpclient/ssl_config.rb2016-09-10 17:06:12.0 +0200 @@ -56,8 +56,9 @@ [:add_cert, :add_file, :add_path].each do |m| wrapped[m] = instance_method(m) define_method(m) do |cert| -wrapped[m].bind(self).call(cert) +res = wrapped[m].bind(self).call(cert) @_httpclient_cert_store_items << cert +res end end end 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-08-28 08:48:35.0 +0200 +++ new/lib/httpclient/version.rb 2016-09-10 17:06:12.0 +0200 @@ -1,3 +1,3 @@ class HTTPClient - VERSION = '2.8.2.3' + VERSION = '2.8.2.4' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2016-08-28 08:48:35.0 +0200 +++ new/metadata2016-09-10 17:06:12.0 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: httpclient version: !ruby/object:Gem::Version - version: 2.8.2.3 + version: 2.8.2.4 platform: ruby authors: - Hiroshi Nakamura autorequire: bindir: bin cert_chain: [] -date: 2016-08-28 00:00:00.0 Z +date: 2016-09-10 00:00:00.0 Z dependencies: [] description: email: n...@ruby-lang.org diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_ssl.rb new/test/test_ssl.rb --- old/test/test_ssl.rb2016-08-28 08:48:35.0 +0200 +++ new/test/test_ssl.rb2016-09-10 17:06:12.0 +0200 @@ -383,6 +383,11 @@ @client.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_PEER end + def test_x509_store_add_cert_prepend +store = OpenSSL::X509::Store.new +assert_equal(store, store.add_cert(OpenSSL::X509::Certificate.new(VERIFY_TEST_CERT_LOCALHOST))) + end + private def cert(filename)
commit rubygem-httpclient for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-httpclient for openSUSE:Factory checked in at 2016-10-10 16:22:24 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-09-12 13:26:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-httpclient.new/rubygem-httpclient.changes 2016-10-10 16:22:25.0 +0200 @@ -1,0 +2,6 @@ +Sat Sep 10 04:30:53 UTC 2016 - co...@suse.com + +- updated to version 2.8.2.3 + no changelog found + +--- Old: httpclient-2.8.2.1.gem New: httpclient-2.8.2.3.gem Other differences: -- ++ rubygem-httpclient.spec ++ --- /var/tmp/diff_new_pack.mZ5eMy/_old 2016-10-10 16:22:26.0 +0200 +++ /var/tmp/diff_new_pack.mZ5eMy/_new 2016-10-10 16:22:26.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-httpclient -Version:2.8.2.1 +Version:2.8.2.3 Release:0 %define mod_name httpclient %define mod_full_name %{mod_name}-%{version} ++ httpclient-2.8.2.1.gem -> httpclient-2.8.2.3.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/jruby_ssl_socket.rb new/lib/httpclient/jruby_ssl_socket.rb --- old/lib/httpclient/jruby_ssl_socket.rb 2016-08-16 04:30:22.0 +0200 +++ new/lib/httpclient/jruby_ssl_socket.rb 2016-08-28 08:48:35.0 +0200 @@ -455,6 +455,7 @@ DEFAULT_SSL_PROTOCOL = (java.lang.System.getProperty('java.specification.version') == '1.7') ? 'TLSv1.2' : 'TLS' def initialize(socket, dest, config, debug_dev = nil) + @config = config if config.ssl_version == :auto ssl_version = DEFAULT_SSL_PROTOCOL else @@ -527,7 +528,11 @@ private def post_connection_check(hostname, wrap_cert) - BrowserCompatHostnameVerifier.new.verify(hostname, wrap_cert.cert) + if !@config.verify? +return + else +BrowserCompatHostnameVerifier.new.verify(hostname, wrap_cert.cert) + end end end 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.rb2016-08-16 04:30:22.0 +0200 +++ new/lib/httpclient/ssl_config.rb2016-08-28 08:48:35.0 +0200 @@ -39,27 +39,25 @@ if SSLEnabled include OpenSSL - if RUBY_ENGINE == 'jruby' -module ::OpenSSL - module X509 -class Store - attr_reader :_httpclient_cert_store_items - - # TODO: use prepend instead when we drop JRuby + 1.9.x support - wrapped = {} - - wrapped[:initialize] = instance_method(:initialize) - define_method(:initialize) do |*args| -wrapped[:initialize].bind(self).call(*args) -@_httpclient_cert_store_items = [ENV['SSL_CERT_FILE'] || :default] - end + module ::OpenSSL +module X509 + class Store +attr_reader :_httpclient_cert_store_items + +# TODO: use prepend instead when we drop JRuby + 1.9.x support +wrapped = {} + +wrapped[:initialize] = instance_method(:initialize) +define_method(:initialize) do |*args| + wrapped[:initialize].bind(self).call(*args) + @_httpclient_cert_store_items = [ENV['SSL_CERT_FILE'] || :default] +end - [:add_cert, :add_file, :add_path].each do |m| -wrapped[m] = instance_method(m) -define_method(m) do |cert| - wrapped[m].bind(self).call(cert) - @_httpclient_cert_store_items << cert -end +[:add_cert, :add_file, :add_path].each do |m| + wrapped[m] = instance_method(m) + define_method(m) do |cert| +wrapped[m].bind(self).call(cert) +@_httpclient_cert_store_items << cert end end end @@ -118,7 +116,7 @@ attr_reader :client_ca # :nodoc: # These array keeps original files/dirs that was added to @cert_store -def cert_store_items; @cert_store._httpclient_cert_store_items || []; end +def cert_store_items; @cert_store._httpclient_cert_store_items; end attr_reader :cert_store_crl_items # Creates a SSLConfig. diff -urN '--exclude=CVS' '--exclude=.cvsi
commit rubygem-httpclient for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-httpclient for openSUSE:Factory checked in at 2016-09-12 13:26:20 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-08-25 09:55:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-httpclient.new/rubygem-httpclient.changes 2016-09-12 13:26:23.0 +0200 @@ -1,0 +2,6 @@ +Tue Aug 16 04:30:08 UTC 2016 - co...@suse.com + +- updated to version 2.8.2.1 + no changelog found + +--- Old: httpclient-2.8.1.gem New: httpclient-2.8.2.1.gem Other differences: -- ++ rubygem-httpclient.spec ++ --- /var/tmp/diff_new_pack.YNGBW0/_old 2016-09-12 13:26:24.0 +0200 +++ /var/tmp/diff_new_pack.YNGBW0/_new 2016-09-12 13:26:24.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-httpclient -Version:2.8.1 +Version:2.8.2.1 Release:0 %define mod_name httpclient %define mod_full_name %{mod_name}-%{version} ++ httpclient-2.8.1.gem -> httpclient-2.8.2.1.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/jruby_ssl_socket.rb new/lib/httpclient/jruby_ssl_socket.rb --- old/lib/httpclient/jruby_ssl_socket.rb 2016-08-07 09:30:27.0 +0200 +++ new/lib/httpclient/jruby_ssl_socket.rb 2016-08-16 04:30:22.0 +0200 @@ -316,6 +316,7 @@ return if cert_source == :default if cert_source.respond_to?(:to_pem) pem = cert_source.to_pem + load_pem(pem) elsif File.directory?(cert_source) warn("#{cert_source}: directory not yet supported") return @@ -326,7 +327,8 @@ when /-BEGIN CERTIFICATE-/ pem = '' when /-END CERTIFICATE-/ - break + load_pem(pem) + # keep parsing in case where multiple certificates in a file else if pem pem << line @@ -334,9 +336,6 @@ end end end -cert = PEMUtils.read_certificate(pem) -@size += 1 -@trust_store.setCertificateEntry("cert_#{@size}", cert) end def trust_store @@ -346,6 +345,14 @@ @trust_store end end + +private + + def load_pem(pem) +cert = PEMUtils.read_certificate(pem) +@size += 1 +@trust_store.setCertificateEntry("cert_#{@size}", cert) + end end # Ported from commons-httpclient 'BrowserCompatHostnameVerifier' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/httpclient/session.rb new/lib/httpclient/session.rb --- old/lib/httpclient/session.rb 2016-08-07 09:30:27.0 +0200 +++ new/lib/httpclient/session.rb 2016-08-16 04:30:22.0 +0200 @@ -21,7 +21,7 @@ require 'httpclient/timeout' # TODO: remove this once we drop 1.8 support require 'httpclient/ssl_config' require 'httpclient/http' -if defined?(JRuby) +if RUBY_ENGINE == 'jruby' require 'httpclient/jruby_ssl_socket' else require 'httpclient/ssl_socket' 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.rb2016-08-07 09:30:27.0 +0200 +++ new/lib/httpclient/ssl_config.rb2016-08-16 04:30:22.0 +0200 @@ -39,21 +39,27 @@ if SSLEnabled include OpenSSL - module ::OpenSSL -module X509 - class Store -attr_reader :_httpclient_cert_store_items - -def initialize(*a, &b) - super(*a, &b) - @_httpclient_cert_store_items = [ENV['SSL_CERT_FILE'] || :default] -end + if RUBY_ENGINE == 'jruby' +module ::OpenSSL + module X509 +class Store + attr_reader :_httpclient_cert_store_items + + # TODO: use prepend instead when we drop JRuby + 1.9.x support + wrapped = {} + + wrapped[:initialize] = instance_method(:initialize) + define_method(:initialize) do |*args| +wrapped[:initialize].bind(self).call(*args) +@_httpclient_cert_store_items = [ENV['SSL_CERT_FILE'] || :default] + end -[:add_cert, :add_file, :add_path].each do |m| -
commit rubygem-httpclient for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-httpclient for openSUSE:Factory checked in at 2016-08-25 09:54:59 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-05-29 03:13:19.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-httpclient.new/rubygem-httpclient.changes 2016-08-25 09:55:02.0 +0200 @@ -1,0 +2,6 @@ +Mon Aug 8 04:38:16 UTC 2016 - co...@suse.com + +- updated to version 2.8.1 + no changelog found + +--- Old: httpclient-2.8.0.gem New: httpclient-2.8.1.gem Other differences: -- ++ rubygem-httpclient.spec ++ --- /var/tmp/diff_new_pack.FfPROd/_old 2016-08-25 09:55:03.0 +0200 +++ /var/tmp/diff_new_pack.FfPROd/_new 2016-08-25 09:55:03.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-httpclient -Version:2.8.0 +Version:2.8.1 Release:0 %define mod_name httpclient %define mod_full_name %{mod_name}-%{version} ++ httpclient-2.8.0.gem -> httpclient-2.8.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bin/httpclient new/bin/httpclient --- old/bin/httpclient 2016-04-24 08:08:06.0 +0200 +++ new/bin/httpclient 2016-08-07 09:30:27.0 +0200 @@ -20,6 +20,7 @@ url = ARGV.shift if method && url client = HTTPClient.new + client.strict_response_size_check = true if method == 'download' print client.get_content(url) else @@ -37,6 +38,7 @@ class Runner def initialize @httpclient = HTTPClient.new +@httpclient.strict_response_size_check = true end def method_missing(msg, *a, &b) Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/httpclient/http.rb new/lib/httpclient/http.rb --- old/lib/httpclient/http.rb 2016-04-24 08:08:06.0 +0200 +++ new/lib/httpclient/http.rb 2016-08-07 09:30:27.0 +0200 @@ -700,8 +700,9 @@ def params_from_file(value) params = {} +original_filename = value.respond_to?(:original_filename) ? value.original_filename : nil path = value.respond_to?(:path) ? value.path : nil -params['filename'] = File.basename(path || '') +params['filename'] = original_filename || File.basename(path || '') # Creation time is not available from File::Stat if value.respond_to?(:mtime) params['modification-date'] = value.mtime.rfc822 @@ -808,6 +809,8 @@ case path when /\.txt$/i 'text/plain' +when /\.xml$/i + 'text/xml' when /\.(htm|html)$/i 'text/html' when /\.doc$/i diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/httpclient/jruby_ssl_socket.rb new/lib/httpclient/jruby_ssl_socket.rb --- old/lib/httpclient/jruby_ssl_socket.rb 2016-04-24 08:08:06.0 +0200 +++ new/lib/httpclient/jruby_ssl_socket.rb 2016-08-07 09:30:27.0 +0200 @@ -289,11 +289,11 @@ @keystore.load(nil) end - def add(cert_file, key_file, password) -cert_str = cert_file.respond_to?(:to_pem) ? cert_file.to_pem : File.read(cert_file.to_s) + def add(cert_source, key_source, password) +cert_str = cert_source.respond_to?(:to_pem) ? cert_source.to_pem : File.read(cert_source.to_s) cert = PEMUtils.read_certificate(cert_str) @keystore.setCertificateEntry('client_cert', cert) -key_str = key_file.respond_to?(:to_pem) ? key_file.to_pem : File.read(key_file.to_s) +key_str = key_source.respond_to?(:to_pem) ? key_source.to_pem : File.read(key_source.to_s) key_pair = PEMUtils.read_private_key(key_str, password) @keystore.setKeyEntry('client_key', key_pair.getPrivate, PASSWORD, [cert].to_java(Certificate)) end @@ -312,20 +312,21 @@ @size = 0 end - def add(file_or_dir) -return if file_or_dir == :default -if File.directory?(file_or_dir) - warn("#{file_or_dir}: directory not yet supported") + def add(cert_source) +return if cert_source == :default +if cert_source.respond_to?(:to_pem) + pem = cert_source.to_pem +elsif File.directory?(cert_source) + warn("#{cert_source}: directory not yet supported") + return else pem = nil - File.read(file_or_dir).each_lin
commit rubygem-httpclient for openSUSE:Factory
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.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-httpclient.new/rubygem-httpclient.changes 2016-05-29 03:13:19.0 +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.0 +0200 +++ /var/tmp/diff_new_pack.XmNgYr/_new 2016-05-29 03:13:20.0 +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.rb2016-01-01 15:52:04.0 +0100 +++ new/lib/httpclient/ssl_config.rb2016-04-24 08:08:06.0 +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.0 +0100 +++ new/lib/httpclient/version.rb 2016-04-24 08:08:06.0 +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/metadata2016-01-01 15:52:04.0 +0100 +++ new/metadata2016-04-24 08:08:06.0 +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.0 Z +date: 2016-04-24 00:00:00.0 Z dependencies: [] description: email: n...@ruby-lang.org
commit rubygem-httpclient for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-httpclient for openSUSE:Factory checked in at 2016-03-18 21:39:06 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 2015-12-14 10:13:59.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-httpclient.new/rubygem-httpclient.changes 2016-03-18 21:39:07.0 +0100 @@ -1,0 +2,6 @@ +Thu Jan 21 05:37:01 UTC 2016 - co...@suse.com + +- updated to version 2.7.1 + no changelog found + +--- Old: httpclient-2.7.0.1.gem New: httpclient-2.7.1.gem Other differences: -- ++ rubygem-httpclient.spec ++ --- /var/tmp/diff_new_pack.FPLjzs/_old 2016-03-18 21:39:08.0 +0100 +++ /var/tmp/diff_new_pack.FPLjzs/_new 2016-03-18 21:39:08.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-httpclient # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-httpclient -Version:2.7.0.1 +Version:2.7.1 Release:0 %define mod_name httpclient %define mod_full_name %{mod_name}-%{version} ++ httpclient-2.7.0.1.gem -> httpclient-2.7.1.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/cookie.rb new/lib/httpclient/cookie.rb --- old/lib/httpclient/cookie.rb2015-11-07 16:00:43.0 +0100 +++ new/lib/httpclient/cookie.rb2016-01-01 15:52:04.0 +0100 @@ -3,9 +3,12 @@ begin # for catching LoadError and load webagent-cookie instead require 'http-cookie' +require 'httpclient/util' class HTTPClient class CookieManager +include HTTPClient::Util + attr_reader :format, :jar attr_accessor :cookies_file @@ -68,7 +71,7 @@ end def find(uri) - warn('CookieManager#find is deprecated and will be removed in near future. Use HTTP::Cookie.cookie_value(CookieManager#cookies) instead') + warning('CookieManager#find is deprecated and will be removed in near future. Use HTTP::Cookie.cookie_value(CookieManager#cookies) instead') if cookie = cookies(uri) HTTP::Cookie.cookie_value(cookie) end @@ -174,8 +177,7 @@ CookieManager = ::HTTPClient::CookieManager class Cookie < HTTP::Cookie -@@domain_warned = false -@@warned = false +include HTTPClient::Util def url deprecated('url', 'origin') @@ -195,7 +197,7 @@ alias original_domain domain def domain - domain_warning + warning('Cookie#domain returns dot-less domain name now. Use Cookie#dot_domain if you need "." at the beginning.') self.original_domain end @@ -206,18 +208,8 @@ private -def domain_warning - unless @@domain_warned -warn('Cookie#domain returns dot-less domain name now. Use Cookie#dot_domain if you need "." at the beginning.') -@@domain_warned = true - end -end - def deprecated(old, new) - unless @@warned -warn("WebAgent::Cookie is deprecated and will be replaced with HTTP::Cookie in the near future. Please use Cookie##{new} instead of Cookie##{old} for the replacement.") -@@warned = true - end + warning("WebAgent::Cookie is deprecated and will be replaced with HTTP::Cookie in the near future. Please use Cookie##{new} instead of Cookie##{old} for the replacement.") end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/httpclient/http.rb new/lib/httpclient/http.rb --- old/lib/httpclient/http.rb 2015-11-07 16:00:43.0 +0100 +++ new/lib/httpclient/http.rb 2016-01-01 15:52:04.0 +0100 @@ -12,6 +12,7 @@ if defined?(Encoding::ASCII_8BIT) require 'open-uri' # for encoding end +require 'httpclient/util' # A namespace module for HTTP Message definitions used by HTTPClient. @@ -95,6 +96,7 @@ # p res.header['last-modified'].first # class Message +include HTTPClient::Util CRLF = "\r\n" @@ -980,12 +982,12 @@ VERSION_WARNING = 'Message#version (Float) is deprecated. Use Message#http_version (String) instead.' def version - warn(VERSION_WARNING) + warning(VERSION_WARNING) @http_header.
commit rubygem-httpclient for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-httpclient for openSUSE:Factory checked in at 2015-12-14 10:13:56 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 2015-02-11 16:46:24.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-httpclient.new/rubygem-httpclient.changes 2015-12-14 10:13:59.0 +0100 @@ -1,0 +2,12 @@ +Tue Nov 24 05:29:37 UTC 2015 - co...@suse.com + +- updated to version 2.7.0.1 + no changelog found + +--- +Fri Nov 6 05:30:01 UTC 2015 - co...@suse.com + +- updated to version 2.7.0 + no changelog found + +--- Old: httpclient-2.6.0.1.gem New: httpclient-2.7.0.1.gem Other differences: -- ++ rubygem-httpclient.spec ++ --- /var/tmp/diff_new_pack.HAKa2y/_old 2015-12-14 10:14:00.0 +0100 +++ /var/tmp/diff_new_pack.HAKa2y/_new 2015-12-14 10:14:00.0 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-httpclient -Version:2.6.0.1 +Version:2.7.0.1 Release:0 %define mod_name httpclient %define mod_full_name %{mod_name}-%{version} ++ httpclient-2.6.0.1.gem -> httpclient-2.7.0.1.gem ++ 14155 lines of diff (skipped)
commit rubygem-httpclient for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-httpclient for openSUSE:Factory checked in at 2015-02-11 16:46:20 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 2014-12-06 13:47:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-httpclient.new/rubygem-httpclient.changes 2015-02-11 16:46:24.0 +0100 @@ -1,0 +2,5 @@ +Tue Feb 10 17:54:27 UTC 2015 - co...@suse.com + +- updated to version 2.6.0.1, no changelog + +--- Old: httpclient-2.5.3.3.gem New: gem2rpm.yml httpclient-2.6.0.1.gem Other differences: -- ++ rubygem-httpclient.spec ++ --- /var/tmp/diff_new_pack.KMTK5r/_old 2015-02-11 16:46:25.0 +0100 +++ /var/tmp/diff_new_pack.KMTK5r/_new 2015-02-11 16:46:25.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-httpclient # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,15 @@ # +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + Name: rubygem-httpclient -Version:2.5.3.3 +Version:2.6.0.1 Release:0 %define mod_name httpclient %define mod_full_name %{mod_name}-%{version} @@ -28,6 +35,7 @@ BuildRequires: update-alternatives Url:https://github.com/nahi/httpclient Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1:gem2rpm.yml Summary:gives something like the functionality of libwww-perl (LWP) in Ruby License:Ruby Group: Development/Languages/Ruby ++ gem2rpm.yml ++ # --- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm :license: Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm # :preamble: |- # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm :sources: # - foo.desktop # - bar.desktop # :gem_install_args: '' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm # :post_install: |- # # delete custom files here or do other fancy stuff # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse # ## used by gem2rpm # :testsuite_command: |- # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) # ## used by gem2rpm # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem2rpm # :scripts: # :post: |- # /bin/echo foo # ## used by gem_packages # :main: # :preamble: |- # Requires: util-linux # Recommends: pwgen # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom: # apache: # :preamble: |- # Requires: . # :filelist: |- # /etc/apache2/conf.d/passenger.conf # :summary: Custom summary is optional # :description: |- # Custom description is optional # # bar # :post: |- # /bin/echo foo # ++ httpclient-2.5.3.3.gem -> httpclient-2.6.0.1.gem ++ 3485 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-httpclient for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-httpclient for openSUSE:Factory checked in at 2014-12-06 13:47:19 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 2013-08-05 20:53:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-httpclient.new/rubygem-httpclient.changes 2014-12-06 13:47:07.0 +0100 @@ -1,0 +2,5 @@ +Tue Dec 2 09:40:44 UTC 2014 - dmitr...@opensuse.org + +- updated to version 2.5.3.3 + +--- Old: httpclient-2.3.4.1.gem New: httpclient-2.5.3.3.gem Other differences: -- ++ rubygem-httpclient.spec ++ --- /var/tmp/diff_new_pack.3yMhzm/_old 2014-12-06 13:47:08.0 +0100 +++ /var/tmp/diff_new_pack.3yMhzm/_new 2014-12-06 13:47:08.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-httpclient # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,86 +17,35 @@ Name: rubygem-httpclient -Version:2.3.4.1 +Version:2.5.3.3 Release:0 %define mod_name httpclient %define mod_full_name %{mod_name}-%{version} -%define mod_branch -%{version} -%define mod_weight 20304 - BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 1 +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives -Url:http://github.com/nahi/httpclient +Url:https://github.com/nahi/httpclient Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary:gives something like the functionality of libwww-perl (LWP) in Ruby -License:GPL-2.0+ or Ruby +License:Ruby Group: Development/Languages/Ruby PreReq: update-alternatives %description -gives something like the functionality of libwww-perl (LWP) in Ruby - -%package doc -Summary:RDoc documentation for %{mod_name} -Group: Development/Languages/Ruby -Requires: %{name} = %{version} - -%description doc -Documentation generated at gem installation time. -Usually in RDoc and RI formats. - -%package testsuite -Summary:Test suite for %{mod_name} -Group: Development/Languages/Ruby -Requires: %{name} = %{version} - -%description testsuite -Test::Unit or RSpec files, useful for developers. +gives something like the functionality of libwww-perl (LWP) in Ruby. %prep -#gem_unpack -#if you need patches, apply them here and replace the # with a % sign in the surrounding lines -#gem_build %build %install -%gem_install -f -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -mv %{buildroot}%{_bindir}/httpclient{,%{mod_branch}} -touch %{buildroot}%{_sysconfdir}/alternatives/httpclient -ln -s %{_sysconfdir}/alternatives/httpclient %{buildroot}%{_bindir}/httpclient - -mkdir -p %{buildroot}%{_docdir}/%{name} -ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.txt %buildroot/%{_docdir}/%{name}/README.txt - -%post -/usr/sbin/update-alternatives --install \ -%{_bindir}/httpclient httpclient %{_bindir}/httpclient%{mod_branch} %{mod_weight} - -%preun -if [ "$1" = 0 ] ; then -/usr/sbin/update-alternatives --remove httpclient %{_bindir}/httpclient%{mod_branch} -fi - -%files -%defattr(-,root,root,-) -%{_docdir}/%{name} -%{_bindir}/httpclient%{mod_branch} -%{_bindir}/httpclient -%ghost %{_sysconfdir}/alternatives/httpclient -%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ -%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test -%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec - -%files doc -%defattr(-,root,root,-) -%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ - -%files testsuite -%defattr(-,root,root,-) -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test +%gem_install \ + --symlink-binaries \ + --doc-files="README.md" \ + -f + +%gem_packages %changelog ++ httpclient-2.3.4.1.gem -> httpclient-2.5.3.3.gem ++ 9516 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-httpclient for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-httpclient for openSUSE:Factory checked in at 2013-08-05 20:53:01 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 2013-06-05 13:11:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-httpclient.new/rubygem-httpclient.changes 2013-08-05 20:53:02.0 +0200 @@ -1,0 +2,5 @@ +Tue Jul 30 16:04:46 UTC 2013 - co...@suse.com + +- updated to version 2.3.4.1, no changelog found + +--- Old: httpclient-2.3.3.gem New: httpclient-2.3.4.1.gem Other differences: -- ++ rubygem-httpclient.spec ++ --- /var/tmp/diff_new_pack.43ah7B/_old 2013-08-05 20:53:03.0 +0200 +++ /var/tmp/diff_new_pack.43ah7B/_new 2013-08-05 20:53:03.0 +0200 @@ -17,20 +17,21 @@ Name: rubygem-httpclient -Version:2.3.3 +Version:2.3.4.1 Release:0 %define mod_name httpclient %define mod_full_name %{mod_name}-%{version} +%define mod_branch -%{version} +%define mod_weight 20304 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 1 +BuildRequires: update-alternatives Url:http://github.com/nahi/httpclient Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary:gives something like the functionality of libwww-perl (LWP) in Ruby License:GPL-2.0+ or Ruby Group: Development/Languages/Ruby -%define mod_branch -%{version} -%define mod_weight 2 PreReq: update-alternatives %description @@ -62,8 +63,11 @@ %install %gem_install -f +mkdir -p %{buildroot}%{_sysconfdir}/alternatives mv %{buildroot}%{_bindir}/httpclient{,%{mod_branch}} -ln -s httpclient%{mod_branch} %{buildroot}%{_bindir}/httpclient +touch %{buildroot}%{_sysconfdir}/alternatives/httpclient +ln -s %{_sysconfdir}/alternatives/httpclient %{buildroot}%{_bindir}/httpclient + mkdir -p %{buildroot}%{_docdir}/%{name} ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.txt %buildroot/%{_docdir}/%{name}/README.txt @@ -80,7 +84,8 @@ %defattr(-,root,root,-) %{_docdir}/%{name} %{_bindir}/httpclient%{mod_branch} -%ghost %{_bindir}/httpclient +%{_bindir}/httpclient +%ghost %{_sysconfdir}/alternatives/httpclient %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-httpclient for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-httpclient for openSUSE:Factory checked in at 2013-06-05 13:11:55 Comparing /work/SRC/openSUSE:Factory/rubygem-httpclient (Old) and /work/SRC/openSUSE:Factory/.rubygem-httpclient.new (New) Package is "rubygem-httpclient" Changes: New Changes file: --- /dev/null 2013-05-23 01:40:31.032032505 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-httpclient.new/rubygem-httpclient.changes 2013-06-05 13:11:56.0 +0200 @@ -0,0 +1,105 @@ +--- +Fri May 24 06:50:14 UTC 2013 - co...@suse.com + +- updated to version 2.3.3 + * Changes + + * #144 Add User-Agent field by default. You can remove the header by + setting nil to HTTPClient#agent_name. + +--- +Thu Jan 24 06:44:50 UTC 2013 - co...@suse.com + +- updated to version 2.3.2 + * #138 Revert Timeout change unintentionally included in v2.3.1. It's + reported that the change causes background processes not terminated + properly. + +--- +Wed Jan 2 08:05:50 UTC 2013 - co...@suse.com + +- updated to version 2.3.1 + +--- +Mon Oct 15 20:09:40 UTC 2012 - co...@suse.com + +- updated to version 2.3.0.1 + +--- +Sun Aug 26 05:58:50 UTC 2012 - co...@suse.com + +- updated to version 2.2.7 + +--- +Wed Aug 1 05:04:35 UTC 2012 - co...@suse.com + +- updated to version 2.2.5 + +--- +Fri Jun 11 10:00:01 UTC 2010 - mrueck...@suse.de + +- use rubygems_requires macro + +--- +Fri Dec 25 02:24:10 UTC 2009 - prus...@suse.cz + +- update to 2.1.5.2 + +--- +Thu Jan 15 18:23:35 CET 2009 - mrueck...@suse.de + +- update to version 2.1.3.1 + - Proxy Authentication for SSL. + - Performance improvements. + - Full RDoc. Please tell me any English problem. Thanks in advance. + - Do multipart file upload when a given body includes a File. You +don't need to set 'Content-Type' and boundary String any more. + - Added propfind and proppatch methods. + - Avoid unnecessary memory consuming for get_content/post_content +with block. get_content returns nil when you call it with a +block. + - post_content with IO did not work when redirect/auth cycle is +required. (CAUTION: post_content now correctly follows +redirection and posts the given content) + - Exception handling cleanups. + - Raises HTTPClient::ConfigurationError? for environment problem +(trying to do SSL without openssl installed for example) + - Raises HTTPClient::BadResponse? for HTTP response problem. you +can get the response HTTPMessage returned via $!.res. + - Raises SocketError? for connection problem (as same as before). + - Avoid unnecessary negotiation cycle for Negotiate(NTLM) +authentication. Thanks Rishav for great support for debugging +Negotiate authentication. + - get_content/post_content with block yielded unexpected message +body during redirect/auth cycle. + - Relative URI redirection should be allowed from 2.1.2 but it +did not work... fixed. + - Avoid unnecessary timeout waiting when no message body returned +such as '204 No Content' for DAV. + - Avoid blocking on socket closing when the socket is already +closed by foreign host and the client runs under MT-condition. + +--- +Mon Oct 15 20:15:11 CEST 2007 - mrueck...@suse.de + +- update to version 2.1.2 + - implemented Negotiate authentication with a support from +exterior modules. 'rubyntlm' module is required for Negotiate +auth with IIS. 'win32/sspi' module is required for Negotiate +auth with ISA. (#23) + - a workaround for Ubuntu + SonicWALL timeout problem. try to +send HTTP request in one chunk. (#171) + - create new self-signing dist-cert which has serial number 0x01 +and embed it in httpclient.rb. (#169) + - update cacert.p7s. certificates are imported from cacerts in +JRE 6 Update 2. 1 expired CA certificate 'C=US, O=GTE +Corporation, CN=GTE CyberTrust? Root' is removed. + - [BUG] SSL + debug_dev didn't work under version 2.1.1. (#168) + - [BUG] Reason-Phrase of HTTP response status line can be empty +according to RFC2616. (#170) + +--- +Wed Sep 5 18:04:54 CEST 2007 - aba...@suse.de + +- initial version 2.1.1