A parser to turn emails sent from the Rails exception_notification plugin into a data hash
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
script
test
History.txt
Manifest.txt
PostInstall.txt
README.textile
Rakefile

README.textile

exception_notification_parser

The exception_notification_parser is a small Ruby gem to parse e-mail output of the Rails exception_notification plugin into a hash of data.

@data = ExceptionNotificationParser.parse(TEXT) => {…}

Todo

  • Get some good test fixtures, (output from the exception_notification plugin)
  • Write specs to test the fixtures against the expected output hash.
  • Write a good robust parser for the default (unconfigured) exception_notification plugin. (You can re-arrange sections etc. if you do a bit of editing.)