sensu-spawn 0.0.2 → 0.0.3

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: 1367981c9eac42393600336216f4b00ee04e1292
4
- data.tar.gz: 29af9195f1d59a803e35c5c591d3fbf9a904b5a5
3
+ metadata.gz: 18b40a89b4f6c6f89848acd88cd2b263df36a8b3
4
+ data.tar.gz: 7f3495ddd3ef5287e81381bb2bd92f43d5ecd0fa
5
5
  SHA512:
6
- metadata.gz: 0f99aa8ae3ac4fe7b02b0dcac9734f6a0b2791a3dc66df714e5a8a51b767ba4de2944820e26e909ea7214d9d1f80919d2448e8bc659dc40cf28b111afe3ac0ec
7
- data.tar.gz: bc37917950ddb03ad2c8c37b67a84d7d1882fc9be5e6e246567e36f0c79f7214ca6b8e2cef931d7a3490cb1e45439d90f999571592ce3b70ffb6270659348df5
6
+ metadata.gz: 5e534ca03d521c9c2b3cd9fab552f1ca13df0f6fb47346b1679c93ae7f93bb654afdc645e78a68dbe7854dc22b2c0de6d2a356099cd5016beaf708dfb6f6c709
7
+ data.tar.gz: db5a087384ca248144dede44d7da4c01cec3a1c1ec1bb0af385102a7843d2b74a3fe62cc06e96254599c9ac90804bf1690df5678f223e65738af25cc87feb089
data/lib/sensu/spawn.rb CHANGED
@@ -90,10 +90,10 @@ module Sensu
90
90
  output = read_until_eof(reader)
91
91
  [output, child.exit_code]
92
92
  rescue ChildProcess::TimeoutError
93
- child.stop
93
+ child.stop rescue nil
94
94
  ["Execution timed out", 2]
95
95
  rescue => error
96
- child.stop
96
+ child.stop rescue nil
97
97
  ["Unexpected error: #{error}", 3]
98
98
  end
99
99
  end
data/sensu-spawn.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-spawn"
5
- spec.version = "0.0.2"
5
+ spec.version = "0.0.3"
6
6
  spec.authors = ["Sean Porter"]
7
7
  spec.email = ["portertech@gmail.com"]
8
8
  spec.summary = "The Sensu spawn process library"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-spawn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter