Sha256: f59587455780232a53dff64e47aa32bd50aa4abf9d625c5feb4c8a99226a4a89
Contents?: true
Size: 1.59 KB
Versions: 1
Compression:
Stored size: 1.59 KB
Contents
A base library for [Airbrake](http://www.airbrakeapp.com/) error reporting. Toadhopper can be used to report plain old Ruby exceptions, or to build a framework-specific gem such as [toadhopper-sinatra](http://github.com/toolmantim/toadhopper-sinatra). begin raise "Kaboom!" rescue => e require 'toadhopper' Toadhopper("YOURAPIKEY").post!(e) end You can install it via rubygems: gem install toadhopper ## Deploy tracking You can use Toadhopper to notify Airbrake of deployments: Toadhopper('YOURAPIKEY').deploy! The method accepts options to set the environment, SCM revision, etc. There is Capistrano support for deploy tracking. Simply require `toadhopper/capistrano` in your deploy config and set the variable `airbrake_api_key`: require 'toadhopper/capistrano' set :airbrake_api_key, 'YOURAPIKEY' ## Development Install Bundler 0.9.x, then: % git clone git://github.com/toolmantim/toadhopper.git % cd toadhopper % bundle install % bundle exec rake test If you set a `AIRBRAKE_API_KEY` environment variable it'll test actually posting to the Airbrake API. For example: % bundle exec rake test AIRBRAKE_API_KEY=abc123 To generate the docs: % bundle exec yardoc To build the gem: % bundle exec rake build ## Contributors * [Tim Lucas](http://github.com/toolmantim) * [Samuel Tesla](http://github.com/stesla) * [Corey Donohoe](http://github.com/atmos) * [Andre Arko](http://github.com/indirect) * [Loren Segal](http://github.com/lsegal) * [Theo Hultberg](http://github.com/iconara) * [Ben Klang](http://github.com/bklang)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
toadhopper-2.0 | README.md |