childprocess 0.5.8 → 0.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/childprocess/version.rb +1 -1
- data/spec/unix_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a01a1e0a06d2a6a7f18c576a48d11aa4bd78437
|
4
|
+
data.tar.gz: 4ad6d15fa3e38aa45d244533a617abb87af294d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67274313c2d786c42f637b597048138b5f9a0739779bb751c41ea14a1299e255310eff32abb75c93e022a4db785d2fb2368f11db9992d627b761f12364078b08
|
7
|
+
data.tar.gz: 4eda72acc23b6b4fefe76d6be567f8b2a7c047eca9e4cf967bc3a03d64b1f749edc65c0266e91a3f8eb19bf0c255b9bcc8d25b9fc19838d4af07ec8874b83d86
|
data/lib/childprocess/version.rb
CHANGED
data/spec/unix_spec.rb
CHANGED
@@ -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.
|
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:
|
11
|
+
date: 2016-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|