sensu 0.13.0 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6cc2cd84a18783bc81b75a437c4b859629a16562
4
- data.tar.gz: c1da5bae0f09def538dbdf5ee05a927ad3cb18ca
3
+ metadata.gz: b97c7d173f1349f87c0770d57f03560f6ca33496
4
+ data.tar.gz: 97e6ab5a073fb228dd6607074b28fe15f9708434
5
5
  SHA512:
6
- metadata.gz: 62ead647ed65e0c20890935846b48e3dbf93847c9b3eb1fcb72b215a9933fd2270ee01a54f84b1db4d07d0cf4f811e90a1a7f40ef13676ecd6b454bcbc7f75d1
7
- data.tar.gz: a1b3c3f6b6e310c576e8c6b68b8af93a6b654ad0b7d25255d9a7fbdf6c44a2b158d6a55e0d0972b338f4d4c6c4a8d3607470174469f05339c4005ee201a38d5a
6
+ metadata.gz: 3ed616f47828abc82ec5b886257a2012ead0c74f0f175d476163825ba5f593214852f9d150a3df4d2fe05a486f3ce98bbf23f115743129d9f9c6685dbdaf5831
7
+ data.tar.gz: fb72effe5bbe18f177b1a3471cb6b06c33839b4a6820a548bbcc6debb736071e881a2afe77508fb1d7912808df1ba117723b5fd64926930bbcc9b4c70e9c97a4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.13.1 - 2014-07-28
2
+
3
+ ### Other
4
+
5
+ Fixed event occurrence count.
6
+
1
7
  ## 0.13.0 - 2014-06-12
2
8
 
3
9
  ### Non-backwards compatible changes
@@ -1,6 +1,6 @@
1
1
  module Sensu
2
2
  unless defined?(Sensu::VERSION)
3
- VERSION = '0.13.0'
3
+ VERSION = '0.13.1'
4
4
 
5
5
  SEVERITIES = %w[ok warning critical unknown]
6
6
 
data/lib/sensu/server.rb CHANGED
@@ -414,7 +414,7 @@ module Sensu
414
414
  :occurrences => 1
415
415
  }
416
416
  if check[:status] != 0 || is_flapping
417
- if previous_occurrence && check[:status] == previous_occurrence[:status]
417
+ if previous_occurrence && check[:status] == previous_occurrence[:check][:status]
418
418
  event[:occurrences] = previous_occurrence[:occurrences] + 1
419
419
  end
420
420
  event[:action] = is_flapping ? :flapping : :create
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-13 00:00:00.000000000 Z
12
+ date: 2014-07-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json