bugsnag 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/README.md +3 -1
- data/VERSION +1 -1
- data/bugsnag.gemspec +2 -2
- data/lib/bugsnag/rake.rb +2 -2
- metadata +3 -3
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -503,7 +503,9 @@ function, for example:
|
|
503
503
|
EventMachine::run do
|
504
504
|
server = EventMachine::start_server('0.0.0.0', PORT, MyServer)
|
505
505
|
server.errback {
|
506
|
-
|
506
|
+
EM.defer do
|
507
|
+
Bugsnag.notify(RuntimeError.new("Something bad happened"))
|
508
|
+
end
|
507
509
|
}
|
508
510
|
end
|
509
511
|
```
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.1
|
data/bugsnag.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{bugsnag}
|
8
|
-
s.version = "1.5.
|
8
|
+
s.version = "1.5.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["James Smith"]
|
12
|
-
s.date = %q{2013-08-
|
12
|
+
s.date = %q{2013-08-27}
|
13
13
|
s.description = %q{Ruby notifier for bugsnag.com}
|
14
14
|
s.email = %q{james@bugsnag.com}
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/bugsnag/rake.rb
CHANGED
@@ -13,7 +13,7 @@ module Bugsnag::Rake
|
|
13
13
|
|
14
14
|
module ClassMethods
|
15
15
|
def bugsnag_define_task(*args, &block)
|
16
|
-
task = self.original_define_task *args do
|
16
|
+
task = self.original_define_task *args do |*block_args|
|
17
17
|
begin
|
18
18
|
Bugsnag.before_notify_callbacks << lambda {|notif|
|
19
19
|
notif.add_tab(:rake_task, {
|
@@ -24,7 +24,7 @@ module Bugsnag::Rake
|
|
24
24
|
notif.context ||= task.name
|
25
25
|
}
|
26
26
|
|
27
|
-
yield if block_given?
|
27
|
+
yield(*block_args) if block_given?
|
28
28
|
rescue Exception => e
|
29
29
|
Bugsnag.notify(e)
|
30
30
|
raise
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 1.5.
|
8
|
+
- 1
|
9
|
+
version: 1.5.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- James Smith
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2013-08-
|
17
|
+
date: 2013-08-27 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|