coderanger/raven-ruby — pull request #5 by elucid (2012-05-06 18:44:00+00:00)
Title: Don't send events to Sentry in development mode

All of the other notification gems default to not send in development mode so I think it is reasonable to follow suit.

This adds a configuration option containing a whitelist of environment names in which notifications will be sent. It defaults to `["production"]`. It also adds a configuration option for the current environment which defaults to `ENV['RACK_ENV']`.

Open to suggestions if you have issues with the implementation, but I just want to have some way configure sending based on environment.