awful 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awful/auto_scaling.rb +4 -5
- data/lib/awful/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: d81c9ab009082998c36c562cd979a4839fd5c026
|
4
|
+
data.tar.gz: 56fd52b017d188180165239cedd1c6a9523792f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb445c717dcc8be89323f0130d84f481ec85df7e94abab48a2c2be9bcd0efd336286bff03ef86f8bddb2659a3779f37a5f2dfc7873dfc2e27c99d9a35508a261
|
7
|
+
data.tar.gz: f013d1ba2c1029acf527694ac2b8c7cac1744b55dec2852796010697e53adb33b327cfdd9261546e4c45c65f455bfc239cf05217d5eea240505faa8c7d06bb2b
|
data/lib/awful/auto_scaling.rb
CHANGED
@@ -48,12 +48,11 @@ module Awful
|
|
48
48
|
|
49
49
|
autoscaling.describe_auto_scaling_instances.map(&:auto_scaling_instances).flatten.select do |instance|
|
50
50
|
instance.auto_scaling_group_name.match(name)
|
51
|
-
end.
|
52
|
-
|
53
|
-
|
54
|
-
print_table list
|
51
|
+
end.tap do |instances|
|
52
|
+
instances.map do |instance|
|
53
|
+
fields.map { |field| instance.send(field) }
|
54
|
+
end.tap { |list| print_table list }
|
55
55
|
end
|
56
|
-
|
57
56
|
end
|
58
57
|
|
59
58
|
desc 'ips NAME', 'list IPs for instances in groups matching NAME'
|
data/lib/awful/version.rb
CHANGED