Sha256: b61f608c06fae4f6f1c616a86b37da0511c0a5a29b3a284a51c1410ce913744e

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

# HockeyBrake

An extension for the amazing airbrake gem which routes crash reports to HockeyApp

## Installation 

Add this to your Gemfile
```ruby
gem 'airbrake'
gem 'hockeybrake'
```

Execute the following command for your Rails app
```shell
rails g hockeybrake
```

## Configuration

### General

Update hockeybrake.rb in config/initializers, at least the following settings needs to be changed

```ruby
  # the bundle id
  config.app_bundle_id= "###YOUR BUNDLE IDENTIFIER FROM HOCKEYAPP###"

  # The application ID in hockey app
  config.app_id="###YOUR APP SECRET###"
```

### Resque Failures

Resque comes with out of the box support for Airbrake. This gem is compatible with this support and it is well configured by default when the resque gem becomes part of your app. This behavious can be changed through configuration if needed. Just add the following to your configuration:

```ruby
  # Support for resque exception handling is enabled by default. Wit this
  # settings the resque support will be disabled. If no resque gem is installed
  # it will be disabled automatically
  config.no_resque_handler = true
``` 

## Contributing
 
* Fork the project
* Fix the issue
* Create pull request on github

## More Information

* Check out the HockeyApp documentation for custom crash reports: http://support.hockeyapp.net/kb/api/api-post-custom-crashes

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hockeybrake-0.0.5 README.md