aws-sdk 1.36.1 → 1.36.2
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/lib/aws/api_config/RDS-2013-09-09.yml +1 -4
- data/lib/aws/core/http/connection_pool.rb +11 -1
- data/lib/aws/core/http/net_http_handler.rb +2 -2
- data/lib/aws/sqs/queue.rb +6 -6
- data/lib/aws/version.rb +1 -1
- 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: 769b7b1a812ce52be6905c25d5456b1a48be83bd
|
4
|
+
data.tar.gz: d2a9dd864e863b008078ccde0d36e11197c1625e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a693b1d3b65489927e0a4243d6de9707a635ae91bdf55e28bf4b4e0939115ff049ef949d32314cc6d2d94b764e47854af95044a37d376e2b39d6499baa7c31a2
|
7
|
+
data.tar.gz: f18be9607272bf642094d866d459b2ed10f5c05aa0334c7d1781d24b949413e6e1784a712cd1dcbeea8f80042f904b6c425ab9c32978dce5b6fdd05962645591
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2011-
|
1
|
+
# Copyright 2011-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
2
2
|
#
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
4
4
|
# may not use this file except in compliance with the License. A copy of
|
@@ -66,9 +66,6 @@
|
|
66
66
|
- :name: AuthorizeDBSecurityGroupIngress
|
67
67
|
:method: :authorize_db_security_group_ingress
|
68
68
|
:inputs:
|
69
|
-
DBSecurityGroupName:
|
70
|
-
- :string
|
71
|
-
- :required
|
72
69
|
CIDRIP:
|
73
70
|
- :string
|
74
71
|
EC2SecurityGroupName:
|
@@ -228,10 +228,20 @@ module AWS
|
|
228
228
|
def new options = {}
|
229
229
|
options = pool_options(options)
|
230
230
|
@pools_mutex.synchronize do
|
231
|
-
@pools[options] ||=
|
231
|
+
@pools[options] ||= build(options)
|
232
232
|
end
|
233
233
|
end
|
234
234
|
|
235
|
+
# Constructs and returns a new connection pool. This pool is never
|
236
|
+
# shared.
|
237
|
+
# @option (see new)
|
238
|
+
# @return [ConnectionPool]
|
239
|
+
def build(options = {})
|
240
|
+
pool = allocate
|
241
|
+
pool.send(:initialize, pool_options(options))
|
242
|
+
pool
|
243
|
+
end
|
244
|
+
|
235
245
|
# @return [Array<ConnectionPool>] Returns a list of of the constructed
|
236
246
|
# connection pools.
|
237
247
|
def pools
|
@@ -24,7 +24,7 @@ module AWS
|
|
24
24
|
class NetHttpHandler
|
25
25
|
|
26
26
|
class TruncatedBodyError < IOError; end
|
27
|
-
|
27
|
+
|
28
28
|
# @api private
|
29
29
|
NETWORK_ERRORS = [
|
30
30
|
SocketError, EOFError, IOError, Timeout::Error,
|
@@ -34,7 +34,7 @@ module AWS
|
|
34
34
|
|
35
35
|
# (see ConnectionPool.new)
|
36
36
|
def initialize options = {}
|
37
|
-
@pool = ConnectionPool.new(options)
|
37
|
+
@pool = options[:connection_pool] || ConnectionPool.new(options)
|
38
38
|
@verify_content_length = options[:verify_response_body_content_length]
|
39
39
|
end
|
40
40
|
|
data/lib/aws/sqs/queue.rb
CHANGED
@@ -95,12 +95,12 @@ module AWS
|
|
95
95
|
# characters not included in the list, your request will be
|
96
96
|
# rejected.
|
97
97
|
#
|
98
|
-
# *
|
99
|
-
# *
|
100
|
-
# *
|
101
|
-
# *
|
102
|
-
# *
|
103
|
-
# *
|
98
|
+
# * `#x9`
|
99
|
+
# * `#xA`
|
100
|
+
# * `#xD`
|
101
|
+
# * `#x20` to `#xD7FF`
|
102
|
+
# * `#xE000` to `#xFFFD`
|
103
|
+
# * `#x10000` to `#x10FFFF`
|
104
104
|
#
|
105
105
|
# @param [Hash] options
|
106
106
|
#
|
data/lib/aws/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.36.
|
4
|
+
version: 1.36.2
|
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: 2014-03-
|
11
|
+
date: 2014-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: uuidtools
|