airbrake 7.0.1 → 7.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb7c6831673d8b0239a5f5b6d9c6dcfc1798ce9b
4
- data.tar.gz: f508c4345c20fbd850accded58035e4a02de29fa
3
+ metadata.gz: 99707ff742bc0ecac88e0992740782eddc09a2bc
4
+ data.tar.gz: c952a5e20fb0bd1b1abd5e2544610bee936aa71a
5
5
  SHA512:
6
- metadata.gz: 6faa642ee659089ba7f433ded33c7017906f2e9f4621db2cfa74fe22b4bb16afe835caffd6244875ee1621a81aaeeec26e9e4fac39562147474bda2a7f56d070
7
- data.tar.gz: 954279296b7e08367a7af2e6c3018cd39aa798db2eabe9d0a8cb3033e815ae97f4d71693205754bd94d9be362ae3384086c8d7648cd33dbe99ffb9fc3484a6d2
6
+ metadata.gz: a24474e108a07418b5b4643ab843bda77620cb9ecbc96778381f63d0723f06f1b092dfbb76e749e28924a970402bd7b5a7ab1674e33b45b87f62b403b95a4e00
7
+ data.tar.gz: a5f37d85fedf35ff96d0482ea4ef5101b7244320c69e15dabcd89118dfd08f469ba25ead47b07736f858ec03444a9a8d3f33dac28766d00fe4d056b449b2de7a
@@ -26,7 +26,7 @@ module Airbrake
26
26
  # job_class. When used directly, use worker's name
27
27
  def action(context)
28
28
  klass = context['class'] || context[:job] && context[:job]['class']
29
- return klass unless context[:job] && context[:job]['args'].first
29
+ return klass unless context[:job] && context[:job]['args'].first.is_a?(Hash)
30
30
  return klass unless (job_class = context[:job]['args'].first['job_class'])
31
31
  job_class
32
32
  end
@@ -2,5 +2,5 @@
2
2
  # We use Semantic Versioning v2.0.0
3
3
  # More information: http://semver.org/
4
4
  module Airbrake
5
- AIRBRAKE_VERSION = '7.0.1'.freeze
5
+ AIRBRAKE_VERSION = '7.0.2'.freeze
6
6
  end
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.0.1
4
+ version: 7.0.2
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: 2017-09-26 00:00:00.000000000 Z
11
+ date: 2017-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: airbrake-ruby