ccocchi
|
3999737daf
|
Allow conditionnal blocks within template
|
2012-09-05 18:11:23 +02:00 |
|
ccocchi
|
cf39a3f748
|
Bump 0.1.2
|
2012-08-03 15:39:08 +02:00 |
|
ccocchi
|
62dfd3b7d5
|
Fix engines loading.
Load default engines once and setter also set up engine
|
2012-08-03 15:38:43 +02:00 |
|
ccocchi
|
9ce0e2b350
|
Update README (configuration and render)
|
2012-07-26 17:36:36 +02:00 |
|
ccocchi
|
d6f71ad6cf
|
Add .gitignore and remove Gemfile.lock from git
|
2012-07-26 16:54:53 +02:00 |
|
ccocchi
|
8a49001b0f
|
Do not fail when JSON engine is not found
and fallback to default
|
2012-07-26 16:44:51 +02:00 |
|
ccocchi
|
6e5fc9c833
|
Update CHANGELOG
|
2012-07-26 16:37:09 +02:00 |
|
Christopher Cocchi-Perrier
|
d0b023936b
|
Merge pull request #2 from ccocchi/render-method
Add RablRails#render method
|
2012-07-26 07:21:36 -07: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
|
69a650c673
|
Bump to 0.1.1
|
2012-07-26 00:00:13 +02:00 |
|
ccocchi
|
f9709dd034
|
Remove sqlite3 from developent dependencies
|
2012-07-25 23:52:42 +02:00 |
|
ccocchi
|
0dc4d16b7e
|
Add CHANGELOG
|
2012-07-25 23:48:21 +02:00 |
|
ccocchi
|
1c466a3625
|
Underscore private instance variable @options
to avoid conflicts with view variables
|
2012-07-25 22:53:09 +02:00 |
|
ccocchi
|
c60306eee5
|
Add documentation for RablRails#render
|
2012-07-25 22:46:20 +02:00 |
|
ccocchi
|
9e6b4db8eb
|
Make render work with same signature as
standard RABL gem
|
2012-07-25 19:22:10 +02:00 |
|
ccocchi
|
63b50b2a31
|
Merge branch 'master' into render-method
|
2012-07-25 18:37:40 +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
|
36fe3ec56e
|
Remove test against undefined variable
|
2012-07-24 18:29:03 +02:00 |
|
ccocchi
|
042609b5d4
|
Add RablRails#render
|
2012-07-24 16:32:32 +02:00 |
|
ccocchi
|
8ef2ab6577
|
Use MultiJson in test also
|
2012-07-24 12:13:01 +02:00 |
|
ccocchi
|
959192e275
|
Update LICENSE
|
2012-07-24 12:07:26 +02:00 |
|
ccocchi
|
c3758c0cc7
|
Add LICENSE and update README
|
2012-07-23 18:29:36 +02:00 |
|
Christopher Cocchi-Perrier
|
8f387a74c9
|
Update performance block in README
|
2012-07-23 19:22:27 +03:00 |
|
ccocchi
|
b61fdec326
|
Allow to set root_name to false in template
|
2012-07-20 15:14:46 +02:00 |
|
ccocchi
|
cfd9e3e65d
|
Remove useless dependency
|
2012-07-18 23:43:35 +02:00 |
|
ccocchi
|
1db4cae807
|
Allow to specify json engine used.
Default to MultiJson (with Yajl engine) instead of ActiveSupport::JSON
|
2012-07-18 23:42:09 +02:00 |
|
ccocchi
|
a9143693d4
|
Update gemspec to be valid
|
2012-07-15 23:31:51 +02:00 |
|
ccocchi
|
3224a33489
|
Correct indent in README
|
2012-07-15 23:22:51 +02:00 |
|
ccocchi
|
07a18c9f1d
|
Update README.md
|
2012-07-15 23:18:17 +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
|
57366b7fd6
|
Remove useless method call
|
2012-07-03 15:31:17 +02:00 |
|
ccocchi
|
4747cd95c1
|
Better error explanation
|
2012-05-04 15:21:06 +02:00 |
|
ccocchi
|
961c6ac533
|
Fix typo with instance variable
|
2012-05-02 17:53:13 +02:00 |
|
ccocchi
|
e0d984cac6
|
README first part
|
2012-04-20 18:02:33 +02:00 |
|
ccocchi
|
c12e14700f
|
rabl-fast-json => rabl-rails
|
2012-04-20 16:28:34 +02:00 |
|
ccocchi
|
f9e2f0766b
|
Remove useless &block and use yield instead
|
2012-04-17 16:23:08 +02:00 |
|
Christopher Cocchi-Perrier
|
7767a708df
|
Merge pull request #1 from ccocchi/extract-render-from-tempate
Extract render from tempate
|
2012-04-17 06:50:28 -07: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
|
7f66973b83
|
Cleanup dependencies
|
2012-04-03 19:10:37 +02:00 |
|
ccocchi
|
bf2305dcc5
|
Update version and remove jquery dependency
|
2012-04-03 19:04:14 +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
|
62693749c5
|
Oops
|
2012-03-27 18:39:26 +02:00 |
|