faraday_middleware-aws-sigv4 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -0
- data/.gitignore +1 -0
- data/.simplecov +4 -0
- data/.travis.yml +16 -4
- data/Appraisals +23 -0
- data/README.md +5 -1
- data/faraday_middleware-aws-sigv4.gemspec +3 -2
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/faraday_0.10.gemfile +7 -0
- data/gemfiles/faraday_0.11.gemfile +7 -0
- data/gemfiles/faraday_0.12.gemfile +7 -0
- data/gemfiles/faraday_0.13.gemfile +7 -0
- data/gemfiles/faraday_0.14.gemfile +7 -0
- data/gemfiles/faraday_0.9.gemfile +7 -0
- metadata +30 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae42ac4e7548669be9c22cb4b6eac908ed0d58e6
|
4
|
+
data.tar.gz: 8e5c4ef7612c008c528a20f5a635d50054625066
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 125db0938c9de262473db0f91eb50d5ceed97cf39935952ea245fef02613411c42f19c02c642126fd6a3b3c2e52e771ae46a16be5ad213cdfdb39ec9883c0591
|
7
|
+
data.tar.gz: f4c359a15af49de3cd1f68b4dd95845a6304834228d2c167445261c1ea88cade914a21ca7fd6ab61f9403c353afeb31d7383a91f861a17daffcb3b7adf57bd16
|
data/.coveralls.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
service_name: travis-ci
|
data/.gitignore
CHANGED
data/.simplecov
ADDED
data/.travis.yml
CHANGED
@@ -2,7 +2,19 @@ sudo: false
|
|
2
2
|
language: ruby
|
3
3
|
cache: bundler
|
4
4
|
rvm:
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
- 2.1.10
|
6
|
+
- 2.2.9
|
7
|
+
- 2.3.6
|
8
|
+
- 2.4.3
|
9
|
+
- 2.5.0
|
10
|
+
before_install:
|
11
|
+
- gem update --system
|
12
|
+
script:
|
13
|
+
- bundle exec rake
|
14
|
+
gemfile:
|
15
|
+
- gemfiles/faraday_0.9.gemfile
|
16
|
+
- gemfiles/faraday_0.10.gemfile
|
17
|
+
- gemfiles/faraday_0.11.gemfile
|
18
|
+
- gemfiles/faraday_0.12.gemfile
|
19
|
+
- gemfiles/faraday_0.13.gemfile
|
20
|
+
- gemfiles/faraday_0.14.gemfile
|
data/Appraisals
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
appraise 'faraday-0.9' do
|
2
|
+
gem 'faraday', '~> 0.9.0'
|
3
|
+
end
|
4
|
+
|
5
|
+
appraise 'faraday-0.10' do
|
6
|
+
gem 'faraday', '~> 0.10.0'
|
7
|
+
end
|
8
|
+
|
9
|
+
appraise 'faraday-0.11' do
|
10
|
+
gem 'faraday', '~> 0.11.0'
|
11
|
+
end
|
12
|
+
|
13
|
+
appraise 'faraday-0.12' do
|
14
|
+
gem 'faraday', '~> 0.12.0'
|
15
|
+
end
|
16
|
+
|
17
|
+
appraise 'faraday-0.13' do
|
18
|
+
gem 'faraday', '~> 0.13.0'
|
19
|
+
end
|
20
|
+
|
21
|
+
appraise 'faraday-0.14' do
|
22
|
+
gem 'faraday', '~> 0.14.0'
|
23
|
+
end
|
data/README.md
CHANGED
@@ -38,7 +38,7 @@ conn = Faraday.new(url: 'https://apigateway.us-east-1.amazonaws.com') do |farada
|
|
38
38
|
secret_access_key: ENV['AWS_SECRET_ACCESS_KEY']
|
39
39
|
# see http://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Sigv4/Signer.html
|
40
40
|
|
41
|
-
faraday.response :json, :
|
41
|
+
faraday.response :json, content_type: /\bjson\b/
|
42
42
|
faraday.response :raise_error
|
43
43
|
|
44
44
|
faraday.adapter Faraday.default_adapter
|
@@ -58,6 +58,10 @@ pp res.body
|
|
58
58
|
# "throttleSettings"=>{"rateLimit"=>10000.0, "burstLimit"=>5000}}
|
59
59
|
```
|
60
60
|
|
61
|
+
## Upgrading from `faraday_middleware-aws-signers-v4`
|
62
|
+
|
63
|
+
If you previously provided the `service_name` option, you need to rename it `service`
|
64
|
+
|
61
65
|
## Related Links
|
62
66
|
|
63
67
|
* http://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Sigv4/Signer.html
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'faraday_middleware-aws-sigv4'
|
7
|
-
spec.version = '0.2.
|
7
|
+
spec.version = '0.2.4'
|
8
8
|
spec.authors = ['Genki Sugawara']
|
9
9
|
spec.email = ['sugawara@cookpad.com']
|
10
10
|
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
|
-
spec.add_dependency 'faraday', '
|
23
|
+
spec.add_dependency 'faraday', '>= 0.9'
|
24
24
|
spec.add_dependency 'aws-sigv4', '~> 1.0'
|
25
25
|
|
26
26
|
spec.add_development_dependency 'faraday_middleware'
|
@@ -30,4 +30,5 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_development_dependency 'timecop'
|
31
31
|
spec.add_development_dependency 'coveralls'
|
32
32
|
spec.add_development_dependency 'aws-sdk-core', '~> 3.0'
|
33
|
+
spec.add_development_dependency 'appraisal', '>= 2.2'
|
33
34
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday_middleware-aws-sigv4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.9'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.9'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '3.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: appraisal
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '2.2'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '2.2'
|
139
153
|
description: Faraday middleware for AWS Signature Version 4 using aws-sigv4.
|
140
154
|
email:
|
141
155
|
- sugawara@cookpad.com
|
@@ -143,9 +157,12 @@ executables: []
|
|
143
157
|
extensions: []
|
144
158
|
extra_rdoc_files: []
|
145
159
|
files:
|
160
|
+
- ".coveralls.yml"
|
146
161
|
- ".gitignore"
|
147
162
|
- ".rspec"
|
163
|
+
- ".simplecov"
|
148
164
|
- ".travis.yml"
|
165
|
+
- Appraisals
|
149
166
|
- Gemfile
|
150
167
|
- LICENSE.txt
|
151
168
|
- README.md
|
@@ -153,6 +170,13 @@ files:
|
|
153
170
|
- bin/console
|
154
171
|
- bin/setup
|
155
172
|
- faraday_middleware-aws-sigv4.gemspec
|
173
|
+
- gemfiles/.bundle/config
|
174
|
+
- gemfiles/faraday_0.10.gemfile
|
175
|
+
- gemfiles/faraday_0.11.gemfile
|
176
|
+
- gemfiles/faraday_0.12.gemfile
|
177
|
+
- gemfiles/faraday_0.13.gemfile
|
178
|
+
- gemfiles/faraday_0.14.gemfile
|
179
|
+
- gemfiles/faraday_0.9.gemfile
|
156
180
|
- lib/faraday_middleware/aws_sigv4.rb
|
157
181
|
- lib/faraday_middleware/request/aws_sigv4.rb
|
158
182
|
- lib/faraday_middleware/request/aws_sigv4_util.rb
|