capistrano-ec2_role_tag 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/capistrano/ec2_role_tag/aws_ec2_loader.rb +8 -2
- data/lib/capistrano/ec2_role_tag/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: 241bca275072fc6863dfeee8c56e818761ecf164
|
4
|
+
data.tar.gz: 839ac440fe9b8b82810e7c7a7bba6a547338f4de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 436d1f969070c47012683aea36c0f95896870fe497a8246d3b180fcd03ab433f16a04545962b2b58577b3fa1940e95f69942e54460540952dd7ed323f2e5cc0d
|
7
|
+
data.tar.gz: 8a3843d20befe68d171fe28bde56835a11ca48f0220f37ed8d0de103db3cec16318f01b3c37fb091143ded089ae863803de997c9ee09678587fe970294e8cd8d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
## [In git](https://github.com/heosuax/capistrano-ec2_role_tag/compare/v0.0.2...HEAD)
|
2
2
|
|
3
|
+
## [v0.1.0](https://github.com/heosuax/capistrano-ec2_role_tag/tree/v0.1.4)
|
4
|
+
|
5
|
+
* Fix bug get all reservations
|
6
|
+
* Fix aws key query
|
7
|
+
|
3
8
|
## [v0.1.0](https://github.com/heosuax/capistrano-ec2_role_tag/tree/v0.1.0)
|
4
9
|
|
5
10
|
### New Features
|
@@ -18,8 +18,14 @@ module Capistrano
|
|
18
18
|
{name: "instance-state-name", values: ["running"]}
|
19
19
|
]})
|
20
20
|
return [] if apps.reservations.empty?
|
21
|
-
|
22
|
-
|
21
|
+
|
22
|
+
result = []
|
23
|
+
apps.reservations.each do |reservation|
|
24
|
+
next if reservation.instances.empty?
|
25
|
+
result += reservation.instances.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.1.
|
4
|
+
version: 0.1.4
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|