riemann-babbler 0.9.5 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,7 +20,10 @@ module Riemann
20
20
  timeout_shell = ( plugin.interval * 2 ).to_f/3
21
21
  Timeout::timeout(timeout_shell) {
22
22
  Open3.popen3(*cmd) do |stdin, stdout, stderr, wait_thread|
23
+ err = stderr.gets(nil)
24
+ out = stdout.gets(nil)
23
25
  [stdin, stdout, stderr].each{|stream| stream.send('close')}
26
+ exit_status = wait_thread.value
24
27
  end
25
28
  }
26
29
  rescue => e
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  class Babbler
3
- VERSION = '0.9.5'
3
+ VERSION = '0.9.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-babbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -190,7 +190,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
190
190
  version: '0'
191
191
  segments:
192
192
  - 0
193
- hash: 2757420967173971732
193
+ hash: -4598339307105948207
194
194
  required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  none: false
196
196
  requirements: