RubyGems Navigation menu

lorax 0.2.0

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 "I am the Lorax, I speak for the trees."

          gem 'lorax', '~> 0.2.0'

          gem install lorax

Total downloads 8,961

For this version 6,871

Required Ruby Version: None



  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: