Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional plist serialization format to Rabl #153

Merged
merged 1 commit into from
Feb 16, 2012
Merged

Add optional plist serialization format to Rabl #153

merged 1 commit into from
Feb 16, 2012

Conversation

alzeih
Copy link
Contributor

@alzeih alzeih commented Jan 25, 2012

Details

Very heavily based off #69 (thanks @byu )
I haven't had time to update the test cases yet, but I'll try and get around to it soon, otherwise patches welcome.

@nesquena
Copy link
Owner

Awesome work @alzeih . Once we can get some test cases in, I will merge this and release a version.

@nesquena
Copy link
Owner

nesquena commented Feb 9, 2012

@alzeih Would love to add this in too. Any chance you'd have a chance to look at test cases akin to https://github.com/nesquena/rabl/blob/master/test/msgpack_engine_test.rb ?

@alzeih
Copy link
Contributor Author

alzeih commented Feb 15, 2012

Added the test cases.
I'm no plist expert, but the output looks fairly sane. A couple of very minor fixes in that commit as well.

If you like, I will close this request and squash the two commits here and rebase on the current master - but in any case, I think this is ready to take.

@nesquena
Copy link
Owner

Awesome, will merge in and bump version once you have rebased. Thanks!

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.
@alzeih
Copy link
Contributor Author

alzeih commented Feb 15, 2012

(rebased)

@nesquena
Copy link
Owner

Thanks, will merge this soon

@nesquena nesquena merged commit 68518de into nesquena:master Feb 16, 2012
@nesquena
Copy link
Owner

Merged and released 0.5.5.h. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for plist
2 participants