ec2-host 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/ec2-host.gemspec +1 -1
- data/lib/ec2/host/host_data.rb +5 -2
- 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: 39704c796daf1f299897478088023581da20e9e0
|
4
|
+
data.tar.gz: 420dc9a3c497526a6c92b5333a7aed0d63c13968
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 680a2aa0ece4db079131213fc885020972f77126589d59ab6bda67e499fad5ebd04fdae9d7f44d462996a11305cab77d6892fd7e2ce18034d9bfc1acc5c32b7d
|
7
|
+
data.tar.gz: 79a0df038b0add1222c7317eea2c4da99ee633de7d2b47af409d726121acbd13d7b074a4c8e5de74e473e9a1a66508e3d0aa4a401335283703448b9711407fc0
|
data/CHANGELOG.md
CHANGED
data/ec2-host.gemspec
CHANGED
data/lib/ec2/host/host_data.rb
CHANGED
@@ -62,8 +62,11 @@ class EC2
|
|
62
62
|
def info
|
63
63
|
if hostname and status and roles and tags and service
|
64
64
|
# special treatment for DeNA ;)
|
65
|
-
|
66
|
-
|
65
|
+
info = "#{hostname}:#{status}"
|
66
|
+
info << "(#{roles.join(' ')})" unless roles.empty?
|
67
|
+
info << "[#{tags.join(' ')}]" unless tags.empty?
|
68
|
+
info << "{#{service}}" unless service.empty?
|
69
|
+
info
|
67
70
|
else
|
68
71
|
HashUtil.except(self, :instance).to_s
|
69
72
|
end
|