aws-sdk 1.22.0 → 1.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -6
- data/lib/aws/cloud_front/client.rb +13 -0
- data/lib/aws/core/json_parser.rb +1 -1
- data/lib/aws/s3/s3_object.rb +8 -2
- 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: e9ea345bf8449ec041e82560066adf1ce049f21f
|
4
|
+
data.tar.gz: be6af6972929ded5bdb0810b9e191b87f0ece707
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6941e32b51f5dc53b7f888c91c6e2a3d48ad352ddf43b5f5281aebbe5bdd1b35d4d691b25cc948f3cac1a34b40613f50ef1e2f8dbe6d5b9c332acc01c2b170e2
|
7
|
+
data.tar.gz: d72f47bd7f23942f9ddf8e4dec8f6fc4a1ad4952c414281cce01182fccdd17bbaca945c8447216531518d1bfbfe54ebc9a872d6f90a3ca6e6a778f4c5e2548fd
|
data/README.md
CHANGED
@@ -87,12 +87,9 @@ The SDK currently supports the following services:
|
|
87
87
|
<td>AWS CloudFormation</td>
|
88
88
|
</tr>
|
89
89
|
<tr>
|
90
|
-
<td rowspan="
|
91
|
-
<td>2013-
|
92
|
-
<td rowspan="
|
93
|
-
</tr>
|
94
|
-
<tr>
|
95
|
-
<td>2013-08-26</td>
|
90
|
+
<td rowspan="3">AWS::CloudFront</td>
|
91
|
+
<td>2013-09-27</td>
|
92
|
+
<td rowspan="3">Amazon CloudFront</td>
|
96
93
|
</tr>
|
97
94
|
<tr>
|
98
95
|
<td>AWS::CloudSearch</td>
|
@@ -23,10 +23,23 @@ module AWS
|
|
23
23
|
|
24
24
|
end
|
25
25
|
|
26
|
+
class Client::V20130512 < Client
|
27
|
+
|
28
|
+
define_client_methods('2013-05-12')
|
29
|
+
|
30
|
+
end
|
31
|
+
|
32
|
+
class Client::V20130826 < Client
|
33
|
+
|
34
|
+
define_client_methods('2013-08-26')
|
35
|
+
|
36
|
+
end
|
37
|
+
|
26
38
|
class Client::V20130927 < Client
|
27
39
|
|
28
40
|
define_client_methods('2013-09-27')
|
29
41
|
|
30
42
|
end
|
43
|
+
|
31
44
|
end
|
32
45
|
end
|
data/lib/aws/core/json_parser.rb
CHANGED
@@ -40,7 +40,7 @@ module AWS
|
|
40
40
|
# @return [Hash]
|
41
41
|
def translate values, rules = @rules
|
42
42
|
rules.inject({}) do |data,(key,rule)|
|
43
|
-
if values.key?(key)
|
43
|
+
if values.key?(key) && !values[key].nil?
|
44
44
|
data.merge(rule[:sym] || key => translate_value(values[key], rule))
|
45
45
|
else
|
46
46
|
data
|
data/lib/aws/s3/s3_object.rb
CHANGED
@@ -1185,8 +1185,14 @@ module AWS
|
|
1185
1185
|
# @option options [Boolean] :secure (true) Whether to generate a
|
1186
1186
|
# secure (HTTPS) URL or a plain HTTP url.
|
1187
1187
|
#
|
1188
|
-
# @option options [String] :content_type
|
1189
|
-
#
|
1188
|
+
# @option options [String] :content_type Object content type for
|
1189
|
+
# HTTP PUT. When provided, has to be also added to the request
|
1190
|
+
# header as a 'content-type' field
|
1191
|
+
#
|
1192
|
+
# @option options [String] :content_md5 Object MD5 hash for HTTP PUT.
|
1193
|
+
# When provided, has to be also added to the request header as a
|
1194
|
+
# 'content-md5' field
|
1195
|
+
#
|
1190
1196
|
# @option options [String] :endpoint Sets the hostname of the
|
1191
1197
|
# endpoint.
|
1192
1198
|
#
|
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.22.
|
4
|
+
version: 1.22.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: 2013-10-
|
11
|
+
date: 2013-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: uuidtools
|