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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## 0.12.6 - 2014-02-19
2
+
3
+ ### Non-backwards compatible changes
4
+
5
+ The "profiler" extension type `Sensu::Extension::Profiler` is now "generic"
6
+ `Sensu::Extension::Generic`.
7
+
1
8
  ## 0.12.5 - 2014-01-20
2
9
 
3
10
  ### Other
@@ -1,12 +1,12 @@
1
1
  module Sensu
2
2
  unless defined?(Sensu::VERSION)
3
- VERSION = '0.12.5'
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 = [:profilers, :checks, :mutators, :handlers]
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: 37
4
+ hash: 35
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 12
9
- - 5
10
- version: 0.12.5
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-01-20 00:00:00 -08:00
19
+ date: 2014-02-19 00:00:00 -08:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency