unicorn-directory-watcher 0.1.4 → 0.1.5

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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unicorn-directory-watcher (0.1.3)
4
+ unicorn-directory-watcher (0.1.4)
5
5
  directory_watcher (>= 1.4.0)
6
6
  eventmachine (>= 0.12)
7
7
  rev (>= 0.3.2)
@@ -59,7 +59,10 @@ module UnicornDirectoryWatcher
59
59
  # wrap this in a lambda, just to avoid repeating it
60
60
  stop = lambda { |sig|
61
61
  master_pid.call.tap do |pid|
62
- Process.kill :QUIT, pid if pid
62
+ begin
63
+ Process.kill :QUIT, pid if pid
64
+ rescue Errno::ESRCH
65
+ end
63
66
  end
64
67
  directory_watchers.each do |dw|
65
68
  dw.stop
@@ -1,3 +1,3 @@
1
1
  module UnicornDirectoryWatcher
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: unicorn-directory-watcher
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.4
5
+ version: 0.1.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brian Takita