aws-sdk-resources 2.6.23 → 2.6.24

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: 1ebfa822c6ebde26ff26ac44cc59b31018864694
4
- data.tar.gz: c598bfaa0b6cb3d49dbaed8cf6d0a859d61a8de0
3
+ metadata.gz: cf78a867b1f999bbc3d1ffd237eb6e038821ec6f
4
+ data.tar.gz: 720fbb752bcc5fc902749737c7d2a4dc7cbca755
5
5
  SHA512:
6
- metadata.gz: 85ec3687d086ec49784868899d389254443f87728a20956de6f32a9e335aaa8cf5284fd6ea336506efdcb4db2dded23b36b45c5be27b258aae9d7261a8324765
7
- data.tar.gz: d0610ae30664ba544c3f9855a20dc17e3141256d180c3b17734f537a34ef2d10fb5c1fa3f52e858760a6e18bdba6fdfe401f53dfc1dfdb33632a4371704f0320
6
+ metadata.gz: fa23e660af5f18cab40e0fb64018bde8bacb278d5bd2457568879b974c46c62b0f92b54d08831c8a7e08e8c547c5376d3c6466ab941ed359cd7e132492a04f8a
7
+ data.tar.gz: c8fcaa823aa8ffef8358454f673ee1f3730267c151fb68a78f51d9a8e38d81871369533336e6119f2bf9a1855febec09615925895c97d8f30bfde0b7bcbc5b6f
@@ -221,7 +221,7 @@ module Aws
221
221
 
222
222
  resource = options[:resource]
223
223
 
224
- params_hash = {}
224
+ params_hash = options[:args].first || {}
225
225
  @waiter_params.each do |param|
226
226
  param.apply(params_hash, options)
227
227
  end
@@ -127,8 +127,8 @@ module Aws
127
127
  end
128
128
 
129
129
  # @api private
130
- def exists?
131
- wait_until_exists { |w| w.max_attempts = 1 }
130
+ def exists?(options = {})
131
+ wait_until_exists(options) { |w| w.max_attempts = 1 }
132
132
  true
133
133
  rescue Waiters::Errors::UnexpectedError => e
134
134
  raise e.error
@@ -177,7 +177,7 @@ module Aws
177
177
  self.class.identifiers.each.with_index do |name, n|
178
178
  if args[n]
179
179
  identifiers[name] = args[n]
180
- elsif options.key?(name)
180
+ elsif options[name]
181
181
  identifiers[name] = options.delete(name)
182
182
  else
183
183
  raise ArgumentError, "missing required option #{name.inspect}"
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.6.23
4
+ version: 2.6.24
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: 2016-11-16 00:00:00.000000000 Z
11
+ date: 2016-11-17 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.6.23
19
+ version: 2.6.24
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.6.23
26
+ version: 2.6.24
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: