/bugsnag-ruby-ext

Extension of Bugsnag Ruby Client

Primary LanguageRubyMIT LicenseMIT

bugsnag-ext

Gem Version Dependency Status Build Status Coverage Status Code Climate

Useful extensions of Bugsnag.

Installation

Add this line to your application's Gemfile:

gem 'bugsnag-ext'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bugsnag-ext

Usage

Bugsnag::Ext::ResqueRetry

class SomeResqueJob
  include Bugsnag::Ext::ResqueRetry
end

Bugsnag::Ext::Faraday

conn = Faraday.new(url: "https://github.com/") do |faraday|
  faraday.use FaradayMiddleware::Bugsnag # Need to set before :raise_error
  faraday.response :raise_error
end

conn.get("/foo")

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2015 Daisuke Taniwaki. See LICENSE for details.