faraday-detailed_logger 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +3 -3
- data/CHANGELOG.md +10 -1
- data/Gemfile.lock +2 -2
- data/faraday-detailed_logger.gemspec +1 -1
- data/gemfiles/{faraday_0.8.gemfile → faraday_0.16.x.gemfile} +1 -1
- data/gemfiles/faraday_0.x.gemfile +1 -1
- data/lib/faraday/detailed_logger/middleware.rb +0 -2
- data/lib/faraday/detailed_logger/version.rb +1 -1
- data/lib/faraday/detailed_logger.rb +4 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdc735c97b4d58f08ca11313f8dae771a456ac8a05a4c203b23c1b9ab0f2d2a9
|
4
|
+
data.tar.gz: acf085ebbb16199c2ebd2580cc8831a1b38de0d7544e4093613bca6397c1900d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd337f82e560637a95ae0729473fe90ee7f27dc37a029b05e48242889fd1748512983b4c95ed9e7b03c6aadf62974a6a2dc5274caa378aae89b09f600f6865ca
|
7
|
+
data.tar.gz: 5dc7bca3b200493a8230b048487832f6dc2a791687cd717b63893cf3601d8e31c0ceeee1419e6c52a77ac40871668f704d0d3265515a451f604f47b1a98cd291
|
data/Appraisals
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
appraise 'faraday-0.
|
4
|
-
gem 'faraday', '~> 0.
|
3
|
+
appraise 'faraday-0.16.x' do
|
4
|
+
gem 'faraday', '~> 0.16.0'
|
5
5
|
end
|
6
6
|
|
7
7
|
appraise 'faraday-0.x' do
|
8
|
-
gem 'faraday', '~> 0.
|
8
|
+
gem 'faraday', '~> 0.16'
|
9
9
|
end
|
10
10
|
|
11
11
|
appraise 'faraday-1.x' do
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,14 @@
|
|
7
7
|
|
8
8
|
* No significant changes.
|
9
9
|
|
10
|
+
## [2.4.1][] / 2021-11-09
|
11
|
+
|
12
|
+
* Fix `Faraday::Error: :detailed_logger is not registered on Faraday::Response`
|
13
|
+
by relocating middleware registration.
|
14
|
+
* Increase the low-end of the faraday dependency to `~> 0.16` for Ruby 3
|
15
|
+
compatibility. Versions of faraday earlier than 0.16 are incompatible with
|
16
|
+
Ruby 3's Proc interface.
|
17
|
+
|
10
18
|
## [2.4.0][] / 2021-11-06
|
11
19
|
|
12
20
|
* Use [zeitwerk](https://rubygems.org/gems/zeitwerk) autoloading.
|
@@ -68,4 +76,5 @@
|
|
68
76
|
[2.2.0]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.1.3...v2.2.0
|
69
77
|
[2.3.0]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.2.0...v2.3.0
|
70
78
|
[2.4.0]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.3.0...v2.4.0
|
71
|
-
[
|
79
|
+
[2.4.1]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.4.0...v2.4.1
|
80
|
+
[HEAD]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.4.1...main
|
data/Gemfile.lock
CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
|
32
32
|
spec.require_paths = ['lib']
|
33
33
|
|
34
|
-
spec.add_runtime_dependency 'faraday', '>= 0.
|
34
|
+
spec.add_runtime_dependency 'faraday', '>= 0.16', '< 2'
|
35
35
|
spec.add_runtime_dependency 'zeitwerk', '~> 2.0'
|
36
36
|
|
37
37
|
spec.add_development_dependency 'appraisal', '~> 2.0'
|
@@ -8,7 +8,11 @@ loader.push_dir(File.join(__dir__, '..'))
|
|
8
8
|
loader.ignore(__FILE__)
|
9
9
|
loader.setup
|
10
10
|
|
11
|
+
require 'faraday'
|
12
|
+
|
11
13
|
module Faraday
|
12
14
|
module DetailedLogger
|
13
15
|
end
|
14
16
|
end
|
17
|
+
|
18
|
+
Faraday::Response.register_middleware(detailed_logger: Faraday::DetailedLogger::Middleware)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday-detailed_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Envy Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-09 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: '0.
|
19
|
+
version: '0.16'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '2'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.16'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '2'
|
@@ -149,7 +149,7 @@ files:
|
|
149
149
|
- bin/setup
|
150
150
|
- doc/dependency_decisions.yml
|
151
151
|
- faraday-detailed_logger.gemspec
|
152
|
-
- gemfiles/faraday_0.
|
152
|
+
- gemfiles/faraday_0.16.x.gemfile
|
153
153
|
- gemfiles/faraday_0.x.gemfile
|
154
154
|
- gemfiles/faraday_1.x.gemfile
|
155
155
|
- gemfiles/faraday_canary.gemfile
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
- !ruby/object:Gem::Version
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
|
-
rubygems_version: 3.
|
183
|
+
rubygems_version: 3.2.22
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: A detailed request and response logger for Faraday.
|