aws-sdk-resources 2.0.22 → 2.0.23

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: 406e521dc5e2fa2e3036612ca85bf81dafb64838
4
- data.tar.gz: 220362ebb755c163929c895b3067a75c878284d4
3
+ metadata.gz: b9e50caacf190bf01fe889aceee9bdd96d771e64
4
+ data.tar.gz: 0df74a40f87cfa29ead5ece8a3b9590a29d77332
5
5
  SHA512:
6
- metadata.gz: 3b0215e8a68171958a3433faceb54c06ce5a455663931b710b5a2cdc39166ac93357ef41ad9675c7cf33fac39d7e4a4bb1c4597dce9df3dd90de94371e6d0fc7
7
- data.tar.gz: b22a0721824c84b24340aa4dce0b24125edd0fdbb38d2342b45a4e85d6cb44c7c10355f58a77cc133c7318e87eacda1d1eb55aea6f2cbbd60ee77fceb49648c4
6
+ metadata.gz: 81959417adfd9fd353590abe13bc62ffb80a409ea41d7d04a06b075f8d40e6809827019abe9044e1cd867396d86d4e323c705a1db61b2a2064ff8cbd9356f687
7
+ data.tar.gz: 47113349d7540db919f0d5e04942b4c6a205e24a542c59b59e1af0c97c083a2251dbb10f67a677423ed404a026ae87e3c335d9087091bc022e9fe937ac2a6ba3
@@ -214,7 +214,9 @@ module Aws
214
214
  resp = resource.client.wait_until(@waiter_name, params)
215
215
 
216
216
  resource_opts = resource.identifiers.dup
217
- resource_opts[:data] = JMESPath.search(@path, resp.data) if @path
217
+ if @path && resp.respond_to?(:data)
218
+ resource_opts[:data] = JMESPath.search(@path, resp.data)
219
+ end
218
220
  resource_opts[:client] = resource.client
219
221
  resource.class.new(resource_opts)
220
222
  end
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.0.22
4
+ version: 2.0.23
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-02-05 00:00:00.000000000 Z
11
+ date: 2015-02-10 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.0.22
19
+ version: 2.0.23
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.0.22
26
+ version: 2.0.23
27
27
  description: Provides resource-oriented abstractions for AWS.
28
28
  email:
29
29
  executables: []