<commit_before>= HoptoadNotifier

This is the notifier gem for integrating apps with Hoptoad.

When an uncaught exception occurs, HoptoadNotifier will POST the relevant data
to the Hoptoad server specified in your environment.

== Help

* {IRC}[irc://irc.freenode.net/thoughtbot]
* {mailing list}[http://groups.google.com/group/hoptoad-notifier-dev]

== Rails Installation

=== Remove exception_notifier

in your ApplicationController, REMOVE this line:

  include ExceptionNotifiable

In your config/environment* files, remove all references to ExceptionNotifier

Remove the vendor/plugins/exception_notifier directory.

=== Remove hoptoad_notifier plugin

Remove the vendor/plugins/hoptoad_notifier directory before installing the gem, or run:

  script/plugin remove hoptoad_notifier

=== Rails 2.x

Add the hoptoad_notifier gem to your app. In config/environment.rb:

  config.gem 'hoptoad_notifier'

Then from your project's RAILS_ROOT, run:

  rake gems:install
  script/generate hoptoad --api-key your_key_here

Once installed, you should vendor the hoptoad_notifier gem.

  rake gems:unpack GEM=hoptoad_notifier

As always, if you choose not to vendor the hoptoad_notifier gem, make sure
every server you deploy to has the gem installed or your application won't start.

=== Rails 1.2.6

Install the hoptoad_notifier gem:

  gem install hoptoad_notifier

Once installed, you should vendor the hoptoad_notifier gem:

  mkdir vendor/gems
  cd vendor/gems
  gem unpack hoptoad_notifier

And then add the following to the Rails::Initializer.run do |config|
block in environment.rb so that the vendored gem is loaded.

  # Add the vendor/gems/*/lib directories to the LOAD_PATH
  config.load_paths += Dir.glob(File.join(RAILS_ROOT, 'vendor', 'gems', '*', 'lib'))

Next add something like this at the bottom of your config/environment.rb:

  require 'hoptoad_notifier'<commit_msg>revise gem unpack instructions step<commit_after>= HoptoadNotifier

This is the notifier gem for integrating apps with Hoptoad.

When an uncaught exception occurs, HoptoadNotifier will POST the relevant data
to the Hoptoad server specified in your environment.

== Help

* {IRC}[irc://irc.freenode.net/thoughtbot]
* {mailing list}[http://groups.google.com/group/hoptoad-notifier-dev]

== Rails Installation

=== Remove exception_notifier

in your ApplicationController, REMOVE this line:

  include ExceptionNotifiable

In your config/environment* files, remove all references to ExceptionNotifier

Remove the vendor/plugins/exception_notifier directory.

=== Remove hoptoad_notifier plugin

Remove the vendor/plugins/hoptoad_notifier directory before installing the gem, or run:

  script/plugin remove hoptoad_notifier

=== Rails 2.x

Add the hoptoad_notifier gem to your app. In config/environment.rb:

  config.gem 'hoptoad_notifier'

Then from your project's RAILS_ROOT, run:

  rake gems:install
  rake gems:unpack GEM=hoptoad_notifier
  script/generate hoptoad --api-key your_key_here

As always, if you choose not to vendor the hoptoad_notifier gem, make sure
every server you deploy to has the gem installed or your application won't start.

=== Rails 1.2.6

Install the hoptoad_notifier gem:

  gem install hoptoad_notifier

Once installed, you should vendor the hoptoad_notifier gem:

  mkdir vendor/gems
  cd vendor/gems
  gem unpack hoptoad_notifier

And then add the following to the Rails::Initializer.run do |config|
block in environment.rb so that the vendored gem is loaded.

  # Add the vendor/gems/*/lib directories to the LOAD_PATH
  config.load_paths += Dir.glob(File.join(RAILS_ROOT, 'vendor', 'gems', '*', 'lib'))

Next add something like this at the bottom of your config/environment.rb:

  require 'hoptoad_notifier'
{'fraction_non_alphanumeric': 0.06981740064446831, 'fraction_numerical': 0.0021482277121374865, 'mean_word_length': 4.838557993730408, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2516614', 'n_tokens_mistral': 1169, 'n_tokens_neox': 1098, 'n_words': 411}