lib/resync/xml.rb in resync-0.3.4 vs lib/resync/xml.rb in resync-0.4.0

- old
+ new

@@ -57,29 +57,9 @@ arg.respond_to?(:eof?)) end private_class_method :can_parse # ------------------------------------------------------------ - # Resync::Types::Change - - # Maps +Resync::Types::Change+ values. - class ChangeNode < ::XML::MappingExtensions::EnumNodeBase - ENUM_CLASS = Resync::Types::Change - end - - ::XML::Mapping.add_node_class ChangeNode - - # ------------------------------------------------------------ - # Resync::Types::Changefreq - - # Maps +Resync::Types::ChangeFrequency+ values. - class ChangefreqNode < ::XML::MappingExtensions::EnumNodeBase - ENUM_CLASS = Resync::Types::ChangeFrequency - end - - ::XML::Mapping.add_node_class ChangefreqNode - - # ------------------------------------------------------------ # Whitespace-separated hashcode list # Maps the whitespace-separated list of hash codes in a +<rs:ln>+ # or +<rs:md>+ tag to a hash of digest values keyed by hash algorithm. # (See {Resync::Descriptor#hashes}.)