faraday-detailed_logger 2.2.0 → 2.3.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: fec9a95fd4223a7616e74df4f31a212f11fb33c76bedf9f6b6193c4b26463c66
4
- data.tar.gz: df692190ef9ec3f1ff4efcf1b3b07287e82ce1719005a0ff433e5459051676bc
3
+ metadata.gz: c4378077fee8fec3312c19c6403d9ca683a8b3fdbbcdbb745ff97d83fe3ac559
4
+ data.tar.gz: 8b84ddc0a1864211a52b587fc4b5cf0342906739029b9a28dc7552afbf81937b
5
5
  SHA512:
6
- metadata.gz: 20928d2962f3074010b3eab0d105632c6888cf525b4a8d400894e4aebbdc1e270b070737450021c9997677d9a4a96fdc8e47fa796387314a8ed55ed66ccbfff6
7
- data.tar.gz: c49e3984b4bd76a842dba00d0ff924a95d25c05c5320a4e97eea95f5d13e13ed8f3118ea669e99cdce0663a014ea84630fe169ccb1a65f5a8af4e1de56b7e53f
6
+ metadata.gz: d11f3f3bb40a8becd7611f92ea059dfc549d84e29a2a21a1d8d0a115054c750632f6e2392251e9f115b4c3586434b94cbb0fcd60d61e07e8e7e6cf668d7c60d7
7
+ data.tar.gz: 355b30061f026ddc62c660d6d9925effe9378b2c7da3cc67d627ceb3e340db7a4ffba5a1eec9a49e71f023cd0a2b1cbdf5871589690502101951e69816814e5d
@@ -0,0 +1,36 @@
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}}"
@@ -0,0 +1,44 @@
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"
@@ -1,7 +1,7 @@
1
1
  ---
2
2
 
3
3
  before_install:
4
- - "gem install bundler -v 2.1.3"
4
+ - "gem install bundler -v 2.1.4"
5
5
  before_script:
6
6
  - "bundle exec license_finder licenses add bundler MIT"
7
7
  branches:
@@ -31,9 +31,7 @@ jobs:
31
31
  language: "ruby"
32
32
  notifications:
33
33
  email: false
34
- rvm:
35
- - "2.7.0"
36
34
  script:
35
+ - "bundle exec rake"
37
36
  - "bundle exec rubocop -fq"
38
37
  - "bundle exec license_finder --quiet"
39
- - "bundle exec rake"
@@ -10,6 +10,10 @@
10
10
 
11
11
  * No significant changes.
12
12
 
13
+ ## [2.3.0][] / 2020-02-11
14
+
15
+ * Sort the request and response headers when logging.
16
+
13
17
  ## [2.2.0][] / 2020-01-02
14
18
 
15
19
  * Add support for faraday 1.0.
@@ -61,4 +65,5 @@
61
65
  [2.1.2]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.1.1...v2.1.2
62
66
  [2.1.3]: https://github.com/envylabs/faraday-detailed_logger/compare/v2.1.2...v2.1.3
63
67
  [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
68
+ [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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- faraday-detailed_logger (2.2.0)
4
+ faraday-detailed_logger (2.3.0)
5
5
  faraday (>= 0.8, < 2)
6
6
 
7
7
  GEM
@@ -32,24 +32,24 @@ GEM
32
32
  thor (>= 0.14.0)
33
33
  ast (2.4.0)
34
34
  builder (3.2.4)
35
- concurrent-ruby (1.1.5)
35
+ concurrent-ruby (1.1.6)
36
36
  coveralls (0.8.23)
37
37
  json (>= 1.8, < 3)
38
38
  simplecov (~> 0.16.1)
39
39
  term-ansicolor (~> 1.3)
40
40
  thor (>= 0.19.4, < 2.0)
41
41
  tins (~> 1.6)
42
- crass (1.0.5)
42
+ crass (1.0.6)
43
43
  diff-lcs (1.3)
44
44
  docile (1.3.2)
45
45
  erubi (1.9.0)
46
46
  faraday (1.0.0)
47
47
  multipart-post (>= 1.2, < 3)
48
- i18n (1.7.0)
48
+ i18n (1.8.2)
49
49
  concurrent-ruby (~> 1.0)
50
50
  jaro_winkler (1.5.4)
51
51
  json (2.3.0)
52
- license_finder (5.11.1)
52
+ license_finder (6.0.0)
53
53
  bundler
54
54
  rubyzip (>= 1, < 3)
55
55
  thor
@@ -61,15 +61,15 @@ GEM
61
61
  nokogiri (>= 1.5.9)
62
62
  method_source (0.9.2)
63
63
  mini_portile2 (2.4.0)
64
- minitest (5.13.0)
64
+ minitest (5.14.0)
65
65
  multipart-post (2.1.1)
66
- nokogiri (1.10.7)
66
+ nokogiri (1.10.8)
67
67
  mini_portile2 (~> 2.4.0)
68
68
  parallel (1.19.1)
69
- parser (2.7.0.1)
69
+ parser (2.7.0.2)
70
70
  ast (~> 2.4.0)
71
71
  parslet (1.8.2)
72
- rack (2.0.8)
72
+ rack (2.2.2)
73
73
  rack-test (1.1.0)
74
74
  rack (>= 1.0, < 3)
75
75
  rails-dom-testing (2.0.3)
@@ -98,40 +98,42 @@ GEM
98
98
  diff-lcs (>= 1.2.0, < 2.0)
99
99
  rspec-support (~> 3.9.0)
100
100
  rspec-support (3.9.2)
101
- rubocop (0.78.0)
101
+ rubocop (0.79.0)
102
102
  jaro_winkler (~> 1.5.1)
103
103
  parallel (~> 1.10)
104
- parser (>= 2.6)
104
+ parser (>= 2.7.0.1)
105
105
  rainbow (>= 2.2.2, < 4.0)
106
106
  ruby-progressbar (~> 1.7)
107
107
  unicode-display_width (>= 1.4.0, < 1.7)
108
108
  rubocop-performance (1.5.2)
109
109
  rubocop (>= 0.71.0)
110
- rubocop-rails (2.4.1)
110
+ rubocop-rails (2.4.2)
111
111
  rack (>= 1.1)
112
112
  rubocop (>= 0.72.0)
113
- rubocop-rails_config (0.9.0)
113
+ rubocop-rails_config (0.9.1)
114
114
  railties (>= 3.0)
115
115
  rubocop (~> 0.77)
116
116
  rubocop-performance (~> 1.3)
117
117
  rubocop-rails (~> 2.0)
118
118
  ruby-progressbar (1.10.1)
119
- rubyzip (2.0.0)
119
+ rubyzip (2.2.0)
120
120
  simplecov (0.16.1)
121
121
  docile (~> 1.1)
122
122
  json (>= 1.8, < 3)
123
123
  simplecov-html (~> 0.10.0)
124
124
  simplecov-html (0.10.2)
125
+ sync (0.5.0)
125
126
  term-ansicolor (1.7.1)
126
127
  tins (~> 1.0)
127
128
  thor (1.0.1)
128
129
  thread_safe (0.3.6)
129
- tins (1.22.2)
130
+ tins (1.24.1)
131
+ sync
130
132
  toml (0.2.0)
131
133
  parslet (~> 1.8.0)
132
134
  tzinfo (1.2.6)
133
135
  thread_safe (~> 0.1)
134
- unicode-display_width (1.6.0)
136
+ unicode-display_width (1.6.1)
135
137
  with_env (1.1.0)
136
138
  xml-simple (1.1.5)
137
139
  zeitwerk (2.2.2)
@@ -144,10 +146,10 @@ DEPENDENCIES
144
146
  bundler (~> 2.0)
145
147
  coveralls (~> 0.8.0)
146
148
  faraday-detailed_logger!
147
- license_finder (~> 5.0)
149
+ license_finder (~> 6.0)
148
150
  rake (~> 13.0)
149
151
  rspec (~> 3.0)
150
152
  rubocop-rails_config (~> 0.9.0)
151
153
 
152
154
  BUNDLED WITH
153
- 2.1.3
155
+ 2.1.4
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
35
35
  spec.add_development_dependency 'appraisal', '~> 2.0'
36
36
  spec.add_development_dependency 'bundler', '~> 2.0'
37
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
41
  spec.add_development_dependency 'rubocop-rails_config', '~> 0.9.0'
@@ -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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module DetailedLogger
5
- VERSION = '2.2.0'
5
+ VERSION = '2.3.0'
6
6
  end
7
7
  end
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.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Envy Labs
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-02 00:00:00.000000000 Z
11
+ date: 2020-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -78,14 +78,14 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '5.0'
81
+ version: '6.0'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '5.0'
88
+ version: '6.0'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: rake
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -136,6 +136,8 @@ executables: []
136
136
  extensions: []
137
137
  extra_rdoc_files: []
138
138
  files:
139
+ - ".github/workflows/release.yml"
140
+ - ".github/workflows/tests.yml"
139
141
  - ".gitignore"
140
142
  - ".rspec"
141
143
  - ".rubocop.yml"