aws-sdk-core 3.21.2 → 3.21.3
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/VERSION +1 -1
- data/lib/aws-sdk-sts.rb +1 -1
- data/lib/aws-sdk-sts/client.rb +1 -1
- data/lib/seahorse/client/net_http/connection_pool.rb +13 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12255448ae680352992b2f5adbb17ca92a6e2aeb
|
|
4
|
+
data.tar.gz: b5573e6a34a614354a673b64fd391a796df52b02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0950409d58a38195f451b67ab36b59ebae101504416de8c16b7019a105c4ff670d2c80099666787e74b15135073b2c833246280ec1b9a7d141d096f571d73da2'
|
|
7
|
+
data.tar.gz: ed1c6933c8b902e2cc06b610a2545342db874078b24a1549d26e571b1ab0f352110c6c9f4697696c62188915a69913effe07ee73e34660bbf63f3b0225bc6845
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.21.
|
|
1
|
+
3.21.3
|
data/lib/aws-sdk-sts.rb
CHANGED
data/lib/aws-sdk-sts/client.rb
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
require 'cgi'
|
|
1
2
|
require 'net/http'
|
|
2
3
|
require 'net/https'
|
|
3
4
|
require 'delegate'
|
|
@@ -252,6 +253,17 @@ module Seahorse
|
|
|
252
253
|
|
|
253
254
|
private
|
|
254
255
|
|
|
256
|
+
# Extract the parts of the http_proxy URI
|
|
257
|
+
# @return [Array(String)]
|
|
258
|
+
def http_proxy_parts
|
|
259
|
+
return [
|
|
260
|
+
http_proxy.host,
|
|
261
|
+
http_proxy.port,
|
|
262
|
+
(http_proxy.user && CGI::unescape(http_proxy.user)),
|
|
263
|
+
(http_proxy.password && CGI::unescape(http_proxy.password))
|
|
264
|
+
]
|
|
265
|
+
end
|
|
266
|
+
|
|
255
267
|
# Starts and returns a new HTTP(S) session.
|
|
256
268
|
# @param [String] endpoint
|
|
257
269
|
# @return [Net::HTTPSession]
|
|
@@ -262,10 +274,7 @@ module Seahorse
|
|
|
262
274
|
args = []
|
|
263
275
|
args << endpoint.host
|
|
264
276
|
args << endpoint.port
|
|
265
|
-
args
|
|
266
|
-
args << http_proxy.port
|
|
267
|
-
args << http_proxy.user
|
|
268
|
-
args << http_proxy.password
|
|
277
|
+
args += http_proxy_parts
|
|
269
278
|
|
|
270
279
|
http = ExtendedSession.new(Net::HTTP.new(*args.compact))
|
|
271
280
|
http.set_debug_output(logger) if http_wire_trace?
|
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.21.
|
|
4
|
+
version: 3.21.3
|
|
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: 2018-
|
|
11
|
+
date: 2018-06-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jmespath
|