Details * Fixes #90 (nesquena/rabl issues tracker) * Plist: http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/PropertyLists/Introduction/Introduction.htmlrubgems * Defaults to using the Ruby plist gem: http://rubygems.org/gems/plist * Adds Rabl configuration option include_plist_root which has same semantics as include_json_root. * Adds Rabl configuration option plist_engine which has similar semantics as json_engine. * Adds tests * Updated README.md to reflect the plist changes.
…active_support/inflector it doesn't work in Rabl::Helpers). Covered by tests, results were compared with msgpack results and matches except for those that returns array - BSON.serialize can't accept arrays so it wraps it into a hash with first object name pluralization as a key.
Conflicts: lib/rabl/configuration.rb lib/rabl/engine.rb test/teststrap.rb
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.