capistrano-ec2_role_tag 0.0.4 → 0.0.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81dfdf6c725196bb1be1e49acf1bf8f083926b5e
|
4
|
+
data.tar.gz: 96b2d2232b3cd9df6ae7c553c4ea3811a3f6b3b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dd79fc390e21b72c3badf676c40190bda5912e77a006ef554bca790f0158d9843dd84bb496c21efa4156ed941bc20860154e842ab53b630d07dc59a8b90ad9b
|
7
|
+
data.tar.gz: 3bdbc0470ec737b1de31902f247151dc74eb14405a36c29b745daca290887f873d01a1eccd4c0efd98e1b8dd5ec600fe409d342888a087d1cdd3e700f5d29c99
|
@@ -18,8 +18,14 @@ module Capistrano
|
|
18
18
|
{name: "instance-state-name", values: ["running"]}
|
19
19
|
]})
|
20
20
|
return [] if apps.reservation_set.empty?
|
21
|
-
|
22
|
-
|
21
|
+
|
22
|
+
result = []
|
23
|
+
apps.reservation_set.each do |reservation|
|
24
|
+
next if reservation.instances_set.empty?
|
25
|
+
result += reservation.instances_set.map {|instance| instance.private_dns_name }
|
26
|
+
end
|
27
|
+
|
28
|
+
return result
|
23
29
|
end
|
24
30
|
end
|
25
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-ec2_role_tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- An Vo Nguyen Thien
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|