god 0.7.12 → 0.7.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +4 -0
  2. data/Rakefile +1 -1
  3. data/lib/god.rb +2 -2
  4. metadata +2 -2
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.7.13 / 2009-05-04
2
+ * Bug Fixes
3
+ * Auto daemonized processes are now stopped/unmonitored correctly [github.com/jcapote]
4
+
1
5
  == 0.7.12 / 2008-12-10
2
6
  * Bug Fixes
3
7
  * Fix capistrano deployability [github.com/eric]
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'hoe'
3
3
 
4
- Hoe.new('god', '0.7.12') do |p|
4
+ Hoe.new('god', '0.7.13') do |p|
5
5
  p.rubyforge_name = 'god'
6
6
  p.author = 'Tom Preston-Werner'
7
7
  p.email = 'tom@rubyisawesome.com'
data/lib/god.rb CHANGED
@@ -148,7 +148,7 @@ class Module
148
148
  end
149
149
 
150
150
  module God
151
- VERSION = '0.7.12'
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.unmonitor.action(:stop) if w.state != :unmonitored } }
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.12
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: 2008-12-10 00:00:00 -08:00
12
+ date: 2009-05-04 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency