- Require ruby >= 2.0.0.
- Require tdiff ~> 0.4.
- Switched to using
require_relative
to improve load-times. - Added
# frozen_string_literal: true
to all files.
- {Nokogiri::XML::Node#tdiff_each_child} now sorts attributes by name, so that changes in attribute order is ignored. (thanks @bhollis)
- {Nokogiri::XML::Node#tdiff_equal} now supports
Nokogiri::XML::Comment
andNokogiri::XML::ProcessingInstruction
objects. (thanks @bhollis)
- Require tdiff ~> 0.3, >= 0.3.2.
- Added {Nokogiri::Diff::VERSION}.
- Replaced ore-tasks with rubygems-tasks.
- Require nokogiri ~> 1.5.
- Initial release:
- Performs a breadth-first comparison between children nodes.
- Compares XML/HTML Elements, Attributes, Text nodes and DTD nodes.
- Allows calculating differences between documents, or just enumerating the added or removed nodes.