faraday_middleware-request-retry 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +4 -0
- data/README.md +2 -5
- metadata +23 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8af4698c1fd445fdd7613fd7da76d8c69ab1678901b428057dd19f4f7c481b48
|
4
|
+
data.tar.gz: 8d6c6f358c8b5fe646e0f974734c35c2265d9d90fcbb9abf7eb828d649285408
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d05d6cf3b09f507699308ff3d3c6b8e2041eb50566ae337f13159cbb2fee27b081bd09898b18609c691f17d6ebddb35f712edd56ab4f0dddfa2fd3ab29af2b6b
|
7
|
+
data.tar.gz: 2bdc111fcf191867848343b225c8ad4f8ca04a5f5987075db9ed17c39a5d64e150f51dcbe345f49b3a3564d5439fc76dc4a860952774e665e54459e91677951e
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -4,11 +4,8 @@ FaradayMiddleware::Request::Retry
|
|
4
4
|
[![Gem Version][gem-version-svg]][gem-version-link]
|
5
5
|
[![Build Status][build-status-svg]][build-status-link]
|
6
6
|
[![Coverage Status][coverage-status-svg]][coverage-status-link]
|
7
|
-
[![Dependency Status][dependency-status-svg]][dependency-status-link]
|
8
|
-
[![Codacy Badge][codacy-svg]][codacy-link]
|
9
7
|
[![Code Climate][codeclimate-status-svg]][codeclimate-status-link]
|
10
8
|
[![Scrutinizer Code Quality][scrutinizer-status-svg]][scrutinizer-status-link]
|
11
|
-
[![Downloads][downloads-svg]][downloads-link]
|
12
9
|
[![Docs][docs-rubydoc-svg]][docs-rubydoc-link]
|
13
10
|
[![License][license-svg]][license-link]
|
14
11
|
|
@@ -46,7 +43,7 @@ require 'faraday_middleware-request-retry'
|
|
46
43
|
require 'logger'
|
47
44
|
|
48
45
|
conn = Faraday.new(url: "http://example.com") do |builder|
|
49
|
-
builder.use FaradayMiddleware::
|
46
|
+
builder.use FaradayMiddleware::Request::Retry, logger: Logger.new(STDOUT), retry_after: 15
|
50
47
|
builder.adapter Faraday.default_adapter
|
51
48
|
end
|
52
49
|
|
@@ -97,7 +94,7 @@ This library is originally based on code extracted from the Zendesk Ruby SDK's `
|
|
97
94
|
|
98
95
|
## Copyright and license
|
99
96
|
|
100
|
-
Copyright © 2015 Zendesk, 2016 John Wang
|
97
|
+
Copyright © 2015 Zendesk, 2016-2023 John Wang
|
101
98
|
|
102
99
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
103
100
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday_middleware-request-retry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Wang
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -16,40 +16,40 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.10'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 1.10.3
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '1.10'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 1.10.3
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: faraday_middleware
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '1.2'
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
42
|
+
version: 1.2.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
49
|
+
version: '1.2'
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
52
|
+
version: 1.2.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: coveralls
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,14 +70,20 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
73
|
+
version: '13'
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 13.0.6
|
74
77
|
type: :development
|
75
78
|
prerelease: false
|
76
79
|
version_requirements: !ruby/object:Gem::Requirement
|
77
80
|
requirements:
|
78
81
|
- - "~>"
|
79
82
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
83
|
+
version: '13'
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 13.0.6
|
81
87
|
- !ruby/object:Gem::Dependency
|
82
88
|
name: simplecov
|
83
89
|
requirement: !ruby/object:Gem::Requirement
|
@@ -119,11 +125,11 @@ files:
|
|
119
125
|
- lib/faraday_middleware-request-retry.rb
|
120
126
|
- lib/faraday_middleware-request-retry/retry.rb
|
121
127
|
- test/test_setup.rb
|
122
|
-
homepage: https://github.com/grokify/
|
128
|
+
homepage: https://github.com/grokify/faraday_middleware-request-retry
|
123
129
|
licenses:
|
124
130
|
- Apache-2.0
|
125
131
|
metadata: {}
|
126
|
-
post_install_message:
|
132
|
+
post_install_message:
|
127
133
|
rdoc_options: []
|
128
134
|
require_paths:
|
129
135
|
- lib
|
@@ -138,9 +144,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
144
|
- !ruby/object:Gem::Version
|
139
145
|
version: '0'
|
140
146
|
requirements: []
|
141
|
-
|
142
|
-
|
143
|
-
signing_key:
|
147
|
+
rubygems_version: 3.4.6
|
148
|
+
signing_key:
|
144
149
|
specification_version: 4
|
145
150
|
summary: Faraday request middleware with retry
|
146
151
|
test_files: []
|