aws-sdk-core 3.3.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a33292c010b889f05a598c3fcdf2a7f26b68b01a
4
- data.tar.gz: 1fabc331a899012d64763761e3209a2296c680fd
3
+ metadata.gz: 56ac167883f5c48ad777586059dfbb7a9006976d
4
+ data.tar.gz: b564f38f5ea370d60314adc7f43ee6c47426e7ac
5
5
  SHA512:
6
- metadata.gz: 9044ce5722b406e7237da1c6674fc3cb520590828406d0f7c4d5edd96038a3f738fd0cc891613e255514438fdb879ffaf7e06994debf95a172f38956f2e8a0dd
7
- data.tar.gz: e2a96ea30fb6a83159c15c6aae92eca3c6231f758078dab2d3c001b949fa31e095317e1e0dd802cfafb76f627b7fd8b95fe8e9ea6b4430c06985a83cda8c3421
6
+ metadata.gz: 5d1f9ab4269a526d180d15511832949ec840e6ba913784c2f0489a75eb61e373a3947a4aef10b8d380c6800b50987b85ce46b1113c373c1bbaa1a32659c0c318
7
+ data.tar.gz: 4812fa67c8d543063b65c36ec595740a2aaf0830947878691289b0ebd430b35ea14a44745867a8af5e586545957df705444634c75e710ffa686d88168576f477
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.3.0
1
+ 3.3.1
@@ -60,7 +60,7 @@ module Aws
60
60
  super
61
61
  end
62
62
 
63
- # @return [Integer] The number of times to retry failed atttempts to
63
+ # @return [Integer] The number of times to retry failed attempts to
64
64
  # fetch credentials from the instance metadata service. Defaults to 0.
65
65
  attr_reader :retries
66
66
 
@@ -51,7 +51,7 @@ module Aws
51
51
  super
52
52
  end
53
53
 
54
- # @return [Integer] The number of times to retry failed atttempts to
54
+ # @return [Integer] The number of times to retry failed attempts to
55
55
  # fetch credentials from the instance metadata service. Defaults to 0.
56
56
  attr_reader :retries
57
57
 
@@ -23,6 +23,9 @@ module Aws
23
23
 
24
24
  def deep_copy(obj)
25
25
  case obj
26
+ when nil then nil
27
+ when true then true
28
+ when false then false
26
29
  when Hash
27
30
  obj.inject({}) do |h, (k,v)|
28
31
  h[k] = deep_copy(v)
@@ -31,7 +34,13 @@ module Aws
31
34
  when Array
32
35
  obj.map { |v| deep_copy(v) }
33
36
  else
34
- v
37
+ if obj.respond_to?(:dup)
38
+ obj.dup
39
+ elsif obj.respond_to?(:clone)
40
+ obj.clone
41
+ else
42
+ obj
43
+ end
35
44
  end
36
45
  end
37
46
  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.3.0
4
+ version: 3.3.1
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: 2017-09-07 00:00:00.000000000 Z
11
+ date: 2017-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath