awspec 0.21.1 → 0.21.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: 5c9f3e3a3edd6f2424f5f985141cfb2ec99538c6
4
- data.tar.gz: dae208a05ff1a892ea3f9d9125fa1f0cac27724e
3
+ metadata.gz: cde04b9af6397716c07ab8b9923bc41d5022be8d
4
+ data.tar.gz: 3d7c616f0c991175aa6dd4ec319cb2c5c6feb246
5
5
  SHA512:
6
- metadata.gz: d270c80afaa399cfc3e08896362dbec6ebd9abf40cbd3d83f5564fe0f5f797f894e94e5a82ebceab48b18fec2c94e1f11c73bf36f25a01be83c8a202320a1a54
7
- data.tar.gz: 0fd835eb7a3f3d9a0105d077aa6ad73ee8b455efb9671f9ea931e9f947ac9819bb0de69b9371f7c77dda7bf87492d1102d80ee306cf18c8ac667aaa03cfdaddc
6
+ metadata.gz: 45b01ee950eba95c6a21fdda034430514122d5f0c8ed93f6ffaf590a0c2ef8c9f341648dd2233e92f30f46f0401bef2a144e4d4182e2cf32f95b67eadac4b3bd
7
+ data.tar.gz: 46815428b3c35b2b75e9d135d2b226f0f862e97a82db1021977c1a0d2900aedb34b1c1dd9b30073b5fc243c36f8e9af21f16438299d72c05a0d895b8f6bd900b
@@ -8,10 +8,10 @@ module Awspec::Type
8
8
 
9
9
  def has_subnet?(subnet_id)
10
10
  @resource.associations.find do |a|
11
- return true if a.subnet_id == subnet_id
11
+ next true if a.subnet_id == subnet_id
12
12
  subnet = find_subnet(subnet_id)
13
- return false unless subnet
14
- return a.subnet_id == subnet[:subnet_id]
13
+ next false unless subnet
14
+ next a.subnet_id == subnet[:subnet_id]
15
15
  end
16
16
  end
17
17
 
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '0.21.1'
2
+ VERSION = '0.21.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.1
4
+ version: 0.21.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW