bugsnag 6.24.0 → 6.24.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/VERSION +1 -1
- data/lib/bugsnag/integrations/resque.rb +9 -5
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f9bcfd0b8a1fa0f25ff5bb465319cb96f254f3cef1f7aaac847ecd7f624062b
|
|
4
|
+
data.tar.gz: 3eb77e9bd754fe86d185dc062b9b41d9c224d0b8901991d75f95f80c22b266f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5f463a241c45255229297447cbc047526db02c04b6cf0ea03905f46a0ba6ada617d0de2d9aeadaa17da5e944f0ddcbe6418c564071331230c50e825b801bea6
|
|
7
|
+
data.tar.gz: c27128f59737759e67c028a3984f41f6792746d27c42c7ee4c8820f3d0eda1bbef580c0dde4dbaf1ad63d4433eeeadb6c462344c58c2bcaf4deb5d5f218e54e5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
## v6.24.1 (30 November 2021)
|
|
5
|
+
|
|
6
|
+
### Fixes
|
|
7
|
+
|
|
8
|
+
* Fix metadata not being recorded when using Resque outside of Active Job
|
|
9
|
+
| [#710](https://github.com/bugsnag/bugsnag-ruby/pull/710)
|
|
10
|
+
| [isnotajoke](https://github.com/isnotajoke)
|
|
11
|
+
|
|
4
12
|
## v6.24.0 (6 October 2021)
|
|
5
13
|
|
|
6
14
|
### Enhancements
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.24.
|
|
1
|
+
6.24.1
|
|
@@ -45,13 +45,17 @@ module Bugsnag
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
metadata = payload
|
|
48
|
-
class_name =
|
|
48
|
+
class_name = metadata['class']
|
|
49
49
|
|
|
50
50
|
# when using Active Job the payload "class" will always be the Resque
|
|
51
|
-
# "JobWrapper",
|
|
52
|
-
if
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
# "JobWrapper", so we need to unwrap the actual class name
|
|
52
|
+
if class_name == "ActiveJob::QueueAdapters::ResqueAdapter::JobWrapper"
|
|
53
|
+
unwrapped_class_name = metadata['args'][0]['job_class'] rescue nil
|
|
54
|
+
|
|
55
|
+
if unwrapped_class_name
|
|
56
|
+
class_name = unwrapped_class_name
|
|
57
|
+
metadata['wrapped'] ||= unwrapped_class_name
|
|
58
|
+
end
|
|
55
59
|
end
|
|
56
60
|
|
|
57
61
|
context = "#{class_name}@#{queue}"
|
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: 6.24.
|
|
4
|
+
version: 6.24.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Smith
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: concurrent-ruby
|
|
@@ -104,7 +104,7 @@ homepage: https://github.com/bugsnag/bugsnag-ruby
|
|
|
104
104
|
licenses:
|
|
105
105
|
- MIT
|
|
106
106
|
metadata: {}
|
|
107
|
-
post_install_message:
|
|
107
|
+
post_install_message:
|
|
108
108
|
rdoc_options: []
|
|
109
109
|
require_paths:
|
|
110
110
|
- lib
|
|
@@ -119,8 +119,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
119
119
|
- !ruby/object:Gem::Version
|
|
120
120
|
version: '0'
|
|
121
121
|
requirements: []
|
|
122
|
-
rubygems_version: 3.2.
|
|
123
|
-
signing_key:
|
|
122
|
+
rubygems_version: 3.2.22
|
|
123
|
+
signing_key:
|
|
124
124
|
specification_version: 4
|
|
125
125
|
summary: Ruby notifier for bugsnag.com
|
|
126
126
|
test_files: []
|