childprocess 0.5.8 → 0.5.9

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: f3cf7906972e05679093e02b363f940964347f57
4
- data.tar.gz: 658287edee6d651bd5c3665a1287c4f938e36568
3
+ metadata.gz: 6a01a1e0a06d2a6a7f18c576a48d11aa4bd78437
4
+ data.tar.gz: 4ad6d15fa3e38aa45d244533a617abb87af294d0
5
5
  SHA512:
6
- metadata.gz: f85f4b04104a232b824600f2306464e1a363b6042a689ee24e8e8132f72602f6abd5c730f6a2c725c7a02ea19c9789dd61ba63f706f788cb563026dd405294fb
7
- data.tar.gz: 15f4ae23bc62cc8bb9f6d7576d44482f6159822365f34c2cc85bea990546ac921da2d497b12c81fd643e2499a898ecaaedc5058e7adc87bd66200a72028b9115
6
+ metadata.gz: 67274313c2d786c42f637b597048138b5f9a0739779bb751c41ea14a1299e255310eff32abb75c93e022a4db785d2fb2368f11db9992d627b761f12364078b08
7
+ data.tar.gz: 4eda72acc23b6b4fefe76d6be567f8b2a7c047eca9e4cf967bc3a03d64b1f749edc65c0266e91a3f8eb19bf0c255b9bcc8d25b9fc19838d4af07ec8874b83d86
@@ -1,3 +1,3 @@
1
1
  module ChildProcess
2
- VERSION = "0.5.8"
2
+ VERSION = "0.5.9"
3
3
  end
@@ -18,6 +18,8 @@ if ChildProcess.unix? && !ChildProcess.jruby? && !ChildProcess.posix_spawn?
18
18
  expect { process.stop }.not_to raise_error
19
19
 
20
20
  allow(process).to receive(:alive?).and_return(false)
21
+
22
+ process.send(:send_signal, 'TERM')
21
23
  end
22
24
 
23
25
  it "handles ESRCH race condition where process dies between timeout and KILL" do
@@ -32,6 +34,8 @@ if ChildProcess.unix? && !ChildProcess.jruby? && !ChildProcess.posix_spawn?
32
34
  expect { process.stop }.not_to raise_error
33
35
 
34
36
  allow(process).to receive(:alive?).and_return(false)
37
+
38
+ process.send(:send_signal, 'TERM')
35
39
  end
36
40
  end
37
41
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: childprocess
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jari Bakken
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-13 00:00:00.000000000 Z
11
+ date: 2016-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec