Changeset [3df10fffe2b6afb5b680406ff6d69d0fabf8fdc7] by Dan Kubb

September 24th, 2011 @ 02:47 AM

Refactored YAML parsing and generation

  • Objects can be round-tripped by YAML. The output format for the object is now tagged so that YAML can construct a new object from the #to_yaml output.
  • Removed lots of code and replaced with more "standard" YAML setup calls.
  • Some pending specs no longer fail with this simpler setup, so they have been uncommented. https://github.com/datamapper/dm-serializer/commit/3df10fffe2b6afb5...

Committed by Dan Kubb

  • M lib/dm-serializer/to_yaml.rb
  • M spec/lib/serialization_method_shared_spec.rb
  • M spec/public/to_yaml_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »