Hello community,

here is the log from the commit of package rubygem-excon for openSUSE:Factory 
checked in at 2019-11-28 10:17:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-excon (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-excon.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-excon"

Thu Nov 28 10:17:45 2019 rev:27 rq:751493 version:0.69.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-excon/rubygem-excon.changes      
2019-11-13 13:26:53.707608112 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-excon.new.26869/rubygem-excon.changes   
2019-11-28 10:18:00.831639534 +0100
@@ -1,0 +2,8 @@
+Thu Nov 28 07:19:54 UTC 2019 - Manuel Schnitzer <[email protected]>
+
+- updated to version 0.69.1
+
+  * Fix mistake in proxy connection error handling
+  * Raise better proxy connection errors
+
+-------------------------------------------------------------------

Old:
----
  excon-0.68.0.gem

New:
----
  excon-0.69.1.gem

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

Other differences:
------------------
++++++ rubygem-excon.spec ++++++
--- /var/tmp/diff_new_pack.hVsMXG/_old  2019-11-28 10:18:01.483639540 +0100
+++ /var/tmp/diff_new_pack.hVsMXG/_new  2019-11-28 10:18:01.499639540 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-excon
-Version:        0.68.0
+Version:        0.69.1
 Release:        0
 %define mod_name excon
 %define mod_full_name %{mod_name}-%{version}

++++++ excon-0.68.0.gem -> excon-0.69.1.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/excon/error.rb new/lib/excon/error.rb
--- old/lib/excon/error.rb      2019-10-25 21:22:49.000000000 +0200
+++ new/lib/excon/error.rb      2019-11-21 23:01:22.000000000 +0100
@@ -50,6 +50,7 @@
     class InvalidHeaderValue < Error; end
     class Timeout < Error; end
     class ResponseParse < Error; end
+    class ProxyConnectionError < Error; end
     class ProxyParse < Error; end
     class TooManyRedirects < Error; end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/excon/ssl_socket.rb new/lib/excon/ssl_socket.rb
--- old/lib/excon/ssl_socket.rb 2019-10-25 21:22:49.000000000 +0200
+++ new/lib/excon/ssl_socket.rb 2019-11-21 23:01:22.000000000 +0100
@@ -107,7 +107,10 @@
         @socket.write(request)
 
         # eat the proxy's connection response
-        Excon::Response.parse(self,  :expects => 200, :method => 'CONNECT')
+        response = Excon::Response.parse(self,  :expects => 200, :method => 
'CONNECT')
+        if response[:response][:status] != 200
+          raise(Excon::Errors::ProxyConnectionError.new("proxy connection is 
not exstablished"))
+        end
       end
 
       # convert Socket to OpenSSL::SSL::SSLSocket
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/excon/version.rb new/lib/excon/version.rb
--- old/lib/excon/version.rb    2019-10-25 21:22:49.000000000 +0200
+++ new/lib/excon/version.rb    2019-11-21 23:01:22.000000000 +0100
@@ -1,4 +1,4 @@
 # frozen_string_literal: true
 module Excon
-  VERSION = '0.68.0'
+  VERSION = '0.69.1'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2019-10-25 21:22:49.000000000 +0200
+++ new/metadata        2019-11-21 23:01:22.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: excon
 version: !ruby/object:Gem::Version
-  version: 0.68.0
+  version: 0.69.1
 platform: ruby
 authors:
 - dpiddy (Dan Peterson)
@@ -10,7 +10,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-10-25 00:00:00.000000000 Z
+date: 2019-11-21 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rspec


Reply via email to