Hello community,

here is the log from the commit of package rubygem-faraday for openSUSE:Factory 
checked in at 2019-01-21 10:25:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-faraday (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-faraday.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-faraday"

Mon Jan 21 10:25:50 2019 rev:22 rq:656379 version:0.15.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-faraday/rubygem-faraday.changes  
2018-07-18 22:49:44.679795543 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-faraday.new.28833/rubygem-faraday.changes   
    2019-01-21 10:25:53.221715448 +0100
@@ -1,0 +2,6 @@
+Sat Dec  8 16:20:56 UTC 2018 - Stephan Kulow <[email protected]>
+
+- updated to version 0.15.4
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  faraday-0.15.2.gem

New:
----
  faraday-0.15.4.gem

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

Other differences:
------------------
++++++ rubygem-faraday.spec ++++++
--- /var/tmp/diff_new_pack.lJgFY1/_old  2019-01-21 10:25:53.725714895 +0100
+++ /var/tmp/diff_new_pack.lJgFY1/_new  2019-01-21 10:25:53.725714895 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-faraday
-Version:        0.15.2
+Version:        0.15.4
 Release:        0
 %define mod_name faraday
 %define mod_full_name %{mod_name}-%{version}

++++++ faraday-0.15.2.gem -> faraday-0.15.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2018-05-23 17:42:34.000000000 +0200
+++ new/README.md       2018-11-27 12:32:09.000000000 +0100
@@ -274,7 +274,7 @@
 ### NetHttpPersistent
 ```ruby
 conn = Faraday.new(...) do |f|
-  f.adapter :net_http_persistent do |http| # yields Net::HTTP::Persistent
+  f.adapter :net_http_persistent, pool_size: 5 do |http| # yields 
Net::HTTP::Persistent
     http.idle_timeout = 100
     http.retry_change_requests = true
   end
@@ -360,7 +360,7 @@
 ## Contribute
 
 Do you want to contribute to Faraday?
-Open the issues page and check for the `any volunteer?` label!
+Open the issues page and check for the `help wanted` label!
 But before you start coding, please read our [Contributing 
Guide](https://github.com/lostisland/faraday/blob/master/.github/CONTRIBUTING.md)
 
 ## Copyright
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/faraday/adapter/net_http.rb 
new/lib/faraday/adapter/net_http.rb
--- old/lib/faraday/adapter/net_http.rb 2018-05-23 17:42:34.000000000 +0200
+++ new/lib/faraday/adapter/net_http.rb 2018-11-27 12:32:09.000000000 +0100
@@ -116,10 +116,15 @@
       end
 
       def configure_request(http, req)
-        http.read_timeout = http.open_timeout = req[:timeout] if req[:timeout]
-        http.open_timeout = req[:open_timeout]                if 
req[:open_timeout]
-        # Only set if Net::Http supports it, since Ruby 2.5.
-        http.max_retries  = 0                                 if 
http.respond_to?(:max_retries=)
+        if req[:timeout]
+          http.read_timeout  = req[:timeout]
+          http.open_timeout  = req[:timeout]
+          http.write_timeout = req[:timeout] if 
http.respond_to?(:write_timeout=)
+        end
+        http.open_timeout  = req[:open_timeout]  if req[:open_timeout]
+        http.write_timeout = req[:write_timeout] if req[:write_timeout] && 
http.respond_to?(:write_timeout=)
+          # Only set if Net::Http supports it, since Ruby 2.5.
+        http.max_retries  = 0                    if 
http.respond_to?(:max_retries=)
 
         @config_block.call(http) if @config_block
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/faraday/adapter/net_http_persistent.rb 
new/lib/faraday/adapter/net_http_persistent.rb
--- old/lib/faraday/adapter/net_http_persistent.rb      2018-05-23 
17:42:34.000000000 +0200
+++ new/lib/faraday/adapter/net_http_persistent.rb      2018-11-27 
12:32:09.000000000 +0100
@@ -8,7 +8,9 @@
       def net_http_connection(env)
         @cached_connection ||=
           if 
Net::HTTP::Persistent.instance_method(:initialize).parameters.first == [:key, 
:name]
-            Net::HTTP::Persistent.new(name: 'Faraday')
+            options = {name: 'Faraday'}
+            options[:pool_size] = @connection_options[:pool_size] if 
@connection_options.key?(:pool_size)
+            Net::HTTP::Persistent.new(options)
           else
             Net::HTTP::Persistent.new('Faraday')
           end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/faraday/options.rb new/lib/faraday/options.rb
--- old/lib/faraday/options.rb  2018-05-23 17:42:34.000000000 +0200
+++ new/lib/faraday/options.rb  2018-11-27 12:32:09.000000000 +0100
@@ -202,7 +202,7 @@
   end
 
   class RequestOptions < Options.new(:params_encoder, :proxy, :bind,
-    :timeout, :open_timeout, :boundary, :oauth, :context)
+    :timeout, :open_timeout, :write_timeout, :boundary, :oauth, :context)
 
     def []=(key, value)
       if key && key.to_sym == :proxy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/faraday/request/retry.rb 
new/lib/faraday/request/retry.rb
--- old/lib/faraday/request/retry.rb    2018-05-23 17:42:34.000000000 +0200
+++ new/lib/faraday/request/retry.rb    2018-11-27 12:32:09.000000000 +0100
@@ -20,6 +20,7 @@
   #
   class Request::Retry < Faraday::Middleware
 
+    DEFAULT_EXCEPTIONS = [Errno::ETIMEDOUT, 'Timeout::Error', 
Error::TimeoutError, Faraday::Error::RetriableResponse].freeze
     IDEMPOTENT_METHODS = [:delete, :get, :head, :options, :put]
 
     class Options < Faraday::Options.new(:max, :interval, :max_interval, 
:interval_randomness,
@@ -57,9 +58,7 @@
       end
 
       def exceptions
-        Array(self[:exceptions] ||= [Errno::ETIMEDOUT, 'Timeout::Error',
-                                     Error::TimeoutError,
-                                     Faraday::Error::RetriableResponse])
+        Array(self[:exceptions] ||= DEFAULT_EXCEPTIONS)
       end
 
       def methods
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/faraday/request.rb new/lib/faraday/request.rb
--- old/lib/faraday/request.rb  2018-05-23 17:42:34.000000000 +0200
+++ new/lib/faraday/request.rb  2018-11-27 12:32:09.000000000 +0100
@@ -69,6 +69,26 @@
       headers[key] = value
     end
 
+    def marshal_dump
+      {
+        :method  => method,
+        :body    => body,
+        :headers => headers,
+        :path    => path,
+        :params  => params,
+        :options => options
+      }
+    end
+
+    def marshal_load(serialised)
+      self.method  = serialised[:method]
+      self.body    = serialised[:body]
+      self.headers = serialised[:headers]
+      self.path    = serialised[:path]
+      self.params  = serialised[:params]
+      self.options = serialised[:options]
+    end
+
     # ENV Keys
     # :method - a symbolized request method (:get, :post)
     # :body   - the request body that will eventually be converted to a string.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/faraday.rb new/lib/faraday.rb
--- old/lib/faraday.rb  2018-05-23 17:42:34.000000000 +0200
+++ new/lib/faraday.rb  2018-11-27 12:32:09.000000000 +0100
@@ -14,7 +14,7 @@
 #   conn.get '/'
 #
 module Faraday
-  VERSION = "0.15.2"
+  VERSION = "0.15.4"
 
   class << self
     # Public: Gets or sets the root path that Faraday is being loaded from.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-05-23 17:42:34.000000000 +0200
+++ new/metadata        2018-11-27 12:32:09.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: faraday
 version: !ruby/object:Gem::Version
-  version: 0.15.2
+  version: 0.15.4
 platform: ruby
 authors:
 - Rick Olson
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2018-05-23 00:00:00.000000000 Z
+date: 2018-11-27 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: multipart-post


Reply via email to