faraday_middleware-aws-sigv4 1.0.0 → 1.0.1

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: 006f5a8f062d7f3ebfba67dc0039e86541cd289dc6053c75d2b2e401bf100124
4
- data.tar.gz: 3e2256911be4733772aad02a7cf2d170a26eba24fd09552a29c6ad9aa465c4ec
3
+ metadata.gz: 1279ad2732579dde393c8914342b55a4aa2891ea6ff56103b3758c8b0d052f33
4
+ data.tar.gz: b0ec1dd7628a34807b8bc17120b9cb8407f3478d42c784f0aa986fb63463e544
5
5
  SHA512:
6
- metadata.gz: 6456cc50847a4ff017a233f1b6d83b316d3ab280c56531ff5abb165a8f63e72f196ab49e364b9dd00085da2c42f7a8602aa472950cffb0d958b6004bd0cd06f9
7
- data.tar.gz: 0f43c2d6e97590c253deff63529d92b6aaaff2245a71827f8902f8e2e5200156718b6b6d0bdb376e834cfad26a3e3f1d9caaa4e90678dd3975777f8509d1dcb2
6
+ metadata.gz: c3c4df5e1c077662c2fd970c8b5d8e973e6b69519b186d16b861eaa0295eab09d418697c4a43abc902a664a929676777e5aea992a7430051fe002170c1a198ca
7
+ data.tar.gz: dbb9ed948c26ce29e0a3c9e35308d4894f1f812c28901247dddd7695b65f1f9d0184ee0f07d3fefb65f95ed466362be52d9efed5db998ff810364ef24b7ac58c
data/.rubocop.yml CHANGED
@@ -1,11 +1,14 @@
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
1
4
  AllCops:
2
5
  Exclude:
3
- - 'gemfiles/**/*'
6
+ - "gemfiles/**/*"
4
7
  TargetRubyVersion: 2.5
5
8
  NewCops: enable
6
9
  Bundler/OrderedGems:
7
10
  Include:
8
- - 'Appraisals'
11
+ - "Appraisals"
9
12
  Metrics/BlockLength:
10
13
  Enabled: false
11
14
  Layout/LineLength:
@@ -14,3 +17,11 @@ Metrics/MethodLength:
14
17
  Enabled: false
15
18
  Style/Documentation:
16
19
  Enabled: false
20
+ RSpec/ExampleLength:
21
+ Enabled: false
22
+ RSpec/MultipleExpectations:
23
+ Enabled: false
24
+ RSpec/MultipleMemoizedHelpers:
25
+ Enabled: false
26
+ RSpec/ContextWording:
27
+ Enabled: false
data/Appraisals CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'faraday-1.8' do
4
- gem 'faraday', '~> 1.8.0'
3
+ appraise 'faraday-2.0' do
4
+ gem 'faraday', '~> 2.0.0'
5
5
  end
data/README.md CHANGED
@@ -76,7 +76,7 @@ If you previously provided the `service_name` option, you need to rename it `ser
76
76
  ```sh
77
77
  bundle install
78
78
  bundle exec appraisal install
79
- bundle exec appraisal faraday-1.8 rake
79
+ bundle exec appraisal faraday-2.0 rake
80
80
  ```
81
81
 
82
82
  ## Related Links
@@ -5,9 +5,9 @@ $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 = '1.0.0'
8
+ spec.version = '1.0.1'
9
9
  spec.authors = ['Genki Sugawara']
10
- spec.email = ['sugawara@cookpad.com']
10
+ spec.email = ['sugawara@winebarrel.jp']
11
11
 
12
12
  spec.summary = 'Faraday middleware for AWS Signature Version 4 using aws-sigv4.'
13
13
  spec.description = 'Faraday middleware for AWS Signature Version 4 using aws-sigv4.'
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency 'bundler'
32
32
  spec.add_development_dependency 'rake'
33
33
  spec.add_development_dependency 'rspec', '~> 3.0'
34
- spec.add_development_dependency 'rubocop', '>= 1.8.0'
34
+ spec.add_development_dependency 'rubocop', '>= 1.36.0'
35
35
  spec.add_development_dependency 'rubocop-rake'
36
36
  spec.add_development_dependency 'rubocop-rspec'
37
37
  spec.add_development_dependency 'simplecov'
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "faraday", "~> 2.0"
5
+ gem "faraday", "~> 2.0.0"
6
6
 
7
7
  gemspec path: "../"
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'faraday'
4
+ require 'faraday_middleware/request/aws_sigv4'
4
5
 
5
6
  module FaradayMiddleware
6
- autoload :AwsSigV4, 'faraday_middleware/request/aws_sigv4'
7
- Faraday::Request.register_middleware aws_sigv4: -> { AwsSigV4 }
7
+ Faraday::Request.register_middleware aws_sigv4: FaradayMiddleware::AwsSigV4
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday_middleware-aws-sigv4
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
@@ -120,14 +120,14 @@ dependencies:
120
120
  requirements:
121
121
  - - ">="
122
122
  - !ruby/object:Gem::Version
123
- version: 1.8.0
123
+ version: 1.36.0
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: 1.8.0
130
+ version: 1.36.0
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: rubocop-rake
133
133
  requirement: !ruby/object:Gem::Requirement
@@ -200,7 +200,7 @@ dependencies:
200
200
  version: '0'
201
201
  description: Faraday middleware for AWS Signature Version 4 using aws-sigv4.
202
202
  email:
203
- - sugawara@cookpad.com
203
+ - sugawara@winebarrel.jp
204
204
  executables: []
205
205
  extensions: []
206
206
  extra_rdoc_files: []