aws-sdk-resources 2.1.1 → 2.1.2

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: ffacbd78780bd2f9365c9c43e80b4259ed519ff0
4
- data.tar.gz: 417735dd7f837c0b845b8ce14fa558c6433b0b7c
3
+ metadata.gz: bf7f2599af9ff05912b7f14bfcc381199f077e56
4
+ data.tar.gz: d7c7ba00a7ee69d148eb033014b4a7dfb2e9b5f9
5
5
  SHA512:
6
- metadata.gz: f323a434c73af8d1b06662727a77914cf326b62a8a257908bb0b9f7393939112f23dc88f3dd89ff3d73f341f2ff4d6997180e6d4e179d66aeb5f5d3db79ea0da
7
- data.tar.gz: fba00c6b2604aa3160b2a1d0f9042182f4dc81c3dc98c0218f183e2b790d93db00284f4c10329da0e5f3be0cec9daf952b4195f193b1977187b920e7d53e74d6
6
+ metadata.gz: e1e13fbd9d40d693ee5bf17b7a221c5a6ef657bd021cf7f66b1f57ec6a0904282e52e6abbe6c4033ae8a20916ffd8269be9c4ecc65c02e37274c01e5255f9aa1
7
+ data.tar.gz: 4a5232e06d5532da11a9470af144b3191988c6a29f11b0091a94615a748582e04e6794576eb73f0170acb71897ee4a7d0d2e69225d38296bc3a994f7b7fc360a
@@ -57,6 +57,13 @@ module Aws
57
57
  options)
58
58
  end
59
59
 
60
+ # @api private
61
+ def load
62
+ @data = client.list_buckets.buckets.find { |b| b.name == name }
63
+ raise "unable to load bucket #{name}" if @data.nil?
64
+ self
65
+ end
66
+
60
67
  private
61
68
 
62
69
  def dns_compatible?(scheme)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
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: 2015-06-18 00:00:00.000000000 Z
11
+ date: 2015-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.1
19
+ version: 2.1.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.1.1
26
+ version: 2.1.2
27
27
  description: Provides resource oriented interfaces and other higher-level abstractions
28
28
  for many AWS services. This gem is part of the official AWS SDK for Ruby.
29
29
  email:
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  requirements: []
105
105
  rubyforge_project:
106
- rubygems_version: 2.4.5
106
+ rubygems_version: 2.4.6
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: AWS SDK for Ruby - Resources