Skip to content

Commit

Permalink
Merge branch 'manojmj92-master' into delayed-job-rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Nov 6, 2018
2 parents 9ddae20 + 980fd8e commit 84269f2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,35 +26,40 @@ jobs:
- BUNDLE_VERSION=1.12.0
- GEMSETS=test
- stage: test
rvm: 2.0.0
rvm: 2.0
env:
- BUNDLE_VERSION=1.12.0
- GEMSETS=test
- stage: test
rvm: 2.1.
rvm: 2.1
env:
- BUNDLE_VERSION=1.12.0
- GEMSETS=test
- stage: test
env:
- BUNDLE_VERSION=1.12.0
- GEMSETS="test sidekiq"
rvm: 2.2.4
rvm: 2.2
- stage: test
env:
- BUNDLE_VERSION=1.12.0
- GEMSETS="test sidekiq coverage"
rvm: 2.3.0
- GEMSETS="test sidekiq"
rvm: 2.3
- stage: test
env:
- BUNDLE_VERSION=1.12.0
- GEMSETS="test sidekiq"
rvm: 2.4.1
rvm: 2.4
- stage: test
env:
- BUNDLE_VERSION=1.12.0
- GEMSETS="test sidekiq coverage"
rvm: 2.5
- stage: test
env:
- BUNDLE_VERSION=1.12.0
- GEMSETS="test rubocop"
rvm: 2.4.1
rvm: 2.5
script: bundle exec ./bin/rubocop lib/
# - stage: test
# addons:
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Bugsnag exception reporter for Ruby
[![build status](https://travis-ci.org/bugsnag/bugsnag-ruby.svg?branch=master)](https://travis-ci.org/bugsnag/bugsnag-ruby)
![Gem Version](https://badge.fury.io/rb/bugsnag.svg)
[![SemVer](https://api.dependabot.com/badges/compatibility_score?dependency-name=bugsnag&package-manager=bundler&version-scheme=semver)](https://dependabot.com/compatibility-score.html?dependency-name=bugsnag&package-manager=bundler&version-scheme=semver)



The Bugsnag exception reporter for Ruby gives you instant notification of exceptions thrown from your **[Rails](https://www.bugsnag.com/platforms/rails)**, **Sinatra**, **Rack** or **plain Ruby** app. Any uncaught exceptions will trigger a notification to be sent to your Bugsnag project.
Expand Down
2 changes: 2 additions & 0 deletions lib/bugsnag/middleware/delayed_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def construct_job_payload(payload)
data[:args] = payload.args
elsif payload.respond_to?(:to_h)
data[:args] = payload.to_h
elsif payload.respond_to?(:instance_values)
data[:args] = payload.instance_values
end

if payload.is_a?(::Delayed::PerformableMethod) && (object = payload.object)
Expand Down

0 comments on commit 84269f2

Please sign in to comment.