faraday_middleware-aws-sigv4 0.5.0 → 0.6.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: e09732db4f0a13230a9c0cf1da3940aba5fa6f70d9ec1f6ccda9d12cfc1e81fa
4
- data.tar.gz: f16d00f7a1a92babfb14ca2401335f75ff2f6d37096beb0451da4db14edef79b
3
+ metadata.gz: aece4ba770cfc65206b68652239d1595d1ef73e8692e43c79d110d8adfd34b5d
4
+ data.tar.gz: 4b5ff35af060d864fcecd5f4c9c00ff470be0695802f0717e6fb90c4cb197d84
5
5
  SHA512:
6
- metadata.gz: a43623245d5ac14ad75c180ee0f7aff685e4a0cd5fb282730e453fb08363e89fe1a5781e186b55623451c2acf5c6a1132b749c27fd3a968c7641f914a5863e74
7
- data.tar.gz: 23b6b71e035f9467dd97d6d82ee3a4aebe5e2502243c6d357da86fac4b51bb8901d686d54aa9438a24db1ba265bc671caa17148e563056314c17f864a0cb068e
6
+ metadata.gz: acb30a0fe66f7315547d41c6bebd6a135e76be1a922c4850f89dae56a04cd512d0f05f790e5bbdd7b696fe8e5f90772b4dac649fc2137f5af643b4de475b8bb1
7
+ data.tar.gz: e6c6dd41687cb84135c1ac378eb96b0164f9cfb7ae659fb1d7e185dec677b174b3c5beff486cf4c0825b868ff3c977e50fcb3744b2838b3aa39af5d32bf56b16
@@ -15,14 +15,9 @@ jobs:
15
15
  - 2.5
16
16
  - 2.6
17
17
  - 2.7
18
+ - 3.0
18
19
  gemfile:
19
- - gemfiles/faraday_0.15.gemfile
20
- - gemfiles/faraday_0.16.gemfile
21
- - gemfiles/faraday_0.17.gemfile
22
- - gemfiles/faraday_1.0.gemfile
23
- - gemfiles/faraday_1.1.gemfile
24
- - gemfiles/faraday_1.2.gemfile
25
- - gemfiles/faraday_1.3.gemfile
20
+ - gemfiles/faraday_1.8.gemfile
26
21
  env:
27
22
  BUNDLE_GEMFILE: ${{ matrix.gemfile }}
28
23
  steps:
data/Appraisals CHANGED
@@ -1,29 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'faraday-0.15' do
4
- gem 'faraday', '~> 0.15.0'
5
- end
6
-
7
- appraise 'faraday-0.16' do
8
- gem 'faraday', '~> 0.16.0'
9
- end
10
-
11
- appraise 'faraday-0.17' do
12
- gem 'faraday', '~> 0.17.0'
13
- end
14
-
15
- appraise 'faraday-1.0' do
16
- gem 'faraday', '~> 1.0.0'
17
- end
18
-
19
- appraise 'faraday-1.1' do
20
- gem 'faraday', '~> 1.1.0'
21
- end
22
-
23
- appraise 'faraday-1.2' do
24
- gem 'faraday', '~> 1.2.0'
25
- end
26
-
27
- appraise 'faraday-1.3' do
28
- gem 'faraday', '~> 1.3.0'
3
+ appraise 'faraday-1.8' do
4
+ gem 'faraday', '~> 1.8.0'
29
5
  end
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [Faraday](https://github.com/lostisland/faraday) middleware for AWS Signature Version 4 using [aws-sigv4](https://rubygems.org/gems/aws-sigv4).
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/faraday_middleware-aws-sigv4.svg)](https://badge.fury.io/rb/faraday_middleware-aws-sigv4)
6
- ![test](https://github.com/winebarrel/faraday_middleware-aws-sigv4/workflows/test/badge.svg)
6
+ [![Build Status](https://github.com/winebarrel/faraday_middleware-aws-sigv4/workflows/test/badge.svg?branch=master)](https://github.com/winebarrel/faraday_middleware-aws-sigv4/actions)
7
7
  [![Coverage Status](https://coveralls.io/repos/github/winebarrel/faraday_middleware-aws-sigv4/badge.svg?branch=master)](https://coveralls.io/github/winebarrel/faraday_middleware-aws-sigv4?branch=master)
8
8
 
9
9
  * `faraday_middleware-aws-sigv4 < 0.3.0`
@@ -13,6 +13,9 @@
13
13
  * `faraday >= 0.15`
14
14
  * `faraday_middleware-aws-sigv4 >= 0.5.0`
15
15
  * `ruby >= 2.4`
16
+ * `faraday_middleware-aws-sigv4 >= 0.6.0`
17
+ * `ruby >= 2.4`
18
+ * `faraday >= 0.18`
16
19
 
17
20
  ## Installation
18
21
 
@@ -53,6 +56,9 @@ conn = Faraday.new(url: 'https://apigateway.us-east-1.amazonaws.com') do |farada
53
56
  faraday.response :json, content_type: /\bjson\b/
54
57
  faraday.response :raise_error
55
58
 
59
+
60
+ # NOTE: If you need to send case sensitive headers like `x-amz-access-token` in `SP API`.
61
+ # cf. https://github.com/lostisland/faraday/issues/747#issuecomment-439864181
56
62
  faraday.adapter Faraday.default_adapter
57
63
  end
58
64
 
@@ -79,7 +85,7 @@ If you previously provided the `service_name` option, you need to rename it `ser
79
85
  ```sh
80
86
  bundle install
81
87
  bundle exec appraisal install
82
- bundle exec appraisal faraday-0.16 rake
88
+ bundle exec appraisal faraday-1.8 rake
83
89
  ```
84
90
 
85
91
  ## Related Links
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'faraday_middleware-aws-sigv4'
8
- spec.version = '0.5.0'
8
+ spec.version = '0.6.0'
9
9
  spec.authors = ['Genki Sugawara']
10
10
  spec.email = ['sugawara@cookpad.com']
11
11
 
@@ -24,10 +24,10 @@ Gem::Specification.new do |spec|
24
24
  spec.required_ruby_version = '>= 2.4'
25
25
 
26
26
  spec.add_dependency 'aws-sigv4', '~> 1.0'
27
- spec.add_dependency 'faraday', '>= 0.15'
27
+ spec.add_dependency 'faraday', '>= 0.18', '< 2'
28
28
 
29
29
  spec.add_development_dependency 'appraisal', '>= 2.2'
30
- spec.add_development_dependency 'aws-sdk-core', '~> 3.14.0'
30
+ spec.add_development_dependency 'aws-sdk-core', '>= 3.124.0'
31
31
  spec.add_development_dependency 'bundler'
32
32
  spec.add_development_dependency 'faraday_middleware'
33
33
  spec.add_development_dependency 'rake'
@@ -38,4 +38,7 @@ Gem::Specification.new do |spec|
38
38
  spec.add_development_dependency 'simplecov'
39
39
  spec.add_development_dependency 'simplecov-lcov'
40
40
  spec.add_development_dependency 'timecop'
41
+ spec.metadata = {
42
+ 'rubygems_mfa_required' => 'true'
43
+ }
41
44
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "faraday", "~> 1.1.0"
5
+ gem "faraday", "~> 1.8.0"
6
6
 
7
7
  gemspec path: "../"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday_middleware-aws-sigv4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-07 00:00:00.000000000 Z
11
+ date: 2021-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4
@@ -30,14 +30,20 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0.15'
33
+ version: '0.18'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '2'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
41
  - - ">="
39
42
  - !ruby/object:Gem::Version
40
- version: '0.15'
43
+ version: '0.18'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '2'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: appraisal
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -56,16 +62,16 @@ dependencies:
56
62
  name: aws-sdk-core
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - "~>"
65
+ - - ">="
60
66
  - !ruby/object:Gem::Version
61
- version: 3.14.0
67
+ version: 3.124.0
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
- - - "~>"
72
+ - - ">="
67
73
  - !ruby/object:Gem::Version
68
- version: 3.14.0
74
+ version: 3.124.0
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: bundler
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -225,20 +231,15 @@ files:
225
231
  - Rakefile
226
232
  - faraday_middleware-aws-sigv4.gemspec
227
233
  - gemfiles/.bundle/config
228
- - gemfiles/faraday_0.15.gemfile
229
- - gemfiles/faraday_0.16.gemfile
230
- - gemfiles/faraday_0.17.gemfile
231
- - gemfiles/faraday_1.0.gemfile
232
- - gemfiles/faraday_1.1.gemfile
233
- - gemfiles/faraday_1.2.gemfile
234
- - gemfiles/faraday_1.3.gemfile
234
+ - gemfiles/faraday_1.8.gemfile
235
235
  - lib/faraday_middleware/aws_sigv4.rb
236
236
  - lib/faraday_middleware/request/aws_sigv4.rb
237
237
  - lib/faraday_middleware/request/aws_sigv4_util.rb
238
238
  homepage: https://github.com/winebarrel/faraday_middleware-aws-sigv4
239
239
  licenses:
240
240
  - MIT
241
- metadata: {}
241
+ metadata:
242
+ rubygems_mfa_required: 'true'
242
243
  post_install_message:
243
244
  rdoc_options: []
244
245
  require_paths:
@@ -254,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
254
255
  - !ruby/object:Gem::Version
255
256
  version: '0'
256
257
  requirements: []
257
- rubygems_version: 3.0.3
258
+ rubygems_version: 3.2.32
258
259
  signing_key:
259
260
  specification_version: 4
260
261
  summary: Faraday middleware for AWS Signature Version 4 using aws-sigv4.
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "faraday", "~> 0.15.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.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.17.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", "~> 1.0.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", "~> 1.2.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", "~> 1.3.0"
6
-
7
- gemspec path: "../"