Introducing Rexle-diff Version 0.5.0
require 'rexle-diff'
xml = '
<ul>
<li>apple</li>
<li>orange</li>
<li>grapes
<color>red</color>
</li>
</ul>
'
xml2 = '
<ul>
<li>apple</li>
<li>orange and lime</li>
<li>grapes
<color>green</color>
</li>
<li>bananas</li>
</ul>
'
puts RexleDiff.new(xml, xml2).to_doc.xml pretty: true
Output:
- apple
- orange and lime
- grapes green
- bananas
rexlediff gem modified