aws-sigv4 1.2.3 → 1.2.4

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: 65b8cfd5c60936d735ff8c93c2a5bc2f9fd41ec04b8fd02ea06edb9651c31b68
4
- data.tar.gz: a2282ff6cf885ce1e27601583fe9f27d749a717a0ee48052e179f514f9a04120
3
+ metadata.gz: 9e0fc072d8221d8d004b09d7ceac68f26d3b91d42fcee9e53372e816ba5a1920
4
+ data.tar.gz: e0bd2e0c241be2c37d768f15b3d1cdecd74ddb2783ef570858949e4de0fd0fbc
5
5
  SHA512:
6
- metadata.gz: 1c29b03446f7a0f1050bfe89c5c12582b20a5f715410c5a9b74d8f66d12644ef48abfca2c58ec9c574dd274714fe2a01c86528a1482b08ff74ff939bce1962a5
7
- data.tar.gz: 61af0af13a977d6338fd982c7436744f4162d47593ce8d6dc170476a163fe330f55fea5fb34c880c6c58ba4bfb878bd8b73ec019f8834744e66d17f57800261c
6
+ metadata.gz: a51ab68529670a8648fd62ea1b72f2bacc8c0c2e43dc46cb1b87e0a7fc1609630f14aad6a440c9ce6e9610ae733300a752f034a3d90cb7042e78e28715617a12
7
+ data.tar.gz: 37023bc487a2b7249518a04fecffb286a6370e11ddb5d820fdffac7fa08210a01dd7b77c7d1e335594f01b8347951372b40231c16c41da36b98d1293a6ed4f21
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.2.4 (2021-07-08)
5
+ ------------------
6
+
7
+ * Issue - Fix usage of `:uri_escape_path` and `:apply_checksum_header` in `Signer`.
8
+
4
9
  1.2.3 (2021-03-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.3
1
+ 1.2.4
@@ -127,7 +127,7 @@ module Aws
127
127
  @unsigned_headers << 'x-amzn-trace-id'
128
128
  @unsigned_headers << 'expect'
129
129
  [:uri_escape_path, :apply_checksum_header].each do |opt|
130
- instance_variable_set("@#{opt}", options.key?(opt) ? !!options[:opt] : true)
130
+ instance_variable_set("@#{opt}", options.key?(opt) ? !!options[opt] : true)
131
131
  end
132
132
  end
133
133
 
@@ -391,8 +391,8 @@ module Aws
391
391
  params['X-Amz-Credential'] = credential(creds, date)
392
392
  params['X-Amz-Date'] = datetime
393
393
  params['X-Amz-Expires'] = extract_expires_in(options)
394
- params['X-Amz-SignedHeaders'] = signed_headers(headers)
395
394
  params['X-Amz-Security-Token'] = creds.session_token if creds.session_token
395
+ params['X-Amz-SignedHeaders'] = signed_headers(headers)
396
396
 
397
397
  params = params.map do |key, value|
398
398
  "#{uri_escape(key)}=#{uri_escape(value)}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sigv4
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-04 00:00:00.000000000 Z
11
+ date: 2021-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-eventstream
@@ -50,8 +50,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
50
50
  licenses:
51
51
  - Apache-2.0
52
52
  metadata:
53
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sigv4
54
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sigv4/CHANGELOG.md
53
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sigv4
54
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sigv4/CHANGELOG.md
55
55
  post_install_message:
56
56
  rdoc_options: []
57
57
  require_paths:
@@ -67,8 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  requirements: []
70
- rubyforge_project:
71
- rubygems_version: 2.7.6.2
70
+ rubygems_version: 3.1.6
72
71
  signing_key:
73
72
  specification_version: 4
74
73
  summary: AWS Signature Version 4 library.