sensu 0.6.5-x86-mingw32 → 0.6.6-x86-mingw32

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.rb +1 -1
  2. data/lib/sensu/server.rb +1 -1
  3. metadata +2 -2
data/lib/sensu.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sensu
2
- VERSION = "0.6.5"
2
+ VERSION = "0.6.6"
3
3
  end
data/lib/sensu/server.rb CHANGED
@@ -64,7 +64,7 @@ module Sensu
64
64
  handler = proc do
65
65
  output = ''
66
66
  IO.popen(@settings['handlers'][event['check']['handler']] + ' 2>&1', 'r+') do |io|
67
- io.write(JSON.pretty_generate(event))
67
+ io.write(event.to_json)
68
68
  io.close_write
69
69
  output = io.read
70
70
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sensu
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.5
5
+ version: 0.6.6
6
6
  platform: x86-mingw32
7
7
  authors:
8
8
  - Sean Porter
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-09-28 00:00:00 Z
14
+ date: 2011-09-30 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: eventmachine