awspec 0.82.2 → 0.82.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awspec/helper/finder/ec2.rb +10 -0
- data/lib/awspec/stub/vpn_connection.rb +5 -1
- data/lib/awspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51d07fb005a53885d56ce715120e6dc1bd3dc11a
|
4
|
+
data.tar.gz: 5055bf986407ca826b518a51cf41ceb12d9f90bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e57f7a1c5009f3909034d332f845d46c6039e5dba5b8cc6c9fade7e5c761efa9185ddd3be61cc274692da053841b2aa561e622de935cc743ee5f94b759983c51
|
7
|
+
data.tar.gz: 8a5ff8aa85678320fffc58facb58ce569c70ce553bb53bf3078ea4eb3741a81f71ad7fc33e3b7fa1c4e193bf8fecad7c4364de7cfc62cde244de3ba307c82270
|
@@ -62,6 +62,16 @@ module Awspec::Helper
|
|
62
62
|
}
|
63
63
|
]
|
64
64
|
})
|
65
|
+
resource = res.vpn_connections.single_resource(vpn_connection_id)
|
66
|
+
return resource if resource
|
67
|
+
res = ec2_client.describe_vpn_connections({
|
68
|
+
filters: [
|
69
|
+
{
|
70
|
+
name: 'tag:Name',
|
71
|
+
values: [vpn_connection_id]
|
72
|
+
}
|
73
|
+
]
|
74
|
+
})
|
65
75
|
res.vpn_connections.single_resource(vpn_connection_id)
|
66
76
|
end
|
67
77
|
|
data/lib/awspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.82.
|
4
|
+
version: 0.82.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- k1LoW
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|