babysitter 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,7 +50,7 @@ module Babysitter
50
50
  lines.concat(exception.backtrace) if exception.backtrace
51
51
 
52
52
  lines.each { |line| logger.error(line) }
53
- Babysitter.exception_notifiers.each { |notifier| notifier.notify(exception.to_s, lines.join("\n")) }
53
+ Babysitter.exception_notifiers.each { |notifier| notifier.notify(exception.class.name, lines.join("\n")) }
54
54
  end
55
55
  end
56
56
 
@@ -1,3 +1,3 @@
1
1
  module Babysitter
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
@@ -193,7 +193,7 @@ module Babysitter
193
193
  message = [expected_message].concat(backtrace).join("\n")
194
194
 
195
195
  Babysitter.exception_notifiers.each do |exception_notifier|
196
- exception_notifier.should_receive(:notify).with(error_message, message)
196
+ exception_notifier.should_receive(:notify).with('RuntimeError', message)
197
197
  end
198
198
 
199
199
  begin
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: babysitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-02-06 00:00:00.000000000 Z
15
+ date: 2013-02-11 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: fozzie
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 1.8.24
150
+ rubygems_version: 1.8.25
151
151
  signing_key:
152
152
  specification_version: 3
153
153
  summary: Babysits long-running processes and reports progress or failures