aws-sdk 1.14.0 → 1.14.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: 7a5bcbab894e2c7a5917e3556da76ff83027d6f1
4
- data.tar.gz: 5c6652011879ec5a0e70e0a216ff32b3972fdb4d
3
+ metadata.gz: 1f25f18c59d2ec1fa00b1612e45f6ec84f889287
4
+ data.tar.gz: 7d13e27fa052cbd5e64141a3c2e0cadd81e68662
5
5
  SHA512:
6
- metadata.gz: d142655824a621d2d7c9d8461f531ddec7dde3b288eebec926b630a4a768a133c47dd84b75c1c380e6fb6ae25b4de983a3f4a433a652e9f95522221dd81a1e1e
7
- data.tar.gz: 774204486d144d659c0a8607c4f704d5f50746706547118d12831ff6ab902e13296933ad00e71216dba04833ad30865de1a73dc1e651c2d98e237cd6f90267cf
6
+ metadata.gz: 47747ecf468d7a3c47bdf06158281d7f007b2cee6433f85928547bab4bc46665b512bc33ada381937da921e84aa1f6fb3277a5db1768f5f8935299c82341ddb9
7
+ data.tar.gz: 7bdb9115815453427145509f815f7a60ee73dc22260fd60c8380e62bf285cc58a96ae6cfc18e45ac6c96a14e5b173f6e17f74d73d439bee40766161998ae4e43
data/README.md CHANGED
@@ -17,7 +17,7 @@ dependency (aws-sdk follows [semantic versioning](http://semver.org/)):
17
17
 
18
18
  You need to provide your AWS security credentials and choose a default region.
19
19
 
20
- ```ruby
20
+ ```
21
21
  AWS.config(access_key_id: '...', secret_access_key: '...', region: 'us-west-2')
22
22
  ```
23
23
 
@@ -42,7 +42,7 @@ response data. The service interfaces provide a higher level abstration built us
42
42
 
43
43
  **Example: list instance tags using a client**
44
44
 
45
- ```ruby
45
+ ```
46
46
  resp = ec2.client.describe_tags(filters: [{ name: "resource-id", values: ["i-12345678"] }])
47
47
  resp[:tag_set].first
48
48
  #=> {:resource_id=>"i-12345678", :resource_type=>"instance", :key=>"role", :value=>"web"}
@@ -50,7 +50,7 @@ resp[:tag_set].first
50
50
 
51
51
  **Example: list instance tags using the AWS::EC2 higher level interface**
52
52
 
53
- ```ruby
53
+ ```
54
54
  ec2.instances['i-12345678'].tags.to_h
55
55
  #=> {"role"=>"web"}
56
56
  ```
@@ -19,29 +19,12 @@ module AWS
19
19
  # @api private
20
20
  class Request < Core::Http::Request
21
21
 
22
- def add_authorization! credentials
23
-
24
- self.access_key_id = credentials.access_key_id
25
-
26
- headers['x-amz-security-token'] = credentials.session_token if
27
- credentials.session_token
28
-
29
- auth = "AWS #{access_key_id}:#{signature(credentials)}"
30
- headers['authorization'] = auth
22
+ include Core::Signature::Version4
31
23
 
32
- end
33
-
34
- protected
35
-
36
- def signature credentials
37
- Core::Signer.sign(credentials.secret_access_key, string_to_sign, 'sha1')
38
- end
39
-
40
- def string_to_sign
41
- headers['date'] ||= Time.now.httpdate
24
+ def service
25
+ 'cloudfront'
42
26
  end
43
27
 
44
28
  end
45
-
46
29
  end
47
30
  end
@@ -13,5 +13,5 @@
13
13
 
14
14
  module AWS
15
15
  # Current version of the AWS SDK for Ruby
16
- VERSION = '1.14.0'
16
+ VERSION = '1.14.1'
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services