Sha256: bb5c8b4a8c5cb7349dfde1bd555120d7748cc748b4ec159e744c3e1adc0d3fd5
Contents?: true
Size: 438 Bytes
Versions: 22
Compression:
Stored size: 438 Bytes
Contents
#!/usr/bin/env ruby require "dynport_tools/differ" require "dynport_tools/xml_file" file_a, file_b = ARGV[0,2] if file_a && File.exists?(file_a) && file_b && File.exists?(file_b) a = DynportTools::XmlFile.new(file_a) b = DynportTools::XmlFile.new(file_b) differ = DynportTools::Differ.new diff = differ.diff(a.nodes_hash, b.nodes_hash) puts differ.diff_to_message_lines(diff) else puts "USAGE: xml_diff <file> <file>" end
Version data entries
22 entries across 22 versions & 1 rubygems