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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23cf5ae82b8fe0976ca46351355cb17b03fa810834cd7a23dd096bb6c9e45cf4
4
- data.tar.gz: eb7c323e4141c6ea59d6aa9fb000131fbcbfda7f9f06fbd029c94451d19f6440
3
+ metadata.gz: cdc735c97b4d58f08ca11313f8dae771a456ac8a05a4c203b23c1b9ab0f2d2a9
4
+ data.tar.gz: acf085ebbb16199c2ebd2580cc8831a1b38de0d7544e4093613bca6397c1900d
5
5
  SHA512:
6
- metadata.gz: aea993419de399c9dcbe437cff6374778e69cbff16c6283a1b16c3098950e56175c9226e1d409c9ac507004685ebc4f9551676932873100ebae91faa0d0ac561
7
- data.tar.gz: 6a6e9e98e304ec02a153f4dd56ef9e68e79c64c5e8bec5bede0c23c9c316ee13d4e625a6c39468c0c0a265933beec0c89ed332cef84ac3307cc6576ace71f247
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.8' do
4
- gem 'faraday', '~> 0.8.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.15'
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
- [HEAD]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.4.0...main
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
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- faraday-detailed_logger (2.4.0)
5
- faraday (>= 0.8, < 2)
4
+ faraday-detailed_logger (2.4.1)
5
+ faraday (>= 0.16, < 2)
6
6
  zeitwerk (~> 2.0)
7
7
 
8
8
  GEM
@@ -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.8', '< 2'
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'
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "faraday", "~> 0.8.0"
5
+ gem "faraday", "~> 0.16.0"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "faraday", "~> 0.15"
5
+ gem "faraday", "~> 0.16"
6
6
 
7
7
  gemspec path: "../"
@@ -105,5 +105,3 @@ module Faraday
105
105
  end
106
106
  end
107
107
  end
108
-
109
- Faraday::Response.register_middleware(detailed_logger: Faraday::DetailedLogger::Middleware)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module DetailedLogger
5
- VERSION = '2.4.0'
5
+ VERSION = '2.4.1'
6
6
  end
7
7
  end
@@ -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.0
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-06 00:00:00.000000000 Z
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.8'
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.8'
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.8.gemfile
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.1.6
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.