god 0.7.12 → 0.7.13
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.
- data/History.txt +4 -0
- data/Rakefile +1 -1
- data/lib/god.rb +2 -2
- metadata +2 -2
data/History.txt
CHANGED
data/Rakefile
CHANGED
data/lib/god.rb
CHANGED
@@ -148,7 +148,7 @@ class Module
|
|
148
148
|
end
|
149
149
|
|
150
150
|
module God
|
151
|
-
VERSION = '0.7.
|
151
|
+
VERSION = '0.7.13'
|
152
152
|
|
153
153
|
LOG_BUFFER_SIZE_DEFAULT = 100
|
154
154
|
PID_FILE_DIRECTORY_DEFAULTS = ['/var/run/god', '~/.god/pids']
|
@@ -420,7 +420,7 @@ module God
|
|
420
420
|
when "restart"
|
421
421
|
items.each { |w| jobs << Thread.new { w.move(:restart) } }
|
422
422
|
when "stop"
|
423
|
-
items.each { |w| jobs << Thread.new { w.
|
423
|
+
items.each { |w| jobs << Thread.new { w.action(:stop); w.unmonitor if w.state != :unmonitored } }
|
424
424
|
when "unmonitor"
|
425
425
|
items.each { |w| jobs << Thread.new { w.unmonitor if w.state != :unmonitored } }
|
426
426
|
when "remove"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: god
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-05-04 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|