faraday-follow_redirects 0.2.0 → 0.3.0
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 -2
- data/README.md +10 -1
- data/lib/faraday/follow_redirects/version.rb +1 -1
- metadata +26 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 215a9db4304aa8f544082d1f4aebfb7321b8a114da0b6b90cdff756d663a6758
|
4
|
+
data.tar.gz: 68cd3a3ad6159d64504826fa527f13922b4c431708f86bf96306d8fbc962b25f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03a2c36aa3186ee886cde66d654871e1fe56d87642c1a3e642dd7ace6a7b9ffd7ac5392cea6f41a885d998137bd78eaf79b4f5ae232fe01a40fd8a73d8d86391
|
7
|
+
data.tar.gz: a253c98502493c8391782eed7968f83089b6a6286fc30d0c3c522e775dc0f6d03898f5d774e7bbfd64a951324015e866bfb1f784c40ba86baf8ab0b30a3b07d1
|
data/CHANGELOG.md
CHANGED
@@ -4,10 +4,14 @@
|
|
4
4
|
|
5
5
|
* …
|
6
6
|
|
7
|
+
## 0.3.0 (2022-04-02)
|
8
|
+
|
9
|
+
* losen version constraint on faraday to support 1.x and 2.x (#4)
|
10
|
+
|
7
11
|
## 0.2.0 (2022-03-07)
|
8
12
|
|
9
|
-
*
|
13
|
+
* require faraday explicitly when loading this gem
|
10
14
|
|
11
15
|
## 0.1.0 (2022-02-24)
|
12
16
|
|
13
|
-
*
|
17
|
+
* initial release
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
[![Gem](https://img.shields.io/gem/v/faraday-follow_redirects.svg?style=flat-square)](https://rubygems.org/gems/faraday-follow_redirects)
|
5
5
|
[![License](https://img.shields.io/github/license/tisba/faraday-follow-redirects.svg?style=flat-square)](LICENSE.md)
|
6
6
|
|
7
|
-
Faraday 2.x compatible extraction of `FaradayMiddleware::FollowRedirects`.
|
7
|
+
Faraday 2.x compatible extraction of `FaradayMiddleware::FollowRedirects`. This gem will also work with Faraday 1.x, to support gem codebases which can work with Faraday 1.x or 2.x. For the former standard version of this middleware for Faraday 1.x, check out https://github.com/lostisland/faraday_middleware. Faraday 1.x support is considered deprecated, please update to Faraday 2.x.
|
8
8
|
|
9
9
|
This gem is based on the deprecated [`FaradayMiddleware::FollowRedirects` (v1.2.0)](https://github.com/lostisland/faraday_middleware/blob/v1.2.0/lib/faraday_middleware/response/follow_redirects.rb).
|
10
10
|
|
@@ -51,6 +51,15 @@ To install this gem onto your local machine, run `rake build`.
|
|
51
51
|
To release a new version, make a commit with a message such as "Bumped to 0.0.2" and then run `rake release`.
|
52
52
|
See how it works [here](https://bundler.io/guides/creating_gem.html#releasing-the-gem).
|
53
53
|
|
54
|
+
We only supports non-EOL versions of Ruby. See [Ruby Maintenance Branches](https://www.ruby-lang.org/en/downloads/branches/) for the list of non-EOL Rubies.
|
55
|
+
|
56
|
+
### Appraisal for testing multiple versions of dependencies
|
57
|
+
|
58
|
+
We use [appraisal](https://github.com/thoughtbot/appraisal) to test against both faraday 1.x and 2.x, and `./bin/test` will run tests against both. To run tests against just one you could:
|
59
|
+
|
60
|
+
bundle exec appraisal faraday_1 rspec
|
61
|
+
bundle exec appraisal faraday_2 rspec
|
62
|
+
|
54
63
|
## Contributing
|
55
64
|
|
56
65
|
Bug reports and pull requests are welcome on [GitHub](https://github.com/tisba/faraday-follow_redirects).
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday-follow_redirects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Cohnen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '3'
|
@@ -26,10 +26,24 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '3'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: appraisal
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '2.4'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '2.4'
|
33
47
|
- !ruby/object:Gem::Dependency
|
34
48
|
name: bundler
|
35
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,17 +186,17 @@ files:
|
|
172
186
|
- lib/faraday/follow_redirects/middleware.rb
|
173
187
|
- lib/faraday/follow_redirects/redirect_limit_reached.rb
|
174
188
|
- lib/faraday/follow_redirects/version.rb
|
175
|
-
homepage: https://github.com/tisba/faraday-
|
189
|
+
homepage: https://github.com/tisba/faraday-follow-redirects
|
176
190
|
licenses:
|
177
191
|
- MIT
|
178
192
|
metadata:
|
179
|
-
bug_tracker_uri: https://github.com/tisba/faraday-
|
180
|
-
changelog_uri: https://github.com/tisba/faraday-
|
181
|
-
documentation_uri: http://www.rubydoc.info/gems/faraday-follow_redirects/0.
|
182
|
-
homepage_uri: https://github.com/tisba/faraday-
|
193
|
+
bug_tracker_uri: https://github.com/tisba/faraday-follow-redirects/issues
|
194
|
+
changelog_uri: https://github.com/tisba/faraday-follow-redirects/blob/v0.3.0/CHANGELOG.md
|
195
|
+
documentation_uri: http://www.rubydoc.info/gems/faraday-follow_redirects/0.3.0
|
196
|
+
homepage_uri: https://github.com/tisba/faraday-follow-redirects
|
183
197
|
rubygems_mfa_required: 'true'
|
184
|
-
source_code_uri: https://github.com/tisba/faraday-
|
185
|
-
wiki_uri: https://github.com/tisba/faraday-
|
198
|
+
source_code_uri: https://github.com/tisba/faraday-follow-redirects
|
199
|
+
wiki_uri: https://github.com/tisba/faraday-follow-redirects/wiki
|
186
200
|
post_install_message:
|
187
201
|
rdoc_options: []
|
188
202
|
require_paths:
|
@@ -201,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
215
|
- !ruby/object:Gem::Version
|
202
216
|
version: '0'
|
203
217
|
requirements: []
|
204
|
-
rubygems_version: 3.3.
|
218
|
+
rubygems_version: 3.3.10
|
205
219
|
signing_key:
|
206
220
|
specification_version: 4
|
207
221
|
summary: Faraday 2.x compatible extraction of FaradayMiddleware::FollowRedirects
|