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."

Required Ruby Version

None

Authors

Mike Dalessio

Versions

  1. 0.3.0.rc2
    1. source

      1. 0.3.0.rc2 source March 19, 2019 (111 KB)
  2. 0.3.0.rc1
    1. source

      1. 0.3.0.rc1 source October 12, 2012 (111 KB)
  3. 0.2.0
    1. source

      1. 0.2.0 source October 14, 2010 (113 KB)
  4. 0.1.0
    1. source

      1. 0.1.0 source March 09, 2010 (113 KB)

SHA 256 checksum