gaptool-client 0.6.16 → 0.6.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/gaptool-client.rb +7 -5
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e01b0226f6f7427180444151fee2f3acbd387a2
4
- data.tar.gz: 54954efa74261d238d35fdccf78e17682fafddc5
3
+ metadata.gz: b158a9481e0c6fd7990fd637e24af6e48e051f0c
4
+ data.tar.gz: 5e64280bde40df111f34855453730820a09ed180
5
5
  SHA512:
6
- metadata.gz: 5e0180e32470e826a282e6e615be43ad067c6f9953716d91a86d45158bc8d55c2e37d7f00e88d4a5223b262954a53e687a22b70ca7f1cd7a4379ee08ea0ecf55
7
- data.tar.gz: dfebc691cc7c39e72ff1cbb1a9f06d320a76db99c4884c91f1af538b98301eacf42ec40fb98541a8625ee49a634e644861bd101310c16f1ab4d6923ac113d698
6
+ metadata.gz: d7f41bb09bef79340681cf86fee310ca37a46421087ce9a3de71addad32ca6da956a7e23b7dcb4860158c3b65fd08d62970f79dad93e47be983a127c6215ee34
7
+ data.tar.gz: 2f5a9f48d329fae7cf5e1939ff8a8ee7487326cf5794bfb169497a06e0726659903a4f210473ce8435a296da65a3c05bd6f0aaf3639267b7f3010745c80d8f9b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.16
1
+ 0.6.17
@@ -12,19 +12,21 @@ def infohelper(nodes, parseable, grepable)
12
12
  puts nodes.to_json
13
13
  else
14
14
  nodes.each do |node|
15
- @host = "#{node['role']}:#{node['environment']}:#{node['instance']}"
15
+ host = "#{node['role']}:#{node['environment']}:#{node['instance']}"
16
16
  unless grepable
17
- puts Rainbow(@host).green
17
+ puts Rainbow(host).green
18
18
  end
19
19
  keys = node.keys.sort
20
20
  keys.each do |key|
21
+ value = node[key]
21
22
  if grepable
22
- puts "#{@host}|#{key}|#{node[key]}"
23
+ puts "#{host}|#{key}|#{value}"
23
24
  else
25
+ value = Time.at(node[key].to_i) if key == 'launch_time'
24
26
  unless key == keys.last
25
- puts " ┠ #{Rainbow(key).cyan}: #{node[key]}"
27
+ puts " ┠ #{Rainbow(key).cyan}: #{value}"
26
28
  else
27
- puts " ┖ #{Rainbow(key).cyan}: #{node[key]}\n\n"
29
+ puts " ┖ #{Rainbow(key).cyan}: #{value}\n\n"
28
30
  end
29
31
  end
30
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gaptool-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.16
4
+ version: 0.6.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Laurita
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-01-26 00:00:00.000000000 Z
13
+ date: 2015-02-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  version: '0'
227
227
  requirements: []
228
228
  rubyforge_project: gaptool-client
229
- rubygems_version: 2.4.3
229
+ rubygems_version: 2.2.2
230
230
  signing_key:
231
231
  specification_version: 4
232
232
  summary: client for gaptool-server