collins-cli 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/collins/cli/log.rb +2 -1
- metadata +15 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 09ebb413b3a13f3ab2adc523ec0c433102f2a8ed
|
|
4
|
+
data.tar.gz: 82023ce98845f35fea17cc1dbd92e0189bc149c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b631cd3cdcf84859da995f35830a764ebffd4ac8de0e598c3fbbb302fe28590d1b63946c389f8404ab7734684d4441022a1dfb9ab7165639eb898b8b39bee44
|
|
7
|
+
data.tar.gz: 272acbd2aaac068d4fce93adfc4a2eade966f8d93bf4f62fd841cc8f025f15b21742f5a1001226a000d3bd028dedd4e1c2bcc0a976f214beb05b12eb49a1f23c
|
data/lib/collins/cli/log.rb
CHANGED
|
@@ -146,8 +146,9 @@ _EOE_
|
|
|
146
146
|
tag_width = sorted_logs.map{|l| l.ASSET_TAG.length}.max
|
|
147
147
|
sev_width = sorted_logs.map{|l| l.TYPE.length}.max
|
|
148
148
|
time_width = sorted_logs.map{|l| l.CREATED.length}.max
|
|
149
|
+
creator_width = sorted_logs.map{|l| l.CREATED_BY.length}.max
|
|
149
150
|
sorted_logs.each do |l|
|
|
150
|
-
puts "%-#{time_width}s: %-#{sev_width}s %-#{tag_width}s %s" % [l.CREATED, l.TYPE, l.ASSET_TAG, l.MESSAGE]
|
|
151
|
+
puts "%-#{time_width}s: %-#{creator_width}s %-#{sev_width}s %-#{tag_width}s %s" % [l.CREATED, l.CREATED_BY, l.TYPE, l.ASSET_TAG, l.MESSAGE]
|
|
151
152
|
end
|
|
152
153
|
end
|
|
153
154
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: collins-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gabe Conradi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: colorize
|
|
@@ -89,24 +89,24 @@ executables:
|
|
|
89
89
|
extensions: []
|
|
90
90
|
extra_rdoc_files: []
|
|
91
91
|
files:
|
|
92
|
-
- lib/collins/cli/
|
|
93
|
-
- lib/collins/cli/
|
|
92
|
+
- lib/collins/cli/provision.rb
|
|
93
|
+
- lib/collins/cli/power.rb
|
|
94
94
|
- lib/collins/cli/ipam.rb
|
|
95
|
-
- lib/collins/cli/log.rb
|
|
96
95
|
- lib/collins/cli/mixins.rb
|
|
96
|
+
- lib/collins/cli/find.rb
|
|
97
|
+
- lib/collins/cli/formatter.rb
|
|
97
98
|
- lib/collins/cli/modify.rb
|
|
98
|
-
- lib/collins/cli/power.rb
|
|
99
|
-
- lib/collins/cli/provision.rb
|
|
100
99
|
- lib/collins/cli/state.rb
|
|
100
|
+
- lib/collins/cli/log.rb
|
|
101
101
|
- lib/collins-cli.rb
|
|
102
102
|
- bin/collins
|
|
103
103
|
- README.md
|
|
104
|
-
- spec/
|
|
105
|
-
- spec/collins__cli__log_spec.rb
|
|
106
|
-
- spec/collins__cli__modify_spec.rb
|
|
104
|
+
- spec/spec_helper.rb
|
|
107
105
|
- spec/collins__cli__power_spec.rb
|
|
108
106
|
- spec/collins__cli__provision_spec.rb
|
|
109
|
-
- spec/
|
|
107
|
+
- spec/collins__cli__log_spec.rb
|
|
108
|
+
- spec/collins__cli__find_spec.rb
|
|
109
|
+
- spec/collins__cli__modify_spec.rb
|
|
110
110
|
homepage: http://github.com/byxorna/collins-cli
|
|
111
111
|
licenses:
|
|
112
112
|
- Apache License 2.0
|
|
@@ -132,9 +132,9 @@ signing_key:
|
|
|
132
132
|
specification_version: 4
|
|
133
133
|
summary: CLI utilities to interact with the Collins API
|
|
134
134
|
test_files:
|
|
135
|
-
- spec/
|
|
136
|
-
- spec/collins__cli__log_spec.rb
|
|
137
|
-
- spec/collins__cli__modify_spec.rb
|
|
135
|
+
- spec/spec_helper.rb
|
|
138
136
|
- spec/collins__cli__power_spec.rb
|
|
139
137
|
- spec/collins__cli__provision_spec.rb
|
|
140
|
-
- spec/
|
|
138
|
+
- spec/collins__cli__log_spec.rb
|
|
139
|
+
- spec/collins__cli__find_spec.rb
|
|
140
|
+
- spec/collins__cli__modify_spec.rb
|