public
Description: A parser to turn emails sent from the Rails exception_notification plugin into a data hash
Homepage: http://github.com/davidjrice/exception_notification_parser/tree
Clone URL: git://github.com/davidjrice/exception_notification_parser.git
davidjrice (author)
Wed Mar 25 12:47:57 -0700 2009
commit  86ae638dacbc6af1656fae8e7d00088de591edc9
tree    44d2294b7a1c9434035fc1854ba33239774118e2
parent  4cc30295fa0a9ff65e8e4250711581b8aa6bd50a
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(exception_notification_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.)