faraday-detailed_logger 2.4.1 → 2.4.2

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: cdc735c97b4d58f08ca11313f8dae771a456ac8a05a4c203b23c1b9ab0f2d2a9
4
- data.tar.gz: acf085ebbb16199c2ebd2580cc8831a1b38de0d7544e4093613bca6397c1900d
3
+ metadata.gz: a686fbdcac03dc9553636285c80a55e6ecdf61215071e97c414a3f895f384bbc
4
+ data.tar.gz: 7a6651d0800697f224c3f9332a21e35f2c0736611a9508b99593b0284e9f88cd
5
5
  SHA512:
6
- metadata.gz: cd337f82e560637a95ae0729473fe90ee7f27dc37a029b05e48242889fd1748512983b4c95ed9e7b03c6aadf62974a6a2dc5274caa378aae89b09f600f6865ca
7
- data.tar.gz: 5dc7bca3b200493a8230b048487832f6dc2a791687cd717b63893cf3601d8e31c0ceeee1419e6c52a77ac40871668f704d0d3265515a451f604f47b1a98cd291
6
+ metadata.gz: 0babd0756cefda4d3225a942841b2f98d3cdb45cc5ef01374807379462e8b0920d7bfa517023e0fe5f759d628304d015d9996f161a53ef6288aec5edfc080d19
7
+ data.tar.gz: 81c824acc1708a8fb4229da7830bd17c13b1badd586e2f6ffe1382aa34456983515a21fc63fb6eef94cc6d7c66acc98f1389be28a5da60ce130888f05d72dec5
data/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@
7
7
 
8
8
  * No significant changes.
9
9
 
10
+ ## [2.4.2][] / 2021-11-09
11
+
12
+ * Revert zeitwerk autoloading changes.
13
+
14
+ The existing implementation caused application errors citing a `uninitialized
15
+ constant Faraday::DetailedLogger::Middleware`.
16
+
10
17
  ## [2.4.1][] / 2021-11-09
11
18
 
12
19
  * Fix `Faraday::Error: :detailed_logger is not registered on Faraday::Response`
@@ -77,4 +84,5 @@
77
84
  [2.3.0]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.2.0...v2.3.0
78
85
  [2.4.0]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.3.0...v2.4.0
79
86
  [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
87
+ [2.4.2]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.4.1...v2.4.2
88
+ [HEAD]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.4.2...main
data/Gemfile.lock CHANGED
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- faraday-detailed_logger (2.4.1)
4
+ faraday-detailed_logger (2.4.2)
5
5
  faraday (>= 0.16, < 2)
6
- zeitwerk (~> 2.0)
7
6
 
8
7
  GEM
9
8
  remote: https://rubygems.org/
@@ -25,14 +25,13 @@ Gem::Specification.new do |spec|
25
25
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
26
26
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
27
27
  `git ls-files -z`.split("\x0").reject do |f|
28
- (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
28
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|doc|gemfiles|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
29
29
  end
30
30
  end
31
31
 
32
32
  spec.require_paths = ['lib']
33
33
 
34
34
  spec.add_runtime_dependency 'faraday', '>= 0.16', '< 2'
35
- spec.add_runtime_dependency 'zeitwerk', '~> 2.0'
36
35
 
37
36
  spec.add_development_dependency 'appraisal', '~> 2.0'
38
37
  spec.add_development_dependency 'bundler', '~> 2.0'
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'faraday'
4
+ require 'faraday/detailed_logger/tagged_logging'
4
5
 
5
6
  module Faraday
6
7
  module DetailedLogger
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module DetailedLogger
5
- VERSION = '2.4.1'
5
+ VERSION = '2.4.2'
6
6
  end
7
7
  end
@@ -1,12 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'zeitwerk'
4
- loader = Zeitwerk::Loader.new
5
- loader.tag = 'faraday-detailed_logger'
6
- loader.inflector = Zeitwerk::GemInflector.new(__FILE__)
7
- loader.push_dir(File.join(__dir__, '..'))
8
- loader.ignore(__FILE__)
9
- loader.setup
3
+ require 'faraday/detailed_logger/version'
4
+ require 'faraday/detailed_logger/middleware'
10
5
 
11
6
  require 'faraday'
12
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday-detailed_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Envy Labs
@@ -30,20 +30,6 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '2'
33
- - !ruby/object:Gem::Dependency
34
- name: zeitwerk
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '2.0'
40
- type: :runtime
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '2.0'
47
33
  - !ruby/object:Gem::Dependency
48
34
  name: appraisal
49
35
  requirement: !ruby/object:Gem::Requirement
@@ -145,15 +131,7 @@ files:
145
131
  - LICENSE.txt
146
132
  - README.md
147
133
  - Rakefile
148
- - bin/console
149
- - bin/setup
150
- - doc/dependency_decisions.yml
151
134
  - faraday-detailed_logger.gemspec
152
- - gemfiles/faraday_0.16.x.gemfile
153
- - gemfiles/faraday_0.x.gemfile
154
- - gemfiles/faraday_1.x.gemfile
155
- - gemfiles/faraday_canary.gemfile
156
- - gemfiles/faraday_latest.gemfile
157
135
  - lib/faraday/detailed_logger.rb
158
136
  - lib/faraday/detailed_logger/middleware.rb
159
137
  - lib/faraday/detailed_logger/tagged_logging.rb
data/bin/console DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'bundler/setup'
5
- require 'faraday/detailed_logger'
6
-
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require "pry"
12
- # Pry.start
13
-
14
- require 'irb'
15
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
@@ -1,25 +0,0 @@
1
- ---
2
- - - :permit
3
- - MIT
4
- - :who: Nathaniel Bibler
5
- :why: This license is FSF and OSI approved.
6
- :versions: []
7
- :when: 2018-02-20 17:46:01.372600000 Z
8
- - - :permit
9
- - Simplified BSD
10
- - :who: Nathaniel Bibler
11
- :why: This license is FSF and OSI approved.
12
- :versions: []
13
- :when: 2018-02-20 17:46:13.990005000 Z
14
- - - :permit
15
- - Ruby
16
- - :who: Nathaniel Bibler
17
- :why: This license is FSF approved.
18
- :versions: []
19
- :when: 2018-02-20 17:46:30.088049000 Z
20
- - - :permit
21
- - Apache-2.0
22
- - :who: Nathaniel Bibler
23
- :why: This license is FSF and OSI approved.
24
- :versions: []
25
- :when: 2018-02-20 17:46:53.048804000 Z
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "faraday", "~> 0.16.0"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "faraday", "~> 0.16"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "faraday", "~> 1.0"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "faraday", git: "https://github.com/lostisland/faraday.git"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "faraday"
6
-
7
- gemspec path: "../"