Adds optional msgpack serialization format to Rabl. #69

Merged
merged 1 commit into from Sep 2, 2011

Projects

None yet

2 participants

@byu
byu commented Jul 19, 2011

Details

  • Fixes #68 (nesquena/rabl issues tracker)
  • Message Pack: http://www.msgpack.org/
  • Defaults to using the Ruby msgpack gem: http://rubygems.org/gems/msgpack
  • Adds Rabl configuration option include_msgpack_root which has same semantics as include_json_root.
  • Adds Rabl configuration option msgpack_engine which has similar semantics as json_engine.
  • Adds whole test suite that is essentially a clone of engine_test.rb, but with proper msgpack expected values.
    Note that I converted the JSON expected values to their msgpack equivalent in this process.
  • Updated README.md to reflect the msgpack changes.
@byu byu Adds optional msgpack serialization format to Rabl.
Details
* Fixes #68 (nesquena/rabl issues tracker)
* Message Pack: http://www.msgpack.org/
* Defaults to using the Ruby msgpack gem: http://rubygems.org/gems/msgpack
* Adds Rabl configuration option `include_msgpack_root` which has same semantics as include_json_root.
* Adds Rabl configuration option `msgpack_engine` which has similar semantics as json_engine.
* Adds whole test suite that is essentially a clone of engine_test.rb, but with proper msgpack expected values.
  Note that I converted the JSON expected values to their msgpack equivalent in this process.
* Updated README.md to reflect the msgpack changes.
ae108f5
@nesquena
Owner

Thanks will review and merge this in soon!

@nesquena
Owner
nesquena commented Sep 2, 2011

@byu Thanks for contributing this! Finally merging now

@nesquena nesquena merged commit 4462ea8 into nesquena:master Sep 2, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment