faraday_middleware-request-retry 0.2.1 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +19 -19
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bb8d12e03ecbc2e04789fe1a81e9f0b744db465ad1fc1ee84122050d1c179bf
|
4
|
+
data.tar.gz: 64912ed2e81c99ec39df08c2ba51f47c96d276971c083173a6069d9b20dc4d23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68c7ae42466f954592121376cbf0bf14a3c20ae2523a2f34a9757b15469717a081923b84ff1258ebbee1829d07ab381d54abed994b0307682f82b53810f9a693
|
7
|
+
data.tar.gz: f1dce92050b26cd01ed963b393481f322be1e61a9adf5401a932ca5039ba0597824c5118b83f5a748f37812feef251af19ef0712cf48319952a5994a224cb8bc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
CHANGELOG
|
2
2
|
---------
|
3
|
+
- **2023-03-31**: 0.2.3
|
4
|
+
- `README.md` update CI shield links
|
5
|
+
- **2023-03-27**: 0.2.2
|
6
|
+
- `README.md` doc fix
|
7
|
+
- **2023-02-14**: 0.2.1
|
8
|
+
- Add option for longer retry delay
|
3
9
|
- **2016-12-28**: 0.2.0
|
4
10
|
- Refactor to support external use via `RetryUtil`
|
5
11
|
- **2016-12-28**: 0.1.0
|
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
FaradayMiddleware::Request::Retry
|
2
2
|
=================================
|
3
3
|
|
4
|
-
[![Gem Version][gem-version-svg]][gem-version-
|
5
|
-
[![Build Status][build-status-svg]][build-status-
|
6
|
-
[![Coverage Status][coverage-status-svg]][coverage-status-
|
7
|
-
[![Code Climate][codeclimate-status-svg]][codeclimate-status-
|
8
|
-
[![Scrutinizer Code Quality][scrutinizer-status-svg]][scrutinizer-status-
|
9
|
-
[![Docs][docs-rubydoc-svg]][docs-rubydoc-
|
10
|
-
[![License][license-svg]][license-
|
4
|
+
[![Gem Version][gem-version-svg]][gem-version-url]
|
5
|
+
[![Build Status][build-status-svg]][build-status-url]
|
6
|
+
[![Coverage Status][coverage-status-svg]][coverage-status-url]
|
7
|
+
[![Code Climate][codeclimate-status-svg]][codeclimate-status-url]
|
8
|
+
[![Scrutinizer Code Quality][scrutinizer-status-svg]][scrutinizer-status-url]
|
9
|
+
[![Docs][docs-rubydoc-svg]][docs-rubydoc-url]
|
10
|
+
[![License][license-svg]][license-url]
|
11
11
|
|
12
12
|
Faraday middleware to manage request retries.
|
13
13
|
|
@@ -43,7 +43,7 @@ require 'faraday_middleware-request-retry'
|
|
43
43
|
require 'logger'
|
44
44
|
|
45
45
|
conn = Faraday.new(url: "http://example.com") do |builder|
|
46
|
-
builder.use FaradayMiddleware::
|
46
|
+
builder.use FaradayMiddleware::Request::Retry, logger: Logger.new(STDOUT), retry_after: 15
|
47
47
|
builder.adapter Faraday.default_adapter
|
48
48
|
end
|
49
49
|
|
@@ -105,22 +105,22 @@ http://www.apache.org/licenses/LICENSE-2.0
|
|
105
105
|
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
106
106
|
|
107
107
|
[gem-version-svg]: https://badge.fury.io/rb/faraday_middleware-request-retry.svg
|
108
|
-
[gem-version-
|
108
|
+
[gem-version-url]: http://badge.fury.io/rb/faraday_middleware-request-retry
|
109
109
|
[downloads-svg]: http://ruby-gem-downloads-badge.herokuapp.com/faraday_middleware-request-retry
|
110
|
-
[downloads-
|
111
|
-
[build-status-svg]: https://
|
112
|
-
[build-status-
|
110
|
+
[downloads-url]: https://rubygems.org/gems/faraday_middleware-request-retry
|
111
|
+
[build-status-svg]: https://github.com/grokify/faraday_middleware-request-retry/workflows/ruby%20build/badge.svg
|
112
|
+
[build-status-url]: https://github.com/grokify/faraday_middleware-request-retry/actions
|
113
113
|
[coverage-status-svg]: https://coveralls.io/repos/grokify/faraday_middleware-request-retry/badge.svg?branch=master
|
114
|
-
[coverage-status-
|
114
|
+
[coverage-status-url]: https://coveralls.io/r/grokify/faraday_middleware-request-retry?branch=master
|
115
115
|
[dependency-status-svg]: https://gemnasium.com/grokify/faraday_middleware-request-retry.svg
|
116
|
-
[dependency-status-
|
116
|
+
[dependency-status-url]: https://gemnasium.com/grokify/faraday_middleware-request-retry
|
117
117
|
[codacy-svg]: https://api.codacy.com/project/badge/Grade/d2c515165a60402eb10410cf4bd51f50
|
118
|
-
[codacy-
|
118
|
+
[codacy-url]: https://www.codacy.com/app/grokify/faraday_middleware-request-retry
|
119
119
|
[codeclimate-status-svg]: https://codeclimate.com/github/grokify/faraday_middleware-request-retry/badges/gpa.svg
|
120
|
-
[codeclimate-status-
|
120
|
+
[codeclimate-status-url]: https://codeclimate.com/github/grokify/faraday_middleware-request-retry
|
121
121
|
[scrutinizer-status-svg]: https://scrutinizer-ci.com/g/grokify/faraday_middleware-request-retry/badges/quality-score.png?b=master
|
122
|
-
[scrutinizer-status-
|
122
|
+
[scrutinizer-status-url]: https://scrutinizer-ci.com/g/grokify/faraday_middleware-request-retry/?branch=master
|
123
123
|
[docs-rubydoc-svg]: https://img.shields.io/badge/docs-rubydoc-blue.svg
|
124
|
-
[docs-rubydoc-
|
124
|
+
[docs-rubydoc-url]: http://www.rubydoc.info/gems/faraday_middleware-request-retry/
|
125
125
|
[license-svg]: https://img.shields.io/badge/license-MIT-blue.svg
|
126
|
-
[license-
|
126
|
+
[license-url]: https://github.com/grokify/faraday_middleware-request-retry/blob/master/LICENSE.txt
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Wang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
rubygems_version: 3.4.
|
147
|
+
rubygems_version: 3.4.6
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: Faraday request middleware with retry
|