0.0
No commit activity in last 3 years
No release in over 3 years
Eye to BugSnag notification
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

>= 1.2.10
~> 0.5
 Project Readme

Eye::Bugsnag

Gem Version

A notifier plugin for eye to send info about process crashes to BugSnag.

Installation

Add this line to your application's Gemfile:

gem 'eye'
gem 'eye-bugsnag'

And then execute:

$ bundle

Or install it yourself as:

$ gem install eye-bugsnag

Usage

BugSnag notifier takes the following parameters:

  • api_key - required
  • release_stage - optional, defaults to development, but is required to report correctly
  • notify_release_stages - optional, defaults to %w(development staging production)
  • app_type - optional, defaults to eye
  • project_root - optional

Declare inside eye config like this:

require 'eye/notify/bugsnag'

Eye.config do
  bugsnag api_key: '123yourbugsnagapikeygoeshere321', release_stage: ENV['RAILS_ENV'], notify_release_stages: %w(staging production)
  contact :devs, :bugsnag, 'whatever'
end

Refer to the example configuration file in examples directory.

Contributing

  1. Fork it ( https://github.com/duhast/eye-bugsnag/fork )
  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 a new Pull Request