litmus_paper 0.8.8 → 0.8.9

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.
@@ -49,7 +49,7 @@ module LitmusPaper
49
49
  end
50
50
 
51
51
  def perform(metric)
52
- health = metric.current_health
52
+ health = metric.current_health.ceil
53
53
 
54
54
  @value += health
55
55
  @summary << "#{metric}: #{health}\n"
@@ -23,7 +23,7 @@ module LitmusPaper
23
23
  else
24
24
  "No"
25
25
  end
26
- output += sprintf("- %-#{max_service_length}s %s %s %s\n",
26
+ output += sprintf(" %-#{max_service_length}s %s %s %s\n",
27
27
  service_name,
28
28
  reported_health.center(8).colorize(_health_color(health.value)),
29
29
  measured_health.center(8),
@@ -1,3 +1,3 @@
1
1
  module LitmusPaper
2
- VERSION = "0.8.8"
2
+ VERSION = "0.8.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: litmus_paper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.8
4
+ version: 0.8.9
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-07-01 00:00:00.000000000 Z
12
+ date: 2015-07-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra