sensu 0.12.5 → 0.12.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +7 -0
- data/lib/sensu/constants.rb +2 -2
- data/lib/sensu/server.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
data/lib/sensu/constants.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
module Sensu
|
2
2
|
unless defined?(Sensu::VERSION)
|
3
|
-
VERSION = '0.12.
|
3
|
+
VERSION = '0.12.6'
|
4
4
|
|
5
5
|
LOG_LEVELS = [:debug, :info, :warn, :error, :fatal]
|
6
6
|
|
7
7
|
SETTINGS_CATEGORIES = [:checks, :filters, :mutators, :handlers]
|
8
8
|
|
9
|
-
EXTENSION_CATEGORIES = [:
|
9
|
+
EXTENSION_CATEGORIES = [:generics, :checks, :mutators, :handlers]
|
10
10
|
|
11
11
|
SEVERITIES = %w[ok warning critical unknown]
|
12
12
|
|
data/lib/sensu/server.rb
CHANGED
@@ -175,7 +175,7 @@ module Sensu
|
|
175
175
|
end
|
176
176
|
|
177
177
|
def derive_handlers(handler_list)
|
178
|
-
handler_list.inject(Array.new) do |handlers, handler_name|
|
178
|
+
handler_list.compact.inject(Array.new) do |handlers, handler_name|
|
179
179
|
if @settings.handler_exists?(handler_name)
|
180
180
|
handler = @settings[:handlers][handler_name].merge(:name => handler_name)
|
181
181
|
if handler[:type] == 'set'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 35
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 12
|
9
|
-
-
|
10
|
-
version: 0.12.
|
9
|
+
- 6
|
10
|
+
version: 0.12.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sean Porter
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2014-
|
19
|
+
date: 2014-02-19 00:00:00 -08:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|