god 0.7.11 → 0.7.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.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']
@@ -34,6 +34,9 @@ module God
34
34
  end
35
35
 
36
36
  def default_run
37
+ # make sure we have STDIN/STDOUT redirected immediately
38
+ setup_logging
39
+
37
40
  # start attached pid watcher if necessary
38
41
  if @options[:attach]
39
42
  self.attach
@@ -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
 
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.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:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency