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 +4 -4
- data/VERSION +1 -1
- data/lib/aws-sdk-core/ecs_credentials.rb +1 -1
- data/lib/aws-sdk-core/instance_profile_credentials.rb +1 -1
- data/lib/aws-sdk-core/util.rb +10 -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: 56ac167883f5c48ad777586059dfbb7a9006976d
|
4
|
+
data.tar.gz: b564f38f5ea370d60314adc7f43ee6c47426e7ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d1f9ab4269a526d180d15511832949ec840e6ba913784c2f0489a75eb61e373a3947a4aef10b8d380c6800b50987b85ce46b1113c373c1bbaa1a32659c0c318
|
7
|
+
data.tar.gz: 4812fa67c8d543063b65c36ec595740a2aaf0830947878691289b0ebd430b35ea14a44745867a8af5e586545957df705444634c75e710ffa686d88168576f477
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
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
|
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
|
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
|
|
data/lib/aws-sdk-core/util.rb
CHANGED
@@ -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
|
-
|
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.
|
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-
|
11
|
+
date: 2017-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|