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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f73c389d65e7ecb25df2e0f22489538a28636ed0
4
- data.tar.gz: 275bf6a5377d21e766c69e9cae3776f1f3526105
3
+ metadata.gz: 12255448ae680352992b2f5adbb17ca92a6e2aeb
4
+ data.tar.gz: b5573e6a34a614354a673b64fd391a796df52b02
5
5
  SHA512:
6
- metadata.gz: c7d7e1889b37bdfcaae07b1ed52192047cff3c93ccae7d8789194778c8d329fb622c48de6c0f7f12146fae8f1133ecb01d3fbc98adbb831dd4dbda7e0d0aa522
7
- data.tar.gz: aa6a810a6a2bdf1dd78e55340493f893fc0f86bb365b4765b17ed4addfd1bf35f54e4ac4116327b141987490aa29f87a85a545967f8af63b78174e474c6fcc3d
6
+ metadata.gz: '0950409d58a38195f451b67ab36b59ebae101504416de8c16b7019a105c4ff670d2c80099666787e74b15135073b2c833246280ec1b9a7d141d096f571d73da2'
7
+ data.tar.gz: ed1c6933c8b902e2cc06b610a2545342db874078b24a1549d26e571b1ab0f352110c6c9f4697696c62188915a69913effe07ee73e34660bbf63f3b0225bc6845
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.21.2
1
+ 3.21.3
@@ -40,6 +40,6 @@ require_relative 'aws-sdk-sts/customizations'
40
40
  # @service
41
41
  module Aws::STS
42
42
 
43
- GEM_VERSION = '3.21.2'
43
+ GEM_VERSION = '3.21.3'
44
44
 
45
45
  end
@@ -1475,7 +1475,7 @@ module Aws::STS
1475
1475
  params: params,
1476
1476
  config: config)
1477
1477
  context[:gem_name] = 'aws-sdk-core'
1478
- context[:gem_version] = '3.21.2'
1478
+ context[:gem_version] = '3.21.3'
1479
1479
  Seahorse::Client::Request.new(handlers, context)
1480
1480
  end
1481
1481
 
@@ -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 << http_proxy.host
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.2
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-05-22 00:00:00.000000000 Z
11
+ date: 2018-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath