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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a5eff6a93d0a61c4c791ed86ad352637ecfc1ab
4
- data.tar.gz: a63c890d6161a0407f5f9e59007ec362885a2f3a
3
+ metadata.gz: 769b7b1a812ce52be6905c25d5456b1a48be83bd
4
+ data.tar.gz: d2a9dd864e863b008078ccde0d36e11197c1625e
5
5
  SHA512:
6
- metadata.gz: ab926998d0e31ddd64a65c2e8abf2f89b1280d11b8d32f86ab39489828f2bed0a1e3f74ac3d90ef64d3835fa9b8e33a5ca223b4b5b713cc927e7c15354b205fb
7
- data.tar.gz: 759eb092372e8661fa54e332e37288adc77c901398e6c1b61e75bad8f29ae38fece73c6fe6f47515980815152ec22928fc0b0ae53e7546a8f39780dee121193e
6
+ metadata.gz: a693b1d3b65489927e0a4243d6de9707a635ae91bdf55e28bf4b4e0939115ff049ef949d32314cc6d2d94b764e47854af95044a37d376e2b39d6499baa7c31a2
7
+ data.tar.gz: f18be9607272bf642094d866d459b2ed10f5c05aa0334c7d1781d24b949413e6e1784a712cd1dcbeea8f80042f904b6c425ab9c32978dce5b6fdd05962645591
@@ -1,4 +1,4 @@
1
- # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
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] ||= super(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
 
@@ -95,12 +95,12 @@ module AWS
95
95
  # characters not included in the list, your request will be
96
96
  # rejected.
97
97
  #
98
- # * #x9
99
- # * #xA
100
- # * #xD
101
- # * #x20 to #xD7FF
102
- # * #xE000 to #xFFFD
103
- # * #x10000 to #x10FFFF
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
  #
@@ -13,5 +13,5 @@
13
13
 
14
14
  module AWS
15
15
  # Current version of the AWS SDK for Ruby
16
- VERSION = '1.36.1'
16
+ VERSION = '1.36.2'
17
17
  end
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.1
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 00:00:00.000000000 Z
11
+ date: 2014-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uuidtools