eric-god 0.7.11 → 0.7.12

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 CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.7.12 / 2008-12-10
2
+ * Bug Fixes
3
+ * Fix capistrano deployability [github.com/eric]
4
+ * Fix event handling [brianw]
5
+
1
6
  == 0.7.11 / 2008-11-14
2
7
  * Bug Fixes
3
8
  * Make notifications work inside lifecycle blocks
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'hoe'
3
3
 
4
- Hoe.new('god', '0.7.11') do |p|
4
+ Hoe.new('god', '0.7.12') 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/process.rb CHANGED
@@ -187,7 +187,7 @@ module God
187
187
  def call_action(action)
188
188
  command = send(action)
189
189
 
190
- if action == :stop && command.nil?
190
+ if action == :stop && (command.nil? || command == :default)
191
191
  pid = self.pid
192
192
  name = self.name
193
193
  command = lambda do
data/lib/god/task.rb CHANGED
@@ -372,7 +372,7 @@ module God
372
372
  messages = self.log_line(self, metric, condition, true)
373
373
 
374
374
  # notify
375
- if result && condition.notify
375
+ if condition.notify
376
376
  self.notify(condition, messages.last)
377
377
  end
378
378
 
data/lib/god.rb CHANGED
@@ -148,7 +148,7 @@ class Module
148
148
  end
149
149
 
150
150
  module God
151
- VERSION = '0.7.11'
151
+ VERSION = '0.7.12'
152
152
 
153
153
  LOG_BUFFER_SIZE_DEFAULT = 100
154
154
  PID_FILE_DIRECTORY_DEFAULTS = ['/var/run/god', '~/.god/pids']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eric-god
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.11
4
+ version: 0.7.12
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-11-14 00:00:00 -08:00
12
+ date: 2008-12-10 00:00:00 -08:00
13
13
  default_executable: god
14
14
  dependencies: []
15
15