DiffPlex is a diffing library that allows you to programatically create text diffs. DiffPlex is a fast and tested library which is used by CodePlex to provide its source code diffing functionality.
Matthew Manela
gem "diffplex", "~> 1.1.0.0.2"