sensu 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/sensu/server.rb +1 -1
  2. data/sensu.gemspec +1 -1
  3. metadata +1 -1
data/lib/sensu/server.rb CHANGED
@@ -110,7 +110,7 @@ module Sensu
110
110
  @redis.hdel('events:' + client['name'], check['name'])
111
111
  event['action'] = 'resolve'
112
112
  handle_event(event)
113
- else
113
+ elsif check['status'] > 0
114
114
  occurrences = 1
115
115
  if previous_event && check['status'] == previous_event['status']
116
116
  occurrences = previous_event['occurrences'] += 1
data/sensu.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sensu"
3
- s.version = "0.5.6"
3
+ s.version = "0.5.7"
4
4
  s.authors = ["Sean Porter", "Justin Kolberg"]
5
5
  s.email = ["sean.porter@sonian.net", "justin.kolberg@sonian.net"]
6
6
  s.homepage = "https://github.com/sonian/sensu"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sensu
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.6
5
+ version: 0.5.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sean Porter