airbrake 7.3.2 → 7.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/airbrake/resque.rb +6 -4
- data/lib/airbrake/version.rb +1 -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: b725f58fb8bcbe584bcb48667958d69b6d624d3c
|
4
|
+
data.tar.gz: 51e95705e618dcdb841c8d7a2715e34add84aa64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e62eb59355112c63942617ff37aad78f29b03ef28ddb734f9669432478d681b4e5ffe9694a2bb30e740055851cd3ee73c2f48a7da0d8696194efdd3125a822ed
|
7
|
+
data.tar.gz: cec780dee54d1fda0746110b27e45f88ce841fdb8bbc89d04b45d57e65527d92ccafe0c6cebe05257616df538cf3474ad9bec91ee703744f1d0b1f27a7e6fbda
|
data/lib/airbrake/resque.rb
CHANGED
@@ -17,10 +17,12 @@ module Resque
|
|
17
17
|
# @return [String] job's name. When ActiveJob is present, retrieve
|
18
18
|
# job_class. When used directly, use worker's name
|
19
19
|
def action(payload)
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
active_job_args = payload['args'].first if payload['args']
|
21
|
+
if active_job_args.is_a?(Hash) && active_job_args['job_class']
|
22
|
+
active_job_args['job_class']
|
23
|
+
else
|
24
|
+
payload['class'].to_s
|
25
|
+
end
|
24
26
|
end
|
25
27
|
end
|
26
28
|
end
|
data/lib/airbrake/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.3.
|
4
|
+
version: 7.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airbrake Technologies, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: airbrake-ruby
|