honeybadger-io / honeybadger-ruby

Ruby gem for reporting errors to honeybadger.io
https://docs.honeybadger.io/lib/ruby/
MIT License
251 stars 145 forks source link

feat: only allow for insights to be enabled when public #642

Closed roelbondoc closed 2 weeks ago

roelbondoc commented 2 weeks ago

This means that the gem must be able to report data as well requiring the environment to not be a development_environment. This should prevent any unexpected Insights related code to run in dev or test environments.

Before submitting a pull request, please make sure the following is done:

  1. If you've fixed a bug or added code that should be tested, add tests!
  2. Run rake spec in the repository root.
  3. Use a pull request title that conforms to conventional commits.