Hello community,

here is the log from the commit of package rubygem-faraday for openSUSE:Factory 
checked in at 2017-06-08 15:00:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-faraday (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-faraday.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-faraday"

Thu Jun  8 15:00:35 2017 rev:18 rq:497684 version:0.12.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-faraday/rubygem-faraday.changes  
2017-04-20 20:58:40.634401241 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-faraday.new/rubygem-faraday.changes     
2017-06-08 15:00:36.835254667 +0200
@@ -1,0 +2,6 @@
+Tue May 23 09:52:09 UTC 2017 - [email protected]
+
+- updated to version 0.12.1
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  faraday-0.12.0.1.gem

New:
----
  faraday-0.12.1.gem

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

Other differences:
------------------
++++++ rubygem-faraday.spec ++++++
--- /var/tmp/diff_new_pack.qNZ0Om/_old  2017-06-08 15:00:37.691133875 +0200
+++ /var/tmp/diff_new_pack.qNZ0Om/_new  2017-06-08 15:00:37.691133875 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-faraday
-Version:        0.12.0.1
+Version:        0.12.1
 Release:        0
 %define mod_name faraday
 %define mod_full_name %{mod_name}-%{version}

++++++ faraday-0.12.0.1.gem -> faraday-0.12.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LICENSE.md new/LICENSE.md
--- old/LICENSE.md      2017-04-02 11:42:39.000000000 +0200
+++ new/LICENSE.md      2017-04-21 18:15:00.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2009-2015 Rick Olson, Zack Hobson
+Copyright (c) 2009-2017 Rick Olson, Zack Hobson
 
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of this software and associated documentation files (the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2017-04-02 11:42:39.000000000 +0200
+++ new/README.md       2017-04-21 18:15:00.000000000 +0200
@@ -140,6 +140,20 @@
 The encoder will affect both how query strings are processed and how POST 
bodies
 get serialized. The default encoder is Faraday::NestedParamsEncoder.
 
+## Authentication
+  
+Basic and Token authentication are handled by 
Faraday::Request::BasicAuthentication and Faraday::Request::TokenAuthentication 
respectively. These can be added as middleware manually or through the helper 
methods.
+
+```ruby
+Faraday.new(...) do |conn|
+  conn.basic_auth('username', 'password')
+end
+
+Faraday.new(...) do |conn|
+  conn.token_auth('authentication-token') 
+end
+```
+
 ## Advanced middleware usage
 
 The order in which middleware is stacked is important. Like with Rack, the
@@ -325,7 +339,7 @@
 
 ## Copyright
 
-Copyright (c) 2009-2013 [Rick Olson](mailto:[email protected]), Zack 
Hobson.
+Copyright (c) 2009-2017 [Rick Olson](mailto:[email protected]), Zack 
Hobson.
 See [LICENSE][] for details.
 
 [net_http]:     http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/Net/HTTP.html
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/error.rb new/lib/faraday/error.rb
--- old/lib/faraday/error.rb    2017-04-02 11:42:39.000000000 +0200
+++ new/lib/faraday/error.rb    2017-04-21 18:15:00.000000000 +0200
@@ -3,7 +3,7 @@
   class MissingDependency < Error; end
 
   class ClientError < Error
-    attr_reader :response
+    attr_reader :response, :wrapped_exception
 
     def initialize(ex, response = nil)
       @wrapped_exception = nil
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    2017-04-02 11:42:39.000000000 +0200
+++ new/lib/faraday/request/retry.rb    2017-04-21 18:15:00.000000000 +0200
@@ -151,8 +151,9 @@
       @options.methods.include?(env[:method]) || @options.retry_if.call(env, 
exception)
     end
 
-    def rewind_files(env)
-      env && env.each do |_, value|
+    def rewind_files(body)
+      return unless body.is_a?(Hash)
+      body.each do |_, value|
         if value.is_a? UploadIO
           value.rewind
         end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/faraday.rb new/lib/faraday.rb
--- old/lib/faraday.rb  2017-04-02 11:42:39.000000000 +0200
+++ new/lib/faraday.rb  2017-04-21 18:15:00.000000000 +0200
@@ -14,7 +14,7 @@
 #   conn.get '/'
 #
 module Faraday
-  VERSION = "0.12.0.1"
+  VERSION = "0.12.1"
 
   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        2017-04-02 11:42:39.000000000 +0200
+++ new/metadata        2017-04-21 18:15:00.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: faraday
 version: !ruby/object:Gem::Version
-  version: 0.12.0.1
+  version: 0.12.1
 platform: ruby
 authors:
 - Rick Olson
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-04-02 00:00:00.000000000 Z
+date: 2017-04-21 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: multipart-post


Reply via email to