stalk-boss 0.1.13 → 0.1.14

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/stalk_boss.rb +4 -2
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.13
1
+ 0.1.14
data/lib/stalk_boss.rb CHANGED
@@ -88,11 +88,13 @@ module StalkBoss
88
88
  def send_signal(sig)
89
89
  stalk_jobs.each do |s|
90
90
  s.pids.each do |pid|
91
- Process.kill sig, pid
92
- Process.detach pid
91
+ begin
92
+ Process.kill sig, pid
93
+ Process.detach pid
93
94
  rescue Errno::ESRCH, Errno::ENOENT
94
95
  # do nothing, we don't care if were missing a pid that we're
95
96
  # trying to murder already
97
+ end
96
98
  end
97
99
  end
98
100
  stalk_jobs = []
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 13
9
- version: 0.1.13
8
+ - 14
9
+ version: 0.1.14
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ryan Dew