god 0.7.10 → 0.7.11
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 +1 -1
- data/lib/god/task.rb +2 -2
- metadata +2 -2
data/History.txt
CHANGED
data/Rakefile
CHANGED
data/lib/god.rb
CHANGED
data/lib/god/task.rb
CHANGED
@@ -324,7 +324,7 @@ module God
|
|
324
324
|
messages = self.log_line(self, metric, condition, result)
|
325
325
|
|
326
326
|
# notify
|
327
|
-
if
|
327
|
+
if result && condition.notify
|
328
328
|
self.notify(condition, messages.last)
|
329
329
|
end
|
330
330
|
|
@@ -372,7 +372,7 @@ module God
|
|
372
372
|
messages = self.log_line(self, metric, condition, true)
|
373
373
|
|
374
374
|
# notify
|
375
|
-
if
|
375
|
+
if result && 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.
|
4
|
+
version: 0.7.11
|
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-
|
12
|
+
date: 2008-11-14 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|