aws-sigv4 1.10.1 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sigv4/asymmetric_credentials.rb +0 -2
- data/lib/aws-sigv4/request.rb +3 -3
- data/lib/aws-sigv4/signer.rb +2 -2
- metadata +4 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f65828f524fd8437e342204ac5a7ae1deff92dfcfae2affbd636ceef0a1cb4d
|
4
|
+
data.tar.gz: 260bf03de93d779a544226ef512e958a3a6256bb189918be7a63c5c4bf58395f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 456725f9d6b39c36030e321854d1ef6361e504fb0af829fd95427cbf9762aba52be46f178f32db3ba332598b525ac9bbb287a19ade98b23892ff2d7613e3aca4
|
7
|
+
data.tar.gz: 80301bb28c264d5a73984e7b1ec3423b26daca0451996f47a21219d1d8dd615889c701678b9551cf3f724a6a6ab59c623fe71a89b62c9f54ff9dc38b849e058d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.12.0 (2025-06-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS SDK for Ruby no longer supports Ruby runtime versions 2.5 and 2.6.
|
8
|
+
|
9
|
+
1.11.0 (2025-01-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add RBS signature files to support static type checking
|
13
|
+
|
4
14
|
1.10.1 (2024-10-21)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.0
|
@@ -11,8 +11,6 @@ module Aws
|
|
11
11
|
|
12
12
|
N_MINUS_2 = 0xFFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551 - 2
|
13
13
|
|
14
|
-
# @param [String] :access_key_id
|
15
|
-
# @param [String] :secret_access_key
|
16
14
|
# @return [OpenSSL::PKey::EC, Hash]
|
17
15
|
def self.derive_asymmetric_key(access_key_id, secret_access_key)
|
18
16
|
check_openssl_support!
|
data/lib/aws-sigv4/request.rb
CHANGED
@@ -7,7 +7,7 @@ module Aws
|
|
7
7
|
class Request
|
8
8
|
|
9
9
|
# @option options [required, String] :http_method
|
10
|
-
# @option options [required,
|
10
|
+
# @option options [required, String, URI::HTTP, URI::HTTPS] :endpoint
|
11
11
|
# @option options [Hash<String,String>] :headers ({})
|
12
12
|
# @option options [String, IO] :body ('')
|
13
13
|
def initialize(options = {})
|
@@ -30,12 +30,12 @@ module Aws
|
|
30
30
|
@http_method
|
31
31
|
end
|
32
32
|
|
33
|
-
# @param [String, HTTP
|
33
|
+
# @param [String, URI::HTTP, URI::HTTPS] endpoint
|
34
34
|
def endpoint=(endpoint)
|
35
35
|
@endpoint = URI.parse(endpoint.to_s)
|
36
36
|
end
|
37
37
|
|
38
|
-
# @return [HTTP
|
38
|
+
# @return [URI::HTTP, URI::HTTPS]
|
39
39
|
def endpoint
|
40
40
|
@endpoint
|
41
41
|
end
|
data/lib/aws-sigv4/signer.rb
CHANGED
@@ -205,7 +205,7 @@ module Aws
|
|
205
205
|
# @option request [required, String] :http_method One of
|
206
206
|
# 'GET', 'HEAD', 'PUT', 'POST', 'PATCH', or 'DELETE'
|
207
207
|
#
|
208
|
-
# @option request [required, String, URI::
|
208
|
+
# @option request [required, String, URI::HTTP, URI::HTTPS] :url
|
209
209
|
# The request URI. Must be a valid HTTP or HTTPS URI.
|
210
210
|
#
|
211
211
|
# @option request [optional, Hash] :headers ({}) A hash of headers
|
@@ -383,7 +383,7 @@ module Aws
|
|
383
383
|
# @option options [required, String] :http_method The HTTP request method,
|
384
384
|
# e.g. 'GET', 'HEAD', 'PUT', 'POST', 'PATCH', or 'DELETE'.
|
385
385
|
#
|
386
|
-
# @option options [required, String,
|
386
|
+
# @option options [required, String, URI::HTTP, URI::HTTPS] :url
|
387
387
|
# The URI to sign.
|
388
388
|
#
|
389
389
|
# @option options [Hash] :headers ({}) Headers that should
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sigv4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: aws-eventstream
|
@@ -32,7 +31,6 @@ dependencies:
|
|
32
31
|
version: 1.0.2
|
33
32
|
description: Amazon Web Services Signature Version 4 signing library. Generates sigv4
|
34
33
|
signature for HTTP requests.
|
35
|
-
email:
|
36
34
|
executables: []
|
37
35
|
extensions: []
|
38
36
|
extra_rdoc_files: []
|
@@ -53,7 +51,6 @@ licenses:
|
|
53
51
|
metadata:
|
54
52
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sigv4
|
55
53
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sigv4/CHANGELOG.md
|
56
|
-
post_install_message:
|
57
54
|
rdoc_options: []
|
58
55
|
require_paths:
|
59
56
|
- lib
|
@@ -61,15 +58,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
61
58
|
requirements:
|
62
59
|
- - ">="
|
63
60
|
- !ruby/object:Gem::Version
|
64
|
-
version: '2.
|
61
|
+
version: '2.7'
|
65
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
63
|
requirements:
|
67
64
|
- - ">="
|
68
65
|
- !ruby/object:Gem::Version
|
69
66
|
version: '0'
|
70
67
|
requirements: []
|
71
|
-
rubygems_version: 3.
|
72
|
-
signing_key:
|
68
|
+
rubygems_version: 3.6.7
|
73
69
|
specification_version: 4
|
74
70
|
summary: AWS Signature Version 4 library.
|
75
71
|
test_files: []
|