knife-verschart 2.8.1 → 2.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/chef/knife/Verschart.rb +7 -7
  2. metadata +2 -2
@@ -50,12 +50,12 @@ module Verschart
50
50
  ui.info('<!DOCTYPE html>')
51
51
  ui.info('<html>')
52
52
  ui.info('<body>')
53
- ui.info('<p>Showing Versions for cs1chl001.classifiedventures.com')
53
+ ui.info("<p>Showing Versions for #{srv}")
54
54
  ui.info('</BR>')
55
55
  ui.info("Version numbers in the Latest column in <span style='color:blue'> blue</span> are frozen</BR>")
56
- ui.info("Version numbers in the <span style='color:purple'><strong>primary</strong></span> Environment(s) which are NOT frozen will be <span style='background:yellow;color:red'>red</span></BR>")
57
- ui.info("Version numbers which do not exist on the server will be in <span style='color:green'><strong>green</strong></span></BR>")
58
- ui.info("Version numbers which are different from the Latest (but do exist), will be in <span style='background:blue;color:white'>white</span></BR>")
56
+ ui.info("Version numbers in the <span style='color:purple'><strong><u>primary</u></strong></span> Environment(s) which are NOT frozen will be <span style='background:yellow;color:red'>red</span></BR>")
57
+ ui.info("Version numbers which do not exist on the server will be in <span style='background:green;color:white'>green</span> highlight</BR>")
58
+ ui.info("Version numbers which are different from the Latest (but do exist), will be in <span style='background:blue;color:white'>blue</span> highlight</BR>")
59
59
  ui.info("Requested environment order is #{envorder}</BR>") unless envorder.empty?
60
60
  ui.info('')
61
61
  else
@@ -173,7 +173,7 @@ module Verschart
173
173
  print("<tr>")
174
174
  hdrs.each do | hdr |
175
175
  if !primary.empty? && primary.include?(hdr)
176
- print "<td style='color:purple'><strong>#{hdr.ljust(charthash[hdr]['col'])}</strong></td>\n"
176
+ print "<td style='color:purple'><strong><u>#{hdr.ljust(charthash[hdr]['col'])}</u></strong></td>\n"
177
177
  else
178
178
  print "<td><strong>#{hdr.ljust(charthash[hdr]['col'])}</strong></td>\n"
179
179
  end
@@ -206,9 +206,9 @@ module Verschart
206
206
  end
207
207
  else
208
208
  if charthash[hdr][cbk]['red']
209
- print "<td style='background:yello;color:red'><strong>#{charthash[hdr][cbk]['vs'].ljust(charthash[hdr]['col'])}</strong></td>\n"
209
+ print "<td style='background:yellow;color:red'><strong>#{charthash[hdr][cbk]['vs'].ljust(charthash[hdr]['col'])}</strong></td>\n"
210
210
  elsif charthash[hdr][cbk]['yellow']
211
- print "<td style='color:green'><strong>#{charthash[hdr][cbk]['vs'].ljust(charthash[hdr]['col'])}</strong></td>\n"
211
+ print "<td style='color:white;background:green'>#{charthash[hdr][cbk]['vs'].ljust(charthash[hdr]['col'])}</td>\n"
212
212
  else
213
213
  print "<td>#{charthash[hdr][cbk]['vs'].ljust(charthash[hdr]['col'])}</td>\n"
214
214
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-verschart
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.1
4
+ version: 2.8.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-02-12 00:00:00.000000000 Z
12
+ date: 2015-03-19 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: chazzly@gmail.com