faraday-retry 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1e1671b917edb92ca89a4cebdd676bc6dfbc63956ef5d17a79bb467dd8134b9
4
- data.tar.gz: b29b41e84db3b281a91fbef905925579d3d9ab003dba97e66c2dc906d1ed0d60
3
+ metadata.gz: 2693714c55f145be183aac73aced8352a5683031372eee3211298a207c591997
4
+ data.tar.gz: a4f3b4c56224c2091bdbe5ff7b44f3f1c93438293bd9027c1441cf0287b42a01
5
5
  SHA512:
6
- metadata.gz: 56bc36544781fe865ba266157f5f07365e69e2efb4aa51fce0e638dec8b19a14e9b1be68f3401e43db7bc76daaf278edcd457fb693f6b314f901c270eb78f3bd
7
- data.tar.gz: 363570c19fb872444515db4caa4fda1ba3f135510ce0e6d67d32ab8005d73b06270a48ea41b03ac7b707ae63f97f47b92145dbfeb25e28a546691b147328a3ed
6
+ metadata.gz: 86639f396dba9b1dd87a7879408e08f8fdc894a9949bfde95ca070190b7e195f0de07c31b96f8af18bfee03bd92be6744c90e63b1f4491c242f38f8bb1661fab
7
+ data.tar.gz: aca22dc17015c52f898519b49428140ef5835627f85510e3bd23091e706a3405917a11829e652b0eaca33c73861342bb372e780f363dc867c9328c370776bcd1
data/CHANGELOG.md CHANGED
@@ -3,4 +3,8 @@
3
3
  ## v1.0
4
4
 
5
5
  Initial release.
6
- This release consists of the same middleware that was previously bundled with Faraday but removed in Faraday v2.0.
6
+ This release consists of the same middleware that was previously bundled with Faraday but removed in Faraday v2.0, plus:
7
+
8
+ ### Fixed
9
+
10
+ * Retry middleware `retry_block` is not called if retry will not happen due to `max_interval`, https://github.com/lostisland/faraday/pull/1350
@@ -190,6 +190,7 @@ module Faraday
190
190
  end
191
191
 
192
192
  def rewind_files(body)
193
+ return unless defined?(UploadIO)
193
194
  return unless body.is_a?(Hash)
194
195
 
195
196
  body.each do |_, value|
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module Retry
5
- VERSION = '1.0.0'
5
+ VERSION = '1.0.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday-retry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattia Giuffrida
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-02 00:00:00.000000000 Z
11
+ date: 2022-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.0.alpha.pre.4
19
+ version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.0.0.alpha.pre.4
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -157,8 +157,8 @@ licenses:
157
157
  - MIT
158
158
  metadata:
159
159
  bug_tracker_uri: https://github.com/lostisland/faraday-retry/issues
160
- changelog_uri: https://github.com/lostisland/faraday-retry/blob/v1.0.0/CHANGELOG.md
161
- documentation_uri: http://www.rubydoc.info/gems/faraday-retry/1.0.0
160
+ changelog_uri: https://github.com/lostisland/faraday-retry/blob/v1.0.1/CHANGELOG.md
161
+ documentation_uri: http://www.rubydoc.info/gems/faraday-retry/1.0.1
162
162
  homepage_uri: https://github.com/lostisland/faraday-retry
163
163
  source_code_uri: https://github.com/lostisland/faraday-retry
164
164
  wiki_uri: https://github.com/lostisland/faraday-retry/wiki