what 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/lib/what/helpers.rb CHANGED
@@ -8,7 +8,10 @@ module What
8
8
  HEALTH.index(health) || HEALTH.index('alert')
9
9
  end.max
10
10
 
11
- HEALTH[worst_health]
11
+ # No news is null news.
12
+ if worst_health
13
+ HEALTH[worst_health]
14
+ end
12
15
  end
13
16
 
14
17
  # Stolen from Rails (http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html)
data/lib/what/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module What
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: what
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-11-17 00:00:00.000000000 Z
14
+ date: 2012-11-18 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rack