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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/collins/cli/log.rb +2 -1
  3. metadata +15 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12897f0c38b5ac5cc2e161d8dc51cb524dc157b7
4
- data.tar.gz: 05a03dd8a7af7d9ef94c57d489373a1718d3091e
3
+ metadata.gz: 09ebb413b3a13f3ab2adc523ec0c433102f2a8ed
4
+ data.tar.gz: 82023ce98845f35fea17cc1dbd92e0189bc149c7
5
5
  SHA512:
6
- metadata.gz: 03a7b7ac8a4b57557bb70a643795ba2e34d09bc8ec3c3099ac0a279eef52328915094f26aedba2b83af39d8481f4b957fdcddff5b119dc62cf2ec5dc6411b2c5
7
- data.tar.gz: 7dea12f4e7a40f324eac893baea3f12d1fa92d33043ce4175d666895d5fb4b57f3fc26692bf34d33d489145edb73c73f6a57b9e06cf51f67f19b398ade0450a2
6
+ metadata.gz: 0b631cd3cdcf84859da995f35830a764ebffd4ac8de0e598c3fbbb302fe28590d1b63946c389f8404ab7734684d4441022a1dfb9ab7165639eb898b8b39bee44
7
+ data.tar.gz: 272acbd2aaac068d4fce93adfc4a2eade966f8d93bf4f62fd841cc8f025f15b21742f5a1001226a000d3bd028dedd4e1c2bcc0a976f214beb05b12eb49a1f23c
@@ -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.6
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-01 00:00:00.000000000 Z
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/find.rb
93
- - lib/collins/cli/formatter.rb
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/collins__cli__find_spec.rb
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/spec_helper.rb
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/collins__cli__find_spec.rb
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/spec_helper.rb
138
+ - spec/collins__cli__log_spec.rb
139
+ - spec/collins__cli__find_spec.rb
140
+ - spec/collins__cli__modify_spec.rb