sensu-spawn 2.4.1 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -1
- data/CHANGELOG.md +8 -1
- data/lib/sensu/spawn.rb +8 -2
- data/sensu-spawn.gemspec +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz: '
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0869875a91093962f0befbb461c68793cc8b06b0'
|
4
|
+
data.tar.gz: a3aa6950efc47c5f9e1e47b4b801707c64a91f8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40c51d3916fe6172be0dcb08d423376b825a0f309b2ed48bd940cd9f6b7374223d63c3e45ababae884092bb8b0ed658eb3bb9b03268bf09c77c56c16bf545f58
|
7
|
+
data.tar.gz: '08d76333888b78af7391958df368e34ecfe268909442139f33df002807e3c82ee14caa7d2fdb65076bd9fc936b881d82ad11ad0654c8eec64021654d4d5ded9e'
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
/�b���J�N��D����?�-��/�����]��k
|
2
|
+
`�^�����(��y�]���@���=֡�E�Ζ��wD1�f�a����������Գ=��J��(���㳜ÊE�j��-��#%Qs���=2iNb=fL��WJ>����kZ�B�Ts�|�Ѐ�'^0F���7���ba��j�ѽCm��2�}��F�q�T���l$)�V�D���8�4Q����bkq�&�>ܓ8��ߦ���H�Qӭn�����
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,14 @@
|
|
2
2
|
|
3
3
|
## [Unreleased](https://github.com/sensu/sensu-spawn/tree/HEAD)
|
4
4
|
|
5
|
-
[Full Changelog](https://github.com/sensu/sensu-spawn/compare/v2.4.
|
5
|
+
[Full Changelog](https://github.com/sensu/sensu-spawn/compare/v2.4.1...HEAD)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Include stop error message in timeout output [\#25](https://github.com/sensu/sensu-spawn/pull/25) ([portertech](https://github.com/portertech))
|
10
|
+
|
11
|
+
## [v2.4.1](https://github.com/sensu/sensu-spawn/tree/v2.4.1) (2018-04-18)
|
12
|
+
[Full Changelog](https://github.com/sensu/sensu-spawn/compare/v2.4.0...v2.4.1)
|
6
13
|
|
7
14
|
**Merged pull requests:**
|
8
15
|
|
data/lib/sensu/spawn.rb
CHANGED
@@ -163,8 +163,14 @@ module Sensu
|
|
163
163
|
end
|
164
164
|
[output, child.exit_code]
|
165
165
|
rescue ChildProcess::TimeoutError
|
166
|
-
|
167
|
-
|
166
|
+
output = "Execution timed out"
|
167
|
+
begin
|
168
|
+
child.stop
|
169
|
+
rescue => error
|
170
|
+
pid = child.pid rescue "?"
|
171
|
+
output += " - Unable to TERM/KILL the process: ##{pid}, #{error}"
|
172
|
+
end
|
173
|
+
[output, 2]
|
168
174
|
rescue => error
|
169
175
|
child.stop rescue nil
|
170
176
|
["Unexpected error: #{error}", 3]
|
data/sensu-spawn.gemspec
CHANGED
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: 2.
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Porter
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
jOeGyhtQa9j4FFmsEJDg59f5v/3hECXsa3Xuml3foaFHzX3Ya/YIyd2YFxvkFKIu
|
31
31
|
GVbe7A3YdxzdkH2Es/Ym9twdxXaIDdXzj8sWhw==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2018-04-
|
33
|
+
date: 2018-04-19 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: eventmachine
|
metadata.gz.sig
CHANGED
Binary file
|