faraday-detailed_logger 2.3.0 → 2.4.0

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: c4378077fee8fec3312c19c6403d9ca683a8b3fdbbcdbb745ff97d83fe3ac559
4
- data.tar.gz: 8b84ddc0a1864211a52b587fc4b5cf0342906739029b9a28dc7552afbf81937b
3
+ metadata.gz: 23cf5ae82b8fe0976ca46351355cb17b03fa810834cd7a23dd096bb6c9e45cf4
4
+ data.tar.gz: eb7c323e4141c6ea59d6aa9fb000131fbcbfda7f9f06fbd029c94451d19f6440
5
5
  SHA512:
6
- metadata.gz: d11f3f3bb40a8becd7611f92ea059dfc549d84e29a2a21a1d8d0a115054c750632f6e2392251e9f115b4c3586434b94cbb0fcd60d61e07e8e7e6cf668d7c60d7
7
- data.tar.gz: 355b30061f026ddc62c660d6d9925effe9378b2c7da3cc67d627ceb3e340db7a4ffba5a1eec9a49e71f023cd0a2b1cbdf5871589690502101951e69816814e5d
6
+ metadata.gz: aea993419de399c9dcbe437cff6374778e69cbff16c6283a1b16c3098950e56175c9226e1d409c9ac507004685ebc4f9551676932873100ebae91faa0d0ac561
7
+ data.tar.gz: 6a6e9e98e304ec02a153f4dd56ef9e68e79c64c5e8bec5bede0c23c9c316ee13d4e625a6c39468c0c0a265933beec0c89ed332cef84ac3307cc6576ace71f247
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/CHANGELOG.md CHANGED
@@ -1,15 +1,16 @@
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.0][] / 2021-11-06
11
+
12
+ * Use [zeitwerk](https://rubygems.org/gems/zeitwerk) autoloading.
13
+
13
14
  ## [2.3.0][] / 2020-02-11
14
15
 
15
16
  * Sort the request and response headers when logging.
@@ -66,4 +67,5 @@
66
67
  [2.1.3]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.1.2...v2.1.3
67
68
  [2.2.0]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.1.3...v2.2.0
68
69
  [2.3.0]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.2.0...v2.3.0
69
- [HEAD]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.3.0...master
70
+ [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
data/Gemfile.lock CHANGED
@@ -1,142 +1,157 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- faraday-detailed_logger (2.3.0)
4
+ faraday-detailed_logger (2.4.0)
5
5
  faraday (>= 0.8, < 2)
6
+ zeitwerk (~> 2.0)
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
9
10
  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)
11
+ actionpack (6.1.4.1)
12
+ actionview (= 6.1.4.1)
13
+ activesupport (= 6.1.4.1)
14
+ rack (~> 2.0, >= 2.0.9)
14
15
  rack-test (>= 0.6.3)
15
16
  rails-dom-testing (~> 2.0)
16
17
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
17
- actionview (6.0.2.1)
18
- activesupport (= 6.0.2.1)
18
+ actionview (6.1.4.1)
19
+ activesupport (= 6.1.4.1)
19
20
  builder (~> 3.1)
20
21
  erubi (~> 1.4)
21
22
  rails-dom-testing (~> 2.0)
22
23
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
23
- activesupport (6.0.2.1)
24
+ activesupport (6.1.4.1)
24
25
  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)
26
+ i18n (>= 1.6, < 2)
27
+ minitest (>= 5.1)
28
+ tzinfo (~> 2.0)
29
+ zeitwerk (~> 2.3)
30
+ appraisal (2.4.1)
30
31
  bundler
31
32
  rake
32
33
  thor (>= 0.14.0)
33
- ast (2.4.0)
34
+ ast (2.4.2)
34
35
  builder (3.2.4)
35
- concurrent-ruby (1.1.6)
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)
36
+ concurrent-ruby (1.1.9)
42
37
  crass (1.0.6)
43
- diff-lcs (1.3)
44
- docile (1.3.2)
45
- erubi (1.9.0)
46
- faraday (1.0.0)
38
+ diff-lcs (1.4.4)
39
+ erubi (1.10.0)
40
+ faraday (1.8.0)
41
+ faraday-em_http (~> 1.0)
42
+ faraday-em_synchrony (~> 1.0)
43
+ faraday-excon (~> 1.1)
44
+ faraday-httpclient (~> 1.0.1)
45
+ faraday-net_http (~> 1.0)
46
+ faraday-net_http_persistent (~> 1.1)
47
+ faraday-patron (~> 1.0)
48
+ faraday-rack (~> 1.0)
47
49
  multipart-post (>= 1.2, < 3)
48
- i18n (1.8.2)
50
+ ruby2_keywords (>= 0.0.4)
51
+ faraday-em_http (1.0.0)
52
+ faraday-em_synchrony (1.0.0)
53
+ faraday-excon (1.1.0)
54
+ faraday-httpclient (1.0.1)
55
+ faraday-net_http (1.0.1)
56
+ faraday-net_http_persistent (1.2.0)
57
+ faraday-patron (1.0.0)
58
+ faraday-rack (1.0.0)
59
+ i18n (1.8.11)
49
60
  concurrent-ruby (~> 1.0)
50
- jaro_winkler (1.5.4)
51
- json (2.3.0)
52
- license_finder (6.0.0)
61
+ license_finder (6.14.2)
53
62
  bundler
54
63
  rubyzip (>= 1, < 3)
55
- thor
56
- toml (= 0.2.0)
64
+ thor (~> 1.0.1)
65
+ tomlrb (>= 1.3, < 2.1)
57
66
  with_env (= 1.1.0)
58
- xml-simple
59
- loofah (2.4.0)
67
+ xml-simple (~> 1.1.5)
68
+ loofah (2.12.0)
60
69
  crass (~> 1.0.2)
61
70
  nokogiri (>= 1.5.9)
62
- method_source (0.9.2)
63
- mini_portile2 (2.4.0)
64
- minitest (5.14.0)
71
+ method_source (1.0.0)
72
+ mini_portile2 (2.6.1)
73
+ minitest (5.14.4)
65
74
  multipart-post (2.1.1)
66
- nokogiri (1.10.8)
67
- mini_portile2 (~> 2.4.0)
68
- parallel (1.19.1)
69
- parser (2.7.0.2)
70
- ast (~> 2.4.0)
71
- parslet (1.8.2)
72
- rack (2.2.2)
75
+ nokogiri (1.12.5)
76
+ mini_portile2 (~> 2.6.1)
77
+ racc (~> 1.4)
78
+ parallel (1.21.0)
79
+ parser (3.0.2.0)
80
+ ast (~> 2.4.1)
81
+ racc (1.6.0)
82
+ rack (2.2.3)
73
83
  rack-test (1.1.0)
74
84
  rack (>= 1.0, < 3)
75
85
  rails-dom-testing (2.0.3)
76
86
  activesupport (>= 4.2.0)
77
87
  nokogiri (>= 1.6)
78
- rails-html-sanitizer (1.3.0)
88
+ rails-html-sanitizer (1.4.2)
79
89
  loofah (~> 2.3)
80
- railties (6.0.2.1)
81
- actionpack (= 6.0.2.1)
82
- activesupport (= 6.0.2.1)
90
+ railties (6.1.4.1)
91
+ actionpack (= 6.1.4.1)
92
+ activesupport (= 6.1.4.1)
83
93
  method_source
84
- rake (>= 0.8.7)
85
- thor (>= 0.20.3, < 2.0)
94
+ rake (>= 0.13)
95
+ thor (~> 1.0)
86
96
  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)
97
+ rake (13.0.6)
98
+ regexp_parser (2.1.1)
99
+ rexml (3.2.5)
100
+ rspec (3.10.0)
101
+ rspec-core (~> 3.10.0)
102
+ rspec-expectations (~> 3.10.0)
103
+ rspec-mocks (~> 3.10.0)
104
+ rspec-core (3.10.1)
105
+ rspec-support (~> 3.10.0)
106
+ rspec-expectations (3.10.1)
95
107
  diff-lcs (>= 1.2.0, < 2.0)
96
- rspec-support (~> 3.9.0)
97
- rspec-mocks (3.9.1)
108
+ rspec-support (~> 3.10.0)
109
+ rspec-mocks (3.10.2)
98
110
  diff-lcs (>= 1.2.0, < 2.0)
99
- rspec-support (~> 3.9.0)
100
- rspec-support (3.9.2)
101
- rubocop (0.79.0)
102
- jaro_winkler (~> 1.5.1)
111
+ rspec-support (~> 3.10.0)
112
+ rspec-support (3.10.3)
113
+ rubocop (1.22.3)
103
114
  parallel (~> 1.10)
104
- parser (>= 2.7.0.1)
115
+ parser (>= 3.0.0.0)
105
116
  rainbow (>= 2.2.2, < 4.0)
117
+ regexp_parser (>= 1.8, < 3.0)
118
+ rexml
119
+ rubocop-ast (>= 1.12.0, < 2.0)
106
120
  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.2)
121
+ unicode-display_width (>= 1.4.0, < 3.0)
122
+ rubocop-ast (1.12.0)
123
+ parser (>= 3.0.1.1)
124
+ rubocop-minitest (0.15.2)
125
+ rubocop (>= 0.90, < 2.0)
126
+ rubocop-packaging (0.5.1)
127
+ rubocop (>= 0.89, < 2.0)
128
+ rubocop-performance (1.12.0)
129
+ rubocop (>= 1.7.0, < 2.0)
130
+ rubocop-ast (>= 0.4.0)
131
+ rubocop-rails (2.12.4)
132
+ activesupport (>= 4.2.0)
111
133
  rack (>= 1.1)
112
- rubocop (>= 0.72.0)
113
- rubocop-rails_config (0.9.1)
114
- railties (>= 3.0)
115
- rubocop (~> 0.77)
116
- rubocop-performance (~> 1.3)
134
+ rubocop (>= 1.7.0, < 2.0)
135
+ rubocop-rails_config (1.7.4)
136
+ railties (>= 5.0)
137
+ rubocop (>= 1.19)
138
+ rubocop-ast (>= 1.0.1)
139
+ rubocop-minitest (~> 0.15)
140
+ rubocop-packaging (~> 0.5)
141
+ rubocop-performance (~> 1.11)
117
142
  rubocop-rails (~> 2.0)
118
- ruby-progressbar (1.10.1)
119
- rubyzip (2.2.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
- sync (0.5.0)
126
- term-ansicolor (1.7.1)
127
- tins (~> 1.0)
143
+ ruby-progressbar (1.11.0)
144
+ ruby2_keywords (0.0.5)
145
+ rubyzip (2.3.2)
128
146
  thor (1.0.1)
129
- thread_safe (0.3.6)
130
- tins (1.24.1)
131
- sync
132
- toml (0.2.0)
133
- parslet (~> 1.8.0)
134
- tzinfo (1.2.6)
135
- thread_safe (~> 0.1)
136
- unicode-display_width (1.6.1)
147
+ tomlrb (2.0.1)
148
+ tzinfo (2.0.4)
149
+ concurrent-ruby (~> 1.0)
150
+ unicode-display_width (2.1.0)
137
151
  with_env (1.1.0)
138
- xml-simple (1.1.5)
139
- zeitwerk (2.2.2)
152
+ xml-simple (1.1.9)
153
+ rexml
154
+ zeitwerk (2.5.1)
140
155
 
141
156
  PLATFORMS
142
157
  ruby
@@ -144,12 +159,11 @@ PLATFORMS
144
159
  DEPENDENCIES
145
160
  appraisal (~> 2.0)
146
161
  bundler (~> 2.0)
147
- coveralls (~> 0.8.0)
148
162
  faraday-detailed_logger!
149
163
  license_finder (~> 6.0)
150
164
  rake (~> 13.0)
151
165
  rspec (~> 3.0)
152
- rubocop-rails_config (~> 0.9.0)
166
+ rubocop-rails_config (~> 1.3)
153
167
 
154
168
  BUNDLED WITH
155
- 2.1.4
169
+ 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,29 @@ 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(?:(?: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
34
  spec.add_runtime_dependency 'faraday', '>= 0.8', '< 2'
35
+ spec.add_runtime_dependency 'zeitwerk', '~> 2.0'
34
36
 
35
37
  spec.add_development_dependency 'appraisal', '~> 2.0'
36
38
  spec.add_development_dependency 'bundler', '~> 2.0'
37
- spec.add_development_dependency 'coveralls', '~> 0.8.0'
38
39
  spec.add_development_dependency 'license_finder', '~> 6.0'
39
40
  spec.add_development_dependency 'rake', '~> 13.0'
40
41
  spec.add_development_dependency 'rspec', '~> 3.0'
41
- spec.add_development_dependency 'rubocop-rails_config', '~> 0.9.0'
42
+ spec.add_development_dependency 'rubocop-rails_config', '~> 1.3'
42
43
  end
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'faraday'
4
- require 'faraday/detailed_logger/tagged_logging'
5
4
 
6
5
  module Faraday
7
6
  module DetailedLogger
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module DetailedLogger
5
- VERSION = '2.3.0'
5
+ VERSION = '2.4.0'
6
6
  end
7
7
  end
@@ -1,7 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'faraday/detailed_logger/version'
4
- require 'faraday/detailed_logger/middleware'
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
5
10
 
6
11
  module Faraday
7
12
  module DetailedLogger
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.3.0
4
+ version: 2.4.0
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-02-11 00:00:00.000000000 Z
11
+ date: 2021-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -31,13 +31,13 @@ dependencies:
31
31
  - !ruby/object:Gem::Version
32
32
  version: '2'
33
33
  - !ruby/object:Gem::Dependency
34
- name: appraisal
34
+ name: zeitwerk
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
39
  version: '2.0'
40
- type: :development
40
+ type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
@@ -45,7 +45,7 @@ dependencies:
45
45
  - !ruby/object:Gem::Version
46
46
  version: '2.0'
47
47
  - !ruby/object:Gem::Dependency
48
- name: bundler
48
+ name: appraisal
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
@@ -59,19 +59,19 @@ dependencies:
59
59
  - !ruby/object:Gem::Version
60
60
  version: '2.0'
61
61
  - !ruby/object:Gem::Dependency
62
- name: coveralls
62
+ name: bundler
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 0.8.0
67
+ version: '2.0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 0.8.0
74
+ version: '2.0'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: license_finder
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -120,14 +120,14 @@ dependencies:
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: 0.9.0
123
+ version: '1.3'
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: 0.9.0
130
+ version: '1.3'
131
131
  description: "\n A Faraday middleware for logging request and response activity
132
132
  including\n method, URI, headers, and body at varying log levels.\n "
133
133
  email:
@@ -136,12 +136,8 @@ executables: []
136
136
  extensions: []
137
137
  extra_rdoc_files: []
138
138
  files:
139
- - ".github/workflows/release.yml"
140
- - ".github/workflows/tests.yml"
141
- - ".gitignore"
142
139
  - ".rspec"
143
140
  - ".rubocop.yml"
144
- - ".travis.yml"
145
141
  - Appraisals
146
142
  - CHANGELOG.md
147
143
  - Gemfile
@@ -166,10 +162,10 @@ homepage: https://github.com/envylabs/faraday-detailed_logger
166
162
  licenses:
167
163
  - MIT
168
164
  metadata:
169
- changelog_uri: https://github.com/envylabs/faraday-detailed_logger/blob/master/CHANGELOG.md
170
- source_code_uri: https://github.com/envylabs/faraday-detailed_logger
171
165
  bug_tracker_uri: https://github.com/envylabs/faraday-detailed_logger/issues
172
- post_install_message:
166
+ changelog_uri: https://github.com/envylabs/faraday-detailed_logger/blob/main/CHANGELOG.md
167
+ source_code_uri: https://github.com/envylabs/faraday-detailed_logger
168
+ post_install_message:
173
169
  rdoc_options: []
174
170
  require_paths:
175
171
  - lib
@@ -177,15 +173,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
173
  requirements:
178
174
  - - ">="
179
175
  - !ruby/object:Gem::Version
180
- version: '0'
176
+ version: 2.4.0
181
177
  required_rubygems_version: !ruby/object:Gem::Requirement
182
178
  requirements:
183
179
  - - ">="
184
180
  - !ruby/object:Gem::Version
185
181
  version: '0'
186
182
  requirements: []
187
- rubygems_version: 3.1.2
188
- signing_key:
183
+ rubygems_version: 3.1.6
184
+ signing_key:
189
185
  specification_version: 4
190
186
  summary: A detailed request and response logger for Faraday.
191
187
  test_files: []
@@ -1,36 +0,0 @@
1
- ---
2
-
3
- name: "Release"
4
-
5
- "on":
6
- push:
7
- tags:
8
- - "v*"
9
-
10
- jobs:
11
- github_packages:
12
- runs-on: "ubuntu-latest"
13
-
14
- steps:
15
- - uses: "actions/checkout@v1"
16
- - uses: "actions/setup-ruby@v1"
17
- with:
18
- ruby-version: "2.7"
19
- - name: "Publish to GitHub"
20
- uses: "jstastny/publish-gem-to-github@v1.1"
21
- with:
22
- token: "${{ secrets.GITHUB_TOKEN }}"
23
- owner: "envylabs"
24
-
25
- rubygems:
26
- runs-on: "ubuntu-latest"
27
-
28
- steps:
29
- - uses: "actions/checkout@v1"
30
- - uses: "actions/setup-ruby@v1"
31
- with:
32
- ruby-version: "2.7"
33
- - name: "Publish to Rubygems"
34
- uses: "dawidd6/action-publish-gem@v1.0.0"
35
- with:
36
- api_key: "${{secrets.RUBYGEMS_API_KEY}}"
@@ -1,44 +0,0 @@
1
- ---
2
-
3
- name: "Tests"
4
-
5
- "on": [push]
6
-
7
- jobs:
8
- tests:
9
- runs-on: "ubuntu-latest"
10
-
11
- strategy:
12
- matrix:
13
- gemfile:
14
- - "Gemfile"
15
- - "gemfiles/faraday_latest.gemfile"
16
- - "gemfiles/faraday_0.8.gemfile"
17
- - "gemfiles/faraday_0.x.gemfile"
18
- - "gemfiles/faraday_1.x.gemfile"
19
-
20
- steps:
21
- - uses: "actions/checkout@v1"
22
- - uses: "actions/setup-ruby@v1"
23
- with:
24
- ruby-version: "2.7"
25
- - uses: "actions/cache@v1"
26
- with:
27
- path: "vendor/bundle"
28
- key: "${{ runner.os }}-gems-${{ hashFiles(matrix.gemfile) }}"
29
- restore-keys: |
30
- ${{ runner.os }}-gems-
31
- - name: "Install Latest Bundler"
32
- run: |
33
- gem install bundler --no-document
34
- bundle config --global gemfile ${{ matrix.gemfile }}
35
- bundle config path vendor/bundle
36
- bundle config set without "tools benchmarks docs"
37
- - name: "Bundle Install"
38
- run: "bundle install --jobs 4 --retry 3"
39
- - name: "Run Tests"
40
- run: "bundle exec rake spec"
41
- - name: "Check Licenses"
42
- run: "bundle exec license_finder --quiet"
43
- - name: "Check Ruby Style"
44
- run: "bundle exec rubocop -c ./.rubocop.yml -fq"
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,37 +0,0 @@
1
- ---
2
-
3
- before_install:
4
- - "gem install bundler -v 2.1.4"
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
- script:
35
- - "bundle exec rake"
36
- - "bundle exec rubocop -fq"
37
- - "bundle exec license_finder --quiet"