sensu-spawn 2.4.1 → 2.5.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '0190883c38ea9aa46bd59f64bd1d1032102a6ca3'
4
- data.tar.gz: 641e17a3aca91946a031344867293f8b5a2db48f
3
+ metadata.gz: '0869875a91093962f0befbb461c68793cc8b06b0'
4
+ data.tar.gz: a3aa6950efc47c5f9e1e47b4b801707c64a91f8d
5
5
  SHA512:
6
- metadata.gz: e8c2f0c43eb92557d240e5bf5b0182ecda27bb4ae0323de11ecb92622e97cc5512eacaf6012e33e8621e069ae92c27b9ef19466b104745cc741d5c756fcfcd3b
7
- data.tar.gz: f665ab1eab07c3c55a0d8acf0b282dace428c3911c8d3990446b28169ae65aace19f7a46768a3ec16171a008194aaf294fd245906bac35f1ce12cf30a5d5fd9a
6
+ metadata.gz: 40c51d3916fe6172be0dcb08d423376b825a0f309b2ed48bd940cd9f6b7374223d63c3e45ababae884092bb8b0ed658eb3bb9b03268bf09c77c56c16bf545f58
7
+ data.tar.gz: '08d76333888b78af7391958df368e34ecfe268909442139f33df002807e3c82ee14caa7d2fdb65076bd9fc936b881d82ad11ad0654c8eec64021654d4d5ded9e'
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,2 @@
1
- &h���b��j,�v[�U�Kw�x$��ߢ���)�}` 諡F����.7��G5⾁��N��t�\L�}.>��3a���+��&�G�)���+ZdW�/�Ӵ��9�o��2!�b��˭`�?h8LN�FiT-��s�����Ӻ���s����#�pK�� ��r����F����sE�U��>g�8�Z�.����NE�Y�N�/���xz�{z�Z:�v=�[�j>*Z��R���sG��K�nZwߤ� =�Ù�ҹ� 7�K
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�����
@@ -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.0...HEAD)
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
 
@@ -163,8 +163,14 @@ module Sensu
163
163
  end
164
164
  [output, child.exit_code]
165
165
  rescue ChildProcess::TimeoutError
166
- child.stop rescue nil
167
- ["Execution timed out", 2]
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]
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-spawn"
5
- spec.version = "2.4.1"
5
+ spec.version = "2.5.0"
6
6
  spec.authors = ["Sean Porter"]
7
7
  spec.email = ["portertech@gmail.com", "engineering@sensu.io"]
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: 2.4.1
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-18 00:00:00.000000000 Z
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