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
|
8f5ebfac03
|
Add test for RablRails#render with instance
variables
|
2012-07-26 15:24:20 +02:00 |
ccocchi
|
b42f63788f
|
Raise error when template is not found
|
2012-07-26 14:59:28 +02:00 |
ccocchi
|
d4c434e6b0
|
Refactor RablRails#render to use standard library
methods.
Emulate a render and lookup context like Rails.
|
2012-07-26 02:21:33 +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
|
8ef2ab6577
|
Use MultiJson in test also
|
2012-07-24 12:13:01 +02:00 |
ccocchi
|
b61fdec326
|
Allow to set root_name to false in template
|
2012-07-20 15:14:46 +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 |
ccocchi
|
52941e6232
|
Extract rendering from template into renderers
|
2012-04-10 01:03:07 +02:00 |
ccocchi
|
1f36248f13
|
Update tests
|
2012-04-08 23:26:18 +02:00 |
ccocchi
|
3c7448ebfd
|
Dup the template to avoid in place modification across users
|
2012-04-03 18:37:11 +02:00 |
ccocchi
|
e30e5dd66a
|
Caching templates is now an option
|
2012-04-02 16:22:43 +02:00 |
ccocchi
|
3e9c903077
|
Partials should not raise an error with empty object
|
2012-03-29 10:58:20 +02:00 |
ccocchi
|
03bc0f2644
|
Simplify compiler and document it
|
2012-03-27 18:35:36 +02:00 |
ccocchi
|
d9e93b2c53
|
Fix some errors
|
2012-03-27 17:07:30 +02:00 |
ccocchi
|
dfbe769a91
|
Enable non restful template
|
2012-03-15 15:12:52 +01:00 |
ccocchi
|
0c0ec9f23f
|
Enable :if condition for node properties
|
2012-03-05 15:33:25 +01:00 |
ccocchi
|
fbcbbd2328
|
Add root option for collection
|
2012-03-02 14:59:01 +01:00 |
ccocchi
|
0011b57f8f
|
Add partial and root for child nodes
|
2012-03-02 14:39:20 +01:00 |
ccocchi
|
1a033a60c2
|
Fix deep nesting case
|
2012-03-02 11:32:11 +01:00 |
ccocchi
|
844b2703e2
|
Add tests about compiled templates
|
2012-02-27 17:25:06 +01:00 |
ccocchi
|
bdc5148c42
|
Testing version
|
2012-02-27 14:49:34 +01:00 |
ccocchi
|
e24aca780d
|
Add compilation to object and glue
|
2012-02-23 12:56:45 +01:00 |
ccocchi
|
1997634dfc
|
Add child support and bacic node
|
2012-02-23 12:04:55 +01:00 |
ccocchi
|
2460ef14e3
|
Start compiler implementation
|
2012-02-22 19:14:00 +01:00 |
ccocchi
|
5930e46ec0
|
Initial commit
|
2012-02-22 11:42:38 +01:00 |