bugsnag 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/VERSION +1 -1
- data/bugsnag.gemspec +2 -2
- data/lib/bugsnag/mailman.rb +5 -1
- data/lib/bugsnag/rake.rb +1 -1
- data/lib/bugsnag/sidekiq.rb +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 560790fe15fb481a9b1d65558167316b6d750726
|
4
|
+
data.tar.gz: 5c5712e8c5a2d5a077cec7bf181acb9ed51aa291
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f665d1bfa8f5b3afb5746be6f0300317ae17fc6246657f0231ff46ec8cbc170ad8bbc53a81aba171f8f212601fff7b2d1a9e3ca4a80b1c42122927b6f95a031f
|
7
|
+
data.tar.gz: 45d99adcdac49b2c37f87263a3b2aef29978065e85dffba847ab887b24c371173f67fa5d3efff64d0831f29c52ae2f4edaf1621ebbb8c1f05c13fc68f593984b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
Changelog
|
2
2
|
=========
|
3
3
|
|
4
|
+
1.6.1
|
5
|
+
-----
|
6
|
+
- Ensure sidekiq, mailman and rake hooks respect the `ignore_classes` setting
|
7
|
+
- Persist sidekiq and mailman meta-data through each job, so it can show up
|
8
|
+
in manual Bugsnag.notify calls
|
9
|
+
|
4
10
|
1.6.0
|
5
11
|
-----
|
6
12
|
- Add support for catching crashes in [mailman](https://github.com/titanous/mailman) apps
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.1
|
data/bugsnag.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "bugsnag"
|
8
|
-
s.version = "1.6.
|
8
|
+
s.version = "1.6.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 = "2013-10-
|
12
|
+
s.date = "2013-10-11"
|
13
13
|
s.description = "Ruby notifier for bugsnag.com"
|
14
14
|
s.email = "james@bugsnag.com"
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/bugsnag/mailman.rb
CHANGED
@@ -2,9 +2,13 @@ module Bugsnag
|
|
2
2
|
class Mailman
|
3
3
|
def call(mail)
|
4
4
|
begin
|
5
|
+
Bugsnag.before_notify_callbacks << lambda {|notif|
|
6
|
+
notif.add_tab(:mailman, {"message" => mail.to_s})
|
7
|
+
}
|
8
|
+
|
5
9
|
yield
|
6
10
|
rescue => ex
|
7
|
-
Bugsnag.
|
11
|
+
Bugsnag.auto_notify(ex)
|
8
12
|
raise
|
9
13
|
ensure
|
10
14
|
Bugsnag.clear_request_data
|
data/lib/bugsnag/rake.rb
CHANGED
data/lib/bugsnag/sidekiq.rb
CHANGED
@@ -2,9 +2,14 @@ module Bugsnag
|
|
2
2
|
class Sidekiq
|
3
3
|
def call(worker, msg, queue)
|
4
4
|
begin
|
5
|
+
Bugsnag.before_notify_callbacks << lambda {|notif|
|
6
|
+
notif.add_tab(:sidekiq, msg)
|
7
|
+
notif.context ||= "sidekiq##{queue}"
|
8
|
+
}
|
9
|
+
|
5
10
|
yield
|
6
11
|
rescue => ex
|
7
|
-
Bugsnag.
|
12
|
+
Bugsnag.auto_notify(ex)
|
8
13
|
raise
|
9
14
|
ensure
|
10
15
|
Bugsnag.clear_request_data
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bugsnag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|