RubyGems.org

lorax

0.3.0.rc1

The Lorax is a full diff and patch library for XML/HTML documents, based on Nokogiri. It can tell you whether two XML/HTML documents are identical, or if they're not, tell you what's different. In trivial cases, it can even apply the patch. It's based loosely on Gregory Cobena's master's thesis paper, which generates deltas in less than O(n * log n) time, accepting some tradeoffs in the size of the delta set. You can find his paper at http://gregory.cobena.free.fr/www/Publications/thesis.html. "I am the Lorax, I speak for the trees."

installgem install lorax --pre
Authors

Mike Dalessio

8,649 total downloads 217 for this version
Owners

Bd6e7860b5a891bff077aeaeb5434e60

Gemfile
gem 'lorax', '~> 0.3.0.rc1'
Versions
  1. 0.3.0.rc1 October 12, 2012 (111 KB)
  2. 0.2.0 October 14, 2010 (113 KB)
  3. 0.1.0 March 9, 2010 (113 KB)
Runtime Dependencies
  1. nokogiri >= 1.4