threaded_runner 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/threaded_runner.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae5ddcb21bb5b59293bbe3a5180f393ff9930a11
4
- data.tar.gz: f08b3ebe5c7e306b4f8d747708fbe4cdfd6db2f9
3
+ metadata.gz: 4b2cfdb190eddbbb0055c24792b5772d9d319a64
4
+ data.tar.gz: 37d75e64ce85eb48ad2a3390cd446e17b25e07a2
5
5
  SHA512:
6
- metadata.gz: 1827b34d079976e45eadc4da30a94e2c0989ea6921381efc14e72134508402ce93dd8591cc5d50a1c926e573ab155f86c7be6ec5315cebab8d28882c1d93dfee
7
- data.tar.gz: 053cbab02e19940d3d2d24e348ca55f66d6017901c603f26e872ace474b4e42bd55338ea7f0a30d44a176f45fe559a1696f45abf9a9f3d31a251da2361e06fe7
6
+ metadata.gz: 81174a49de1c5af02bd33ab08fc08d13ae26bbbf1363e7d88d263354e4e85ca2a8960d09a8656ce479848129bbd5ae9474b90f9d40716a27876af3803d417c60
7
+ data.tar.gz: 9eb5ca3470dd5c6aee19481caabacefd1eceefe74c28e4d89c37232661bba0522695193fb019f2b98e2fc0cadbc2d2b7b4c44cb594356fa38be37afe8d832964
@@ -34,7 +34,7 @@ class ThreadedRunner
34
34
  nil
35
35
  end
36
36
 
37
- def stop
38
- Process.kill("TERM", @pid)
37
+ def stop(sig="TERM")
38
+ Process.kill(sig, @pid)
39
39
  end
40
40
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: threaded_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Fairbairn