aws-sdk-core 3.119.1 → 3.121.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-core/shared_config.rb +2 -1
- data/lib/aws-sdk-core/xml/parser/engines/rexml.rb +0 -8
- data/lib/aws-sdk-sso/client.rb +1 -1
- data/lib/aws-sdk-sso.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/seahorse/client/h2/connection.rb +3 -5
- data/lib/seahorse/client/h2/handler.rb +4 -5
- data/lib/seahorse/client/net_http/patches.rb +1 -88
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a82b70794aaf41f104d61eafcc8da90d7a674e22d9eb1f1593683e0c7fcad52d
|
4
|
+
data.tar.gz: 96c89c685310d6afc526646bde8a4fcc6f08fc84b822ae68b3990bf9cfa86e41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dadbe82e1aaebe95a26dc3cf1a8019d6e38d0634ce16abcfb3958127a18f2abb8ebb8583f134e949f3576789ef9e8eecbfabdd965bd04c06307f7b62ef93b7f
|
7
|
+
data.tar.gz: e25fdec19a36461f72186458b2452b4595e5b10439fbe3e5df2ecbaeae2184a2273d6e4f3d59b4a308c12697de7f1be2275326e4aa2a5e6fbebea121c22dc023
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
3.121.0 (2021-09-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for S3 Multi-region access point configuration.
|
8
|
+
|
9
|
+
3.120.0 (2021-09-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS SDK for Ruby no longer supports Ruby runtime versions 1.9, 2.0, 2.1, and 2.2.
|
13
|
+
|
4
14
|
3.119.1 (2021-08-20)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.121.0
|
@@ -1,16 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
use_system_rexml = ((RUBY_VERSION <=> "2.0.0") < 0)
|
4
|
-
if use_system_rexml
|
5
|
-
require "rbconfig"
|
6
|
-
$LOAD_PATH.unshift(RbConfig::CONFIG["rubylibdir"])
|
7
|
-
end
|
8
|
-
|
9
3
|
require 'rexml/document'
|
10
4
|
require 'rexml/streamlistener'
|
11
5
|
|
12
|
-
$LOAD_PATH.shift if use_system_rexml
|
13
|
-
|
14
6
|
module Aws
|
15
7
|
module Xml
|
16
8
|
class Parser
|
data/lib/aws-sdk-sso/client.rb
CHANGED
data/lib/aws-sdk-sso.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
@@ -2303,7 +2303,7 @@ module Aws::STS
|
|
2303
2303
|
params: params,
|
2304
2304
|
config: config)
|
2305
2305
|
context[:gem_name] = 'aws-sdk-core'
|
2306
|
-
context[:gem_version] = '3.
|
2306
|
+
context[:gem_version] = '3.121.0'
|
2307
2307
|
Seahorse::Client::Request.new(handlers, context)
|
2308
2308
|
end
|
2309
2309
|
|
data/lib/aws-sdk-sts.rb
CHANGED
@@ -12,96 +12,9 @@ module Seahorse
|
|
12
12
|
|
13
13
|
def self.apply!
|
14
14
|
return unless RUBY_VERSION < '2.5'
|
15
|
-
|
16
|
-
Net::HTTP::IDEMPOTENT_METHODS_.clear
|
17
|
-
return
|
18
|
-
end
|
19
|
-
# no further patches needed for above versions
|
20
|
-
|
21
|
-
if RUBY_VERSION >= '2.0'
|
22
|
-
Net::HTTP.send(:include, Ruby_2)
|
23
|
-
Net::HTTP::IDEMPOTENT_METHODS_.clear
|
24
|
-
elsif RUBY_VERSION >= '1.9.3'
|
25
|
-
Net::HTTP.send(:include, Ruby_1_9_3)
|
26
|
-
end
|
27
|
-
Net::HTTP.send(:alias_method, :old_transport_request, :transport_request)
|
28
|
-
Net::HTTP.send(:alias_method, :transport_request, :new_transport_request)
|
15
|
+
Net::HTTP::IDEMPOTENT_METHODS_.clear
|
29
16
|
end
|
30
17
|
|
31
|
-
module Ruby_2
|
32
|
-
def new_transport_request(req)
|
33
|
-
count = 0
|
34
|
-
begin
|
35
|
-
begin_transport req
|
36
|
-
res = catch(:response) {
|
37
|
-
req.exec @socket, @curr_http_version, edit_path(req.path)
|
38
|
-
begin
|
39
|
-
res = Net::HTTPResponse.read_new(@socket)
|
40
|
-
res.decode_content = req.decode_content
|
41
|
-
end while res.kind_of?(Net::HTTPInformation)
|
42
|
-
|
43
|
-
res.uri = req.uri
|
44
|
-
|
45
|
-
res
|
46
|
-
}
|
47
|
-
res.reading_body(@socket, req.response_body_permitted?) {
|
48
|
-
yield res if block_given?
|
49
|
-
}
|
50
|
-
rescue Net::OpenTimeout
|
51
|
-
raise
|
52
|
-
rescue Net::ReadTimeout, IOError, EOFError,
|
53
|
-
Errno::ECONNRESET, Errno::ECONNABORTED, Errno::EPIPE,
|
54
|
-
# avoid a dependency on OpenSSL
|
55
|
-
defined?(OpenSSL::SSL) ? OpenSSL::SSL::SSLError : IOError,
|
56
|
-
Timeout::Error => exception
|
57
|
-
if count == 0 && Net::HTTP::IDEMPOTENT_METHODS_.include?(req.method)
|
58
|
-
count += 1
|
59
|
-
@socket.close if @socket and not @socket.closed?
|
60
|
-
D "Conn close because of error #{exception}, and retry"
|
61
|
-
if req.body_stream
|
62
|
-
if req.body_stream.respond_to?(:rewind)
|
63
|
-
req.body_stream.rewind
|
64
|
-
else
|
65
|
-
raise
|
66
|
-
end
|
67
|
-
end
|
68
|
-
retry
|
69
|
-
end
|
70
|
-
D "Conn close because of error #{exception}"
|
71
|
-
@socket.close if @socket and not @socket.closed?
|
72
|
-
raise
|
73
|
-
end
|
74
|
-
|
75
|
-
end_transport req, res
|
76
|
-
res
|
77
|
-
rescue => exception
|
78
|
-
D "Conn close because of error #{exception}"
|
79
|
-
@socket.close if @socket and not @socket.closed?
|
80
|
-
raise exception
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
module Ruby_1_9_3
|
85
|
-
def new_transport_request(req)
|
86
|
-
begin_transport req
|
87
|
-
res = catch(:response) {
|
88
|
-
req.exec @socket, @curr_http_version, edit_path(req.path)
|
89
|
-
begin
|
90
|
-
res = Net::HTTPResponse.read_new(@socket)
|
91
|
-
end while res.kind_of?(Net::HTTPContinue)
|
92
|
-
res
|
93
|
-
}
|
94
|
-
res.reading_body(@socket, req.response_body_permitted?) {
|
95
|
-
yield res if block_given?
|
96
|
-
}
|
97
|
-
end_transport req, res
|
98
|
-
res
|
99
|
-
rescue => exception
|
100
|
-
D "Conn close because of error #{exception}"
|
101
|
-
@socket.close if @socket and not @socket.closed?
|
102
|
-
raise exception
|
103
|
-
end
|
104
|
-
end
|
105
18
|
end
|
106
19
|
end
|
107
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.121.0
|
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-
|
11
|
+
date: 2021-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|
@@ -300,7 +300,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
300
300
|
requirements:
|
301
301
|
- - ">="
|
302
302
|
- !ruby/object:Gem::Version
|
303
|
-
version: '
|
303
|
+
version: '2.3'
|
304
304
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
305
305
|
requirements:
|
306
306
|
- - ">="
|