Commit Graph

122 Commits

Author SHA1 Message Date
John Bintz cb53352607 ensure that child usage does not manipulate cached template 2013-01-22 14:16:44 -05:00
ccocchi 297f8a9145 Update CHANGELOG 2013-01-19 16:49:44 +01:00
ccocchi 8c35a24408 Add full template stack support. Closes #20 2013-01-19 16:48:56 +01:00
Christopher Cocchi-Perrier 0761830988 Merge pull request #19 from lloydmeta/feature/support_symbol_format
Add support for format as symbol
2013-01-17 07:00:43 -08:00
Lloyd 2d05060311 Add support for format as symbol (e.g. when specified in routes.rb or inside the controller 2013-01-16 12:21:00 +09:00
ccocchi b1ae9a4c58 Bump to 0.3.0 2012-11-14 15:52:17 +01:00
ccocchi 84fa2dd282 Update Changelog 2012-11-14 15:51:08 +01:00
ccocchi fde46000a4 Update README [ci skip] 2012-11-14 15:50:06 +01:00
ccocchi 3ca937246b Use libxml for rbx 2012-11-14 15:19:13 +01:00
ccocchi ff22261ac0 oj is cruby specific 2012-11-14 15:16:22 +01:00
ccocchi 0e18a4141e Use nokogiri on JRuby 2012-11-14 15:13:59 +01:00
ccocchi 8b1e88d4ff Add .travis.yml 2012-11-14 12:45:14 +01:00
ccocchi 2c3f835895 Update CHANGELOG 2012-11-14 12:41:06 +01:00
ccocchi ded9e66973 Add test for keywords used as variable names 2012-11-14 12:40:11 +01:00
Christopher Cocchi-Perrier 0039cc7369 Merge pull request #11 from ccocchi/plist-renderer
Add PList renderer
2012-11-14 03:22:41 -08:00
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 fa6239a564 Remove location from response by default 2012-11-12 17:16:51 +01:00
ccocchi 543543b5cf Add Plist renderer and some tests 2012-10-28 21:57:19 +01:00
ccocchi 286f08eb83 Remove unused dup. Let inject split hash for us 2012-10-22 18:05:22 +01:00
ccocchi 24ce3a1d7c Fix bug with missing prefixes when using custom responder 2012-10-09 14:24:27 +02:00
ccocchi b5a396a594 Bump to 0.2.2 2012-10-05 17:17:22 +02:00
Christopher Cocchi-Perrier 140a80ecf9 Merge pull request #8 from ccocchi/condition-blocks
Allow conditionnal blocks within template
2012-10-05 05:09:42 -07: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 3ce9be556f Bump to 0.2.1 2012-09-27 18:23:05 +02:00
ccocchi 35d21b38e6 Override Responder#to_format to avoid first missing render on POST
request.
Fallback to default Rails responder behavior if template is not found
2012-09-27 18:19:35 +02:00
ccocchi 0cf1efea14 Bump to 0.2.0 2012-09-24 16:02:18 +02:00
Christopher Cocchi-Perrier de8a0da9be Update README.md 2012-09-24 16:58:51 +03:00
ccocchi 9891d09322 Replace yajl by oj 2012-09-20 18:45:46 +02:00
ccocchi a347ebcf5b Only use LibXML if present to avoid generating warning 2012-09-20 18:33:35 +02:00
ccocchi 137234e705 Correctly pass resource for simple render. Only fetch template name
when needed
2012-09-20 13:07:18 +02:00
ccocchi 85eb4ebbf7 Pass resource to all requests (not only POST) to use it instead of ivar in RABL views with respond_to 2012-09-19 18:03:40 +02:00
ccocchi a97a8cd24f Add root in DSL 2012-09-19 17:36:57 +02:00
Christopher Cocchi-Perrier 9f0a92ecd7 Merge pull request #7 from ccocchi/xml-renderer
Add XML renderer
2012-09-19 08:26:22 -07:00
ccocchi 62cabb5f37 Add entry to CHANGELOG 2012-09-17 15:28:14 +02:00
ccocchi d81c3bebfe Update README 2012-09-17 15:26:36 +02:00
ccocchi 84cd69bdfd Add XML engine configuration 2012-09-17 15:24:39 +02:00
ccocchi c566c0d788 Add libxml to faster XML output generation 2012-09-17 15:08:54 +02:00
ccocchi 283b957666 Add tests for XML renderers 2012-09-17 15:08:28 +02:00
ccocchi 9b1abaa691 Merge branch 'master' into xml-renderer 2012-09-17 13:49:19 +02:00
ccocchi 9c9a953e22 Merge branch 'master' into xml-renderer 2012-09-17 13:48:36 +02:00
Christopher Cocchi-Perrier a769f8a3b1 Merge pull request #6 from shmeltex/defaultJSONEngine-change
Let MultiJson select default JSON adapter
2012-09-14 14:21:28 -07:00
Alex Smelik 7a44da28d2 Update to 0.2.0 2012-09-14 12:52:26 -07:00
Alex Smelik 360d70b838 Revert to old MultiJson syntax. 2012-09-13 08:05:52 -07:00
ccocchi 04defc9a19 Add CHANGELOG entries 2012-09-13 16:08:42 +02:00
ccocchi e9f0c69f15 Default template to render can be defined per controller 2012-09-13 16:05:29 +02:00
ccocchi 395a3d7439 Use locals in responder. Responder now works out of the box with
Devise
2012-09-13 16:04:43 +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
Alex Smelik 28f3dbedd0 Let MultiJson select default JSON adapter (engine), support for latest MultiJson syntax 2012-09-12 10:45:45 -07:00
ccocchi 7e6da1a619 Bump to 0.1.3 2012-09-12 10:19:29 +02:00