awspec 0.21.1 → 0.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/awspec/type/network_acl.rb +3 -3
- data/lib/awspec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cde04b9af6397716c07ab8b9923bc41d5022be8d
|
|
4
|
+
data.tar.gz: 3d7c616f0c991175aa6dd4ec319cb2c5c6feb246
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
11
|
+
next true if a.subnet_id == subnet_id
|
|
12
12
|
subnet = find_subnet(subnet_id)
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
next false unless subnet
|
|
14
|
+
next a.subnet_id == subnet[:subnet_id]
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
|
data/lib/awspec/version.rb
CHANGED