faraday-detailed_logger 2.2.0 → 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: fec9a95fd4223a7616e74df4f31a212f11fb33c76bedf9f6b6193c4b26463c66
4
- data.tar.gz: df692190ef9ec3f1ff4efcf1b3b07287e82ce1719005a0ff433e5459051676bc
3
+ metadata.gz: a686fbdcac03dc9553636285c80a55e6ecdf61215071e97c414a3f895f384bbc
4
+ data.tar.gz: 7a6651d0800697f224c3f9332a21e35f2c0736611a9508b99593b0284e9f88cd
5
5
  SHA512:
6
- metadata.gz: 20928d2962f3074010b3eab0d105632c6888cf525b4a8d400894e4aebbdc1e270b070737450021c9997677d9a4a96fdc8e47fa796387314a8ed55ed66ccbfff6
7
- data.tar.gz: c49e3984b4bd76a842dba00d0ff924a95d25c05c5320a4e97eea95f5d13e13ed8f3118ea669e99cdce0663a014ea84630fe169ccb1a65f5a8af4e1de56b7e53f
6
+ metadata.gz: 0babd0756cefda4d3225a942841b2f98d3cdb45cc5ef01374807379462e8b0920d7bfa517023e0fe5f759d628304d015d9996f161a53ef6288aec5edfc080d19
7
+ data.tar.gz: 81c824acc1708a8fb4229da7830bd17c13b1badd586e2f6ffe1382aa34456983515a21fc63fb6eef94cc6d7c66acc98f1389be28a5da60ce130888f05d72dec5
data/.rspec CHANGED
@@ -1,3 +1,4 @@
1
1
  --color
2
- --warnings
2
+ --no-profile
3
3
  --require spec_helper
4
+ --warnings
data/.rubocop.yml CHANGED
@@ -20,9 +20,6 @@ Layout/EmptyLinesAroundAccessModifier:
20
20
  Layout/EndOfLine:
21
21
  EnforcedStyle: "lf"
22
22
 
23
- Layout/HeredocIndentation:
24
- EnforcedStyle: "squiggly"
25
-
26
23
  Layout/IndentationConsistency:
27
24
  EnforcedStyle: "normal"
28
25
 
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
@@ -1,15 +1,35 @@
1
1
  # Faraday::DetailedLogger changelog
2
2
 
3
- [![Gem Version](https://img.shields.io/gem/v/faraday-detailed_logger.svg)](https://rubygems.org/gems/faraday-detailed_logger)
4
- [![Build Status](https://img.shields.io/travis/envylabs/faraday-detailed_logger/master.svg)](https://travis-ci.org/envylabs/faraday-detailed_logger)
5
- [![Maintainability](https://api.codeclimate.com/v1/badges/4d352482c536f5cee0c8/maintainability)](https://codeclimate.com/github/envylabs/faraday-detailed_logger/maintainability)
6
- [![Coverage Status](https://img.shields.io/coveralls/envylabs/faraday-detailed_logger.svg)](https://coveralls.io/r/envylabs/faraday-detailed_logger)
7
- [![Inline docs](https://inch-ci.org/github/envylabs/faraday-detailed_logger.svg?branch=master)](https://inch-ci.org/github/envylabs/faraday-detailed_logger)
3
+ [![Gem Version](https://badge.fury.io/rb/faraday-detailed_logger.svg)](https://badge.fury.io/rb/faraday-detailed_logger)
4
+ [![Tests](https://github.com/envylabs/faraday-detailed_logger/workflows/Tests/badge.svg)](https://github.com/envylabs/faraday-detailed_logger/actions?query=workflow%3ATests)
8
5
 
9
6
  ## [HEAD][] / unreleased
10
7
 
11
8
  * No significant changes.
12
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
+
17
+ ## [2.4.1][] / 2021-11-09
18
+
19
+ * Fix `Faraday::Error: :detailed_logger is not registered on Faraday::Response`
20
+ by relocating middleware registration.
21
+ * Increase the low-end of the faraday dependency to `~> 0.16` for Ruby 3
22
+ compatibility. Versions of faraday earlier than 0.16 are incompatible with
23
+ Ruby 3's Proc interface.
24
+
25
+ ## [2.4.0][] / 2021-11-06
26
+
27
+ * Use [zeitwerk](https://rubygems.org/gems/zeitwerk) autoloading.
28
+
29
+ ## [2.3.0][] / 2020-02-11
30
+
31
+ * Sort the request and response headers when logging.
32
+
13
33
  ## [2.2.0][] / 2020-01-02
14
34
 
15
35
  * Add support for faraday 1.0.
@@ -61,4 +81,8 @@
61
81
  [2.1.2]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.1.1...v2.1.2
62
82
  [2.1.3]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.1.2...v2.1.3
63
83
  [2.2.0]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.1.3...v2.2.0
64
- [HEAD]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.2.0...master
84
+ [2.3.0]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.2.0...v2.3.0
85
+ [2.4.0]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.3.0...v2.4.0
86
+ [2.4.1]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.4.0...v2.4.1
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,140 +1,156 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- faraday-detailed_logger (2.2.0)
5
- faraday (>= 0.8, < 2)
4
+ faraday-detailed_logger (2.4.2)
5
+ faraday (>= 0.16, < 2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (6.0.2.1)
11
- actionview (= 6.0.2.1)
12
- activesupport (= 6.0.2.1)
13
- rack (~> 2.0, >= 2.0.8)
10
+ actionpack (6.1.4.1)
11
+ actionview (= 6.1.4.1)
12
+ activesupport (= 6.1.4.1)
13
+ rack (~> 2.0, >= 2.0.9)
14
14
  rack-test (>= 0.6.3)
15
15
  rails-dom-testing (~> 2.0)
16
16
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
17
- actionview (6.0.2.1)
18
- activesupport (= 6.0.2.1)
17
+ actionview (6.1.4.1)
18
+ activesupport (= 6.1.4.1)
19
19
  builder (~> 3.1)
20
20
  erubi (~> 1.4)
21
21
  rails-dom-testing (~> 2.0)
22
22
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
23
- activesupport (6.0.2.1)
23
+ activesupport (6.1.4.1)
24
24
  concurrent-ruby (~> 1.0, >= 1.0.2)
25
- i18n (>= 0.7, < 2)
26
- minitest (~> 5.1)
27
- tzinfo (~> 1.1)
28
- zeitwerk (~> 2.2)
29
- appraisal (2.2.0)
25
+ i18n (>= 1.6, < 2)
26
+ minitest (>= 5.1)
27
+ tzinfo (~> 2.0)
28
+ zeitwerk (~> 2.3)
29
+ appraisal (2.4.1)
30
30
  bundler
31
31
  rake
32
32
  thor (>= 0.14.0)
33
- ast (2.4.0)
33
+ ast (2.4.2)
34
34
  builder (3.2.4)
35
- concurrent-ruby (1.1.5)
36
- coveralls (0.8.23)
37
- json (>= 1.8, < 3)
38
- simplecov (~> 0.16.1)
39
- term-ansicolor (~> 1.3)
40
- thor (>= 0.19.4, < 2.0)
41
- tins (~> 1.6)
42
- crass (1.0.5)
43
- diff-lcs (1.3)
44
- docile (1.3.2)
45
- erubi (1.9.0)
46
- faraday (1.0.0)
35
+ concurrent-ruby (1.1.9)
36
+ crass (1.0.6)
37
+ diff-lcs (1.4.4)
38
+ erubi (1.10.0)
39
+ faraday (1.8.0)
40
+ faraday-em_http (~> 1.0)
41
+ faraday-em_synchrony (~> 1.0)
42
+ faraday-excon (~> 1.1)
43
+ faraday-httpclient (~> 1.0.1)
44
+ faraday-net_http (~> 1.0)
45
+ faraday-net_http_persistent (~> 1.1)
46
+ faraday-patron (~> 1.0)
47
+ faraday-rack (~> 1.0)
47
48
  multipart-post (>= 1.2, < 3)
48
- i18n (1.7.0)
49
+ ruby2_keywords (>= 0.0.4)
50
+ faraday-em_http (1.0.0)
51
+ faraday-em_synchrony (1.0.0)
52
+ faraday-excon (1.1.0)
53
+ faraday-httpclient (1.0.1)
54
+ faraday-net_http (1.0.1)
55
+ faraday-net_http_persistent (1.2.0)
56
+ faraday-patron (1.0.0)
57
+ faraday-rack (1.0.0)
58
+ i18n (1.8.11)
49
59
  concurrent-ruby (~> 1.0)
50
- jaro_winkler (1.5.4)
51
- json (2.3.0)
52
- license_finder (5.11.1)
60
+ license_finder (6.14.2)
53
61
  bundler
54
62
  rubyzip (>= 1, < 3)
55
- thor
56
- toml (= 0.2.0)
63
+ thor (~> 1.0.1)
64
+ tomlrb (>= 1.3, < 2.1)
57
65
  with_env (= 1.1.0)
58
- xml-simple
59
- loofah (2.4.0)
66
+ xml-simple (~> 1.1.5)
67
+ loofah (2.12.0)
60
68
  crass (~> 1.0.2)
61
69
  nokogiri (>= 1.5.9)
62
- method_source (0.9.2)
63
- mini_portile2 (2.4.0)
64
- minitest (5.13.0)
70
+ method_source (1.0.0)
71
+ mini_portile2 (2.6.1)
72
+ minitest (5.14.4)
65
73
  multipart-post (2.1.1)
66
- nokogiri (1.10.7)
67
- mini_portile2 (~> 2.4.0)
68
- parallel (1.19.1)
69
- parser (2.7.0.1)
70
- ast (~> 2.4.0)
71
- parslet (1.8.2)
72
- rack (2.0.8)
74
+ nokogiri (1.12.5)
75
+ mini_portile2 (~> 2.6.1)
76
+ racc (~> 1.4)
77
+ parallel (1.21.0)
78
+ parser (3.0.2.0)
79
+ ast (~> 2.4.1)
80
+ racc (1.6.0)
81
+ rack (2.2.3)
73
82
  rack-test (1.1.0)
74
83
  rack (>= 1.0, < 3)
75
84
  rails-dom-testing (2.0.3)
76
85
  activesupport (>= 4.2.0)
77
86
  nokogiri (>= 1.6)
78
- rails-html-sanitizer (1.3.0)
87
+ rails-html-sanitizer (1.4.2)
79
88
  loofah (~> 2.3)
80
- railties (6.0.2.1)
81
- actionpack (= 6.0.2.1)
82
- activesupport (= 6.0.2.1)
89
+ railties (6.1.4.1)
90
+ actionpack (= 6.1.4.1)
91
+ activesupport (= 6.1.4.1)
83
92
  method_source
84
- rake (>= 0.8.7)
85
- thor (>= 0.20.3, < 2.0)
93
+ rake (>= 0.13)
94
+ thor (~> 1.0)
86
95
  rainbow (3.0.0)
87
- rake (13.0.1)
88
- rspec (3.9.0)
89
- rspec-core (~> 3.9.0)
90
- rspec-expectations (~> 3.9.0)
91
- rspec-mocks (~> 3.9.0)
92
- rspec-core (3.9.1)
93
- rspec-support (~> 3.9.1)
94
- rspec-expectations (3.9.0)
96
+ rake (13.0.6)
97
+ regexp_parser (2.1.1)
98
+ rexml (3.2.5)
99
+ rspec (3.10.0)
100
+ rspec-core (~> 3.10.0)
101
+ rspec-expectations (~> 3.10.0)
102
+ rspec-mocks (~> 3.10.0)
103
+ rspec-core (3.10.1)
104
+ rspec-support (~> 3.10.0)
105
+ rspec-expectations (3.10.1)
95
106
  diff-lcs (>= 1.2.0, < 2.0)
96
- rspec-support (~> 3.9.0)
97
- rspec-mocks (3.9.1)
107
+ rspec-support (~> 3.10.0)
108
+ rspec-mocks (3.10.2)
98
109
  diff-lcs (>= 1.2.0, < 2.0)
99
- rspec-support (~> 3.9.0)
100
- rspec-support (3.9.2)
101
- rubocop (0.78.0)
102
- jaro_winkler (~> 1.5.1)
110
+ rspec-support (~> 3.10.0)
111
+ rspec-support (3.10.3)
112
+ rubocop (1.22.3)
103
113
  parallel (~> 1.10)
104
- parser (>= 2.6)
114
+ parser (>= 3.0.0.0)
105
115
  rainbow (>= 2.2.2, < 4.0)
116
+ regexp_parser (>= 1.8, < 3.0)
117
+ rexml
118
+ rubocop-ast (>= 1.12.0, < 2.0)
106
119
  ruby-progressbar (~> 1.7)
107
- unicode-display_width (>= 1.4.0, < 1.7)
108
- rubocop-performance (1.5.2)
109
- rubocop (>= 0.71.0)
110
- rubocop-rails (2.4.1)
120
+ unicode-display_width (>= 1.4.0, < 3.0)
121
+ rubocop-ast (1.12.0)
122
+ parser (>= 3.0.1.1)
123
+ rubocop-minitest (0.15.2)
124
+ rubocop (>= 0.90, < 2.0)
125
+ rubocop-packaging (0.5.1)
126
+ rubocop (>= 0.89, < 2.0)
127
+ rubocop-performance (1.12.0)
128
+ rubocop (>= 1.7.0, < 2.0)
129
+ rubocop-ast (>= 0.4.0)
130
+ rubocop-rails (2.12.4)
131
+ activesupport (>= 4.2.0)
111
132
  rack (>= 1.1)
112
- rubocop (>= 0.72.0)
113
- rubocop-rails_config (0.9.0)
114
- railties (>= 3.0)
115
- rubocop (~> 0.77)
116
- rubocop-performance (~> 1.3)
133
+ rubocop (>= 1.7.0, < 2.0)
134
+ rubocop-rails_config (1.7.4)
135
+ railties (>= 5.0)
136
+ rubocop (>= 1.19)
137
+ rubocop-ast (>= 1.0.1)
138
+ rubocop-minitest (~> 0.15)
139
+ rubocop-packaging (~> 0.5)
140
+ rubocop-performance (~> 1.11)
117
141
  rubocop-rails (~> 2.0)
118
- ruby-progressbar (1.10.1)
119
- rubyzip (2.0.0)
120
- simplecov (0.16.1)
121
- docile (~> 1.1)
122
- json (>= 1.8, < 3)
123
- simplecov-html (~> 0.10.0)
124
- simplecov-html (0.10.2)
125
- term-ansicolor (1.7.1)
126
- tins (~> 1.0)
142
+ ruby-progressbar (1.11.0)
143
+ ruby2_keywords (0.0.5)
144
+ rubyzip (2.3.2)
127
145
  thor (1.0.1)
128
- thread_safe (0.3.6)
129
- tins (1.22.2)
130
- toml (0.2.0)
131
- parslet (~> 1.8.0)
132
- tzinfo (1.2.6)
133
- thread_safe (~> 0.1)
134
- unicode-display_width (1.6.0)
146
+ tomlrb (2.0.1)
147
+ tzinfo (2.0.4)
148
+ concurrent-ruby (~> 1.0)
149
+ unicode-display_width (2.1.0)
135
150
  with_env (1.1.0)
136
- xml-simple (1.1.5)
137
- zeitwerk (2.2.2)
151
+ xml-simple (1.1.9)
152
+ rexml
153
+ zeitwerk (2.5.1)
138
154
 
139
155
  PLATFORMS
140
156
  ruby
@@ -142,12 +158,11 @@ PLATFORMS
142
158
  DEPENDENCIES
143
159
  appraisal (~> 2.0)
144
160
  bundler (~> 2.0)
145
- coveralls (~> 0.8.0)
146
161
  faraday-detailed_logger!
147
- license_finder (~> 5.0)
162
+ license_finder (~> 6.0)
148
163
  rake (~> 13.0)
149
164
  rspec (~> 3.0)
150
- rubocop-rails_config (~> 0.9.0)
165
+ rubocop-rails_config (~> 1.3)
151
166
 
152
167
  BUNDLED WITH
153
- 2.1.3
168
+ 2.2.30
data/README.md CHANGED
@@ -1,10 +1,7 @@
1
1
  # Faraday::DetailedLogger
2
2
 
3
- [![Gem Version](https://img.shields.io/gem/v/faraday-detailed_logger.svg)](https://rubygems.org/gems/faraday-detailed_logger)
4
- [![Build Status](https://img.shields.io/travis/envylabs/faraday-detailed_logger/master.svg)](https://travis-ci.org/envylabs/faraday-detailed_logger)
5
- [![Maintainability](https://api.codeclimate.com/v1/badges/4d352482c536f5cee0c8/maintainability)](https://codeclimate.com/github/envylabs/faraday-detailed_logger/maintainability)
6
- [![Coverage Status](https://img.shields.io/coveralls/envylabs/faraday-detailed_logger.svg)](https://coveralls.io/r/envylabs/faraday-detailed_logger)
7
- [![Inline docs](https://inch-ci.org/github/envylabs/faraday-detailed_logger.svg?branch=master)](https://inch-ci.org/github/envylabs/faraday-detailed_logger)
3
+ [![Gem Version](https://badge.fury.io/rb/faraday-detailed_logger.svg)](https://badge.fury.io/rb/faraday-detailed_logger)
4
+ [![Tests](https://github.com/envylabs/faraday-detailed_logger/workflows/Tests/badge.svg)](https://github.com/envylabs/faraday-detailed_logger/actions?query=workflow%3ATests)
8
5
 
9
6
  A Faraday middleware used for providing debug- and info-level logging
10
7
  information. The request and response logs follow very closely with cURL output
@@ -1,8 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('../lib', __FILE__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'faraday/detailed_logger/version'
3
+ require_relative 'lib/faraday/detailed_logger/version'
6
4
 
7
5
  Gem::Specification.new do |spec|
8
6
  spec.name = 'faraday-detailed_logger'
@@ -17,26 +15,28 @@ Gem::Specification.new do |spec|
17
15
  )
18
16
  spec.homepage = 'https://github.com/envylabs/faraday-detailed_logger'
19
17
  spec.license = 'MIT'
18
+ spec.required_ruby_version = '>= 2.4.0'
20
19
 
21
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
22
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ spec.metadata['bug_tracker_uri'] = 'https://github.com/envylabs/faraday-detailed_logger/issues'
21
+ spec.metadata['changelog_uri'] = 'https://github.com/envylabs/faraday-detailed_logger/blob/main/CHANGELOG.md'
22
+ spec.metadata['source_code_uri'] = 'https://github.com/envylabs/faraday-detailed_logger'
23
+
24
+ # Specify which files should be added to the gem when it is released.
25
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
26
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
27
+ `git ls-files -z`.split("\x0").reject do |f|
28
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|doc|gemfiles|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
29
+ end
23
30
  end
24
31
 
25
- spec.bindir = 'exe'
26
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
32
  spec.require_paths = ['lib']
28
33
 
29
- spec.metadata['changelog_uri'] = 'https://github.com/envylabs/faraday-detailed_logger/blob/master/CHANGELOG.md'
30
- spec.metadata['source_code_uri'] = 'https://github.com/envylabs/faraday-detailed_logger'
31
- spec.metadata['bug_tracker_uri'] = 'https://github.com/envylabs/faraday-detailed_logger/issues'
32
-
33
- spec.add_runtime_dependency 'faraday', '>= 0.8', '< 2'
34
+ spec.add_runtime_dependency 'faraday', '>= 0.16', '< 2'
34
35
 
35
36
  spec.add_development_dependency 'appraisal', '~> 2.0'
36
37
  spec.add_development_dependency 'bundler', '~> 2.0'
37
- spec.add_development_dependency 'coveralls', '~> 0.8.0'
38
- spec.add_development_dependency 'license_finder', '~> 5.0'
38
+ spec.add_development_dependency 'license_finder', '~> 6.0'
39
39
  spec.add_development_dependency 'rake', '~> 13.0'
40
40
  spec.add_development_dependency 'rspec', '~> 3.0'
41
- spec.add_development_dependency 'rubocop-rails_config', '~> 0.9.0'
41
+ spec.add_development_dependency 'rubocop-rails_config', '~> 1.3'
42
42
  end
@@ -91,7 +91,7 @@ module Faraday
91
91
  end
92
92
 
93
93
  def curl_output(headers, body)
94
- string = headers.map { |k, v| "#{k}: #{v}" }.join("\n")
94
+ string = headers.to_a.sort_by(&:first).map { |k, v| "#{k}: #{v}" }.join("\n")
95
95
  string + "\n\n#{body}"
96
96
  end
97
97
 
@@ -106,5 +106,3 @@ module Faraday
106
106
  end
107
107
  end
108
108
  end
109
-
110
- 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.2.0'
5
+ VERSION = '2.4.2'
6
6
  end
7
7
  end
@@ -3,7 +3,11 @@
3
3
  require 'faraday/detailed_logger/version'
4
4
  require 'faraday/detailed_logger/middleware'
5
5
 
6
+ require 'faraday'
7
+
6
8
  module Faraday
7
9
  module DetailedLogger
8
10
  end
9
11
  end
12
+
13
+ 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.2.0
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Envy Labs
8
- autorequire:
9
- bindir: exe
8
+ autorequire:
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-02 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'
@@ -58,34 +58,20 @@ dependencies:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '2.0'
61
- - !ruby/object:Gem::Dependency
62
- name: coveralls
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: 0.8.0
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: 0.8.0
75
61
  - !ruby/object:Gem::Dependency
76
62
  name: license_finder
77
63
  requirement: !ruby/object:Gem::Requirement
78
64
  requirements:
79
65
  - - "~>"
80
66
  - !ruby/object:Gem::Version
81
- version: '5.0'
67
+ version: '6.0'
82
68
  type: :development
83
69
  prerelease: false
84
70
  version_requirements: !ruby/object:Gem::Requirement
85
71
  requirements:
86
72
  - - "~>"
87
73
  - !ruby/object:Gem::Version
88
- version: '5.0'
74
+ version: '6.0'
89
75
  - !ruby/object:Gem::Dependency
90
76
  name: rake
91
77
  requirement: !ruby/object:Gem::Requirement
@@ -120,14 +106,14 @@ dependencies:
120
106
  requirements:
121
107
  - - "~>"
122
108
  - !ruby/object:Gem::Version
123
- version: 0.9.0
109
+ version: '1.3'
124
110
  type: :development
125
111
  prerelease: false
126
112
  version_requirements: !ruby/object:Gem::Requirement
127
113
  requirements:
128
114
  - - "~>"
129
115
  - !ruby/object:Gem::Version
130
- version: 0.9.0
116
+ version: '1.3'
131
117
  description: "\n A Faraday middleware for logging request and response activity
132
118
  including\n method, URI, headers, and body at varying log levels.\n "
133
119
  email:
@@ -136,10 +122,8 @@ executables: []
136
122
  extensions: []
137
123
  extra_rdoc_files: []
138
124
  files:
139
- - ".gitignore"
140
125
  - ".rspec"
141
126
  - ".rubocop.yml"
142
- - ".travis.yml"
143
127
  - Appraisals
144
128
  - CHANGELOG.md
145
129
  - Gemfile
@@ -147,15 +131,7 @@ files:
147
131
  - LICENSE.txt
148
132
  - README.md
149
133
  - Rakefile
150
- - bin/console
151
- - bin/setup
152
- - doc/dependency_decisions.yml
153
134
  - faraday-detailed_logger.gemspec
154
- - gemfiles/faraday_0.8.gemfile
155
- - gemfiles/faraday_0.x.gemfile
156
- - gemfiles/faraday_1.x.gemfile
157
- - gemfiles/faraday_canary.gemfile
158
- - gemfiles/faraday_latest.gemfile
159
135
  - lib/faraday/detailed_logger.rb
160
136
  - lib/faraday/detailed_logger/middleware.rb
161
137
  - lib/faraday/detailed_logger/tagged_logging.rb
@@ -164,10 +140,10 @@ homepage: https://github.com/envylabs/faraday-detailed_logger
164
140
  licenses:
165
141
  - MIT
166
142
  metadata:
167
- changelog_uri: https://github.com/envylabs/faraday-detailed_logger/blob/master/CHANGELOG.md
168
- source_code_uri: https://github.com/envylabs/faraday-detailed_logger
169
143
  bug_tracker_uri: https://github.com/envylabs/faraday-detailed_logger/issues
170
- post_install_message:
144
+ changelog_uri: https://github.com/envylabs/faraday-detailed_logger/blob/main/CHANGELOG.md
145
+ source_code_uri: https://github.com/envylabs/faraday-detailed_logger
146
+ post_install_message:
171
147
  rdoc_options: []
172
148
  require_paths:
173
149
  - lib
@@ -175,15 +151,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
175
151
  requirements:
176
152
  - - ">="
177
153
  - !ruby/object:Gem::Version
178
- version: '0'
154
+ version: 2.4.0
179
155
  required_rubygems_version: !ruby/object:Gem::Requirement
180
156
  requirements:
181
157
  - - ">="
182
158
  - !ruby/object:Gem::Version
183
159
  version: '0'
184
160
  requirements: []
185
- rubygems_version: 3.1.2
186
- signing_key:
161
+ rubygems_version: 3.2.22
162
+ signing_key:
187
163
  specification_version: 4
188
164
  summary: A detailed request and response logger for Faraday.
189
165
  test_files: []
data/.gitignore DELETED
@@ -1,15 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
-
10
- # rspec failure tracking
11
- .rspec_status
12
-
13
- /.ruby-version
14
- /gemfiles/.bundle/
15
- /gemfiles/*.gemfile.lock
data/.travis.yml DELETED
@@ -1,39 +0,0 @@
1
- ---
2
-
3
- before_install:
4
- - "gem install bundler -v 2.1.3"
5
- before_script:
6
- - "bundle exec license_finder licenses add bundler MIT"
7
- branches:
8
- only:
9
- - "master"
10
- - '/^v\d+\.\d+\.\d+/'
11
- cache:
12
- bundler: true
13
- dist: "bionic"
14
- jobs:
15
- allow_failures:
16
- - gemfile: "gemfiles/faraday_canary.gemfile"
17
-
18
- fail_fast: true
19
-
20
- include:
21
- - stage: "Test"
22
-
23
- - stage: "Latest Faraday Release"
24
- gemfile: "gemfiles/faraday_latest.gemfile"
25
-
26
- - gemfile: "gemfiles/faraday_0.8.gemfile"
27
- stage: "Additional Faraday Tests"
28
- - gemfile: "gemfiles/faraday_0.x.gemfile"
29
- - gemfile: "gemfiles/faraday_1.x.gemfile"
30
- - gemfile: "gemfiles/faraday_canary.gemfile"
31
- language: "ruby"
32
- notifications:
33
- email: false
34
- rvm:
35
- - "2.7.0"
36
- script:
37
- - "bundle exec rubocop -fq"
38
- - "bundle exec license_finder --quiet"
39
- - "bundle exec rake"
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
- - - :whitelist
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
- - - :whitelist
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
- - - :whitelist
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
- - - :whitelist
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.8.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.15"
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: "../"