litmus_paper 0.8.7 → 0.8.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/litmus_paper/terminal_output.rb +2 -2
- data/lib/litmus_paper/version.rb +1 -1
- metadata +1 -1
@@ -9,8 +9,8 @@ module LitmusPaper
|
|
9
9
|
output += sprintf(" %s │ %s │ %s │ %s\n", "Name".ljust(max_service_length), "Health".ljust(8), "Health".ljust(8), "Forced?")
|
10
10
|
output += "─" * (max_service_length + 2) + "┴" + "─" * 10 + "┴" + "─" * 10 + "┴" + "─" * 9 + "\n"
|
11
11
|
|
12
|
-
LitmusPaper.services.each do |service_name
|
13
|
-
health =
|
12
|
+
LitmusPaper.services.keys.sort.each do |service_name|
|
13
|
+
health = LitmusPaper.services[service_name].current_health
|
14
14
|
measured_health = health.measured_health.to_s.rjust(3)
|
15
15
|
reported_health = health.value.to_s.rjust(3)
|
16
16
|
service_forced = if health.forced?
|
data/lib/litmus_paper/version.rb
CHANGED