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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89dd3c0f25056ae02d560df172164e16efaf0e7f
4
- data.tar.gz: 342b94b3bc898162142280423e1ba80e44aa4e3c
3
+ metadata.gz: e9ea345bf8449ec041e82560066adf1ce049f21f
4
+ data.tar.gz: be6af6972929ded5bdb0810b9e191b87f0ece707
5
5
  SHA512:
6
- metadata.gz: 8d7d18f7e15f4143b37f72babc020df7b68d34e5bb6f12ad6f2f9e13890b5cdb9c9ef07554096475f541754d6c7ecaae98c6cf137fd7f32d2eb41ce53f796f0e
7
- data.tar.gz: 501de6cecb65fd1ae436fd47ce9dae636ec78279505a8e10489088d51d0fedd61f45b6e42328041d43089429a253cfe422101cf3c98bbc8c29cbfafe68754a4a
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="2">AWS::CloudFront</td>
91
- <td>2013-05-12</td>
92
- <td rowspan="2">Amazon CloudFront</td>
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
@@ -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
@@ -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
- # @option options [String] :content_md5
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
  #
@@ -13,5 +13,5 @@
13
13
 
14
14
  module AWS
15
15
  # Current version of the AWS SDK for Ruby
16
- VERSION = '1.22.0'
16
+ VERSION = '1.22.1'
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.22.0
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-18 00:00:00.000000000 Z
11
+ date: 2013-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uuidtools