Commit Graph

15 Commits

Author SHA1 Message Date
ccocchi
aa659d0b8b Assert that plist engine respond to #dump 2012-11-14 12:10:54 +01:00
ccocchi
2939638c0d Complete Plist tests 2012-11-14 12:02:35 +01:00
ccocchi
543543b5cf Add Plist renderer and some tests 2012-10-28 21:57:19 +01:00
ccocchi
842f63b080 Merge branch 'master' into condition-blocks
Conflicts:
	lib/rabl-rails.rb
	test/renderers/json_renderer_test.rb
2012-10-05 14:08:45 +02:00
ccocchi
283b957666 Add tests for XML renderers 2012-09-17 15:08:28 +02:00
ccocchi
4b61edad64 Locals are now passed to the renderer object.
Allow to skip object or collection definition when using `respond_to` block
2012-09-13 15:57:05 +02:00
ccocchi
dc66b43638 Replace Struct by Class to avoid stubbing respond_to?
Add some tests with local methods
2012-09-12 01:33:04 +02:00
ccocchi
3999737daf Allow conditionnal blocks within template 2012-09-05 18:11:23 +02:00
ccocchi
0034e05486 Don't need to retrieve data variable from context
since it's has already been copied from assigns.

Modify test Context class to reflect this change
2012-07-25 18:23:41 +02:00
ccocchi
213043589b Better methods naming 2012-07-15 17:56:11 +02:00
ccocchi
b0d83f444b Add include_json_root to configuration. 2012-07-13 19:15:04 +02:00
ccocchi
961c6ac533 Fix typo with instance variable 2012-05-02 17:53:13 +02:00
ccocchi
c12e14700f rabl-fast-json => rabl-rails 2012-04-20 16:28:34 +02:00
ccocchi
e1e5ec6f23 Use explicit error 2012-04-15 23:32:26 +02:00
ccocchi
4e6142602f Test suite refactor 2012-04-15 18:17:49 +02:00