Similar to PrettyDiff (github.com/iSabanin/pretty_diff) but for email messages. Contains a lot of hours of markup tuning to make diffs viewable in almost all known browsers.
Heavily used in Beanstalk (beanstalkapp.com) application.
gem install mail_diff
A quick example will tell it all:
udiff = File.read("awesome.diff") mail_diff = MailDiff::Diff.new(udiff) mail_diff.to_html
Wrap it with HTML, add some styles and you will get something like this:
Same as in PrettyDiff (github.com/iSabanin/pretty_diff).
Copyright © 2011 Ilya Sabanin and Eugene Fedorenko, Wildbit; see LICENSE for details.