Attila Domokos
c401ffb9c3
Add the .rvmrc to .gitignore
2011-07-13 04:18:19 -04:00
Jonathan Rudenberg
2434c3d0e0
Remove duplicate commas from StrictQuotedFragment. Closes #26 .
2011-07-12 09:18:46 -04:00
Tobias Lütke
352f83a9d2
Merge pull request #28 from mcr/mcr_inc_tag
...
increment tag
2011-07-01 11:48:13 -07:00
Tobias Lütke
98c96ed86a
Merge pull request #60 from a-team/master
...
Avoid creating singleton classes on nil, true and false objects
2011-07-01 11:43:27 -07:00
Tobias Lütke
410cce9740
Merge pull request #56 from oozou/for-else
...
For-else !!!
2011-07-01 11:42:17 -07:00
Jonathan Rudenberg
a8ed72a036
Add build status and small copy changes in the README
2011-06-30 16:36:49 -04:00
Jonathan Rudenberg
4aaf750fa8
Don't mess with the load path
2011-06-30 16:31:37 -04:00
Jonathan Rudenberg
e5a3d67a32
Add Rubinius to Travis runs
2011-06-30 16:25:55 -04:00
Jonathan Rudenberg
fe25644726
Rescue NameError for Rubinius
2011-06-30 16:24:17 -04:00
Jonathan Rudenberg
c47eac1683
Add kind_of? and singleton_methods to Strainer so that Rubinius works
2011-06-30 16:17:31 -04:00
Jonathan Rudenberg
c10a40f1fa
Ignore rubinius bytecode files
2011-06-30 16:16:35 -04:00
Jonathan Rudenberg
e4003a74a1
Remove failing Rubies from Travis run for now
2011-06-29 15:08:44 -04:00
Jonathan Rudenberg
03065274d8
Use Travis CI
2011-06-29 11:06:20 -04:00
Jonathan Rudenberg
00afc9dd8a
Merge pull request #62 from rmetzler/master
...
code blocks in README.md displayed properly on github (closes #61 )
2011-06-19 20:48:03 -07:00
Richard Metzler
6bfdda9e17
html highlighting
2011-06-19 03:50:52 -07:00
Richard Metzler
00da0b6a42
ruby highlighting
2011-06-19 03:50:08 -07:00
Richard Metzler
39174ccee6
code blocks in github flavored markdown
2011-06-19 03:49:37 -07:00
Tim Felgentreff
c7033ff4c8
Avoid creating singleton classes on nil, true and false objects. Instead extend their respective classes. Just because those objects are singletons in current Ruby implementations doesn't mean we should rely on that. Fixes liquid on Maglev.
2011-06-13 18:13:47 +02:00
Jonathan Rudenberg
f85bea2902
Remove literal tag (raw is more performant)
...
This reverts commit c00a650492 .
2011-06-13 09:34:15 -04:00
Jonathan Rudenberg
17922273e1
Merge old Shopify/liquid
2011-06-13 09:31:31 -04:00
Jonathan Rudenberg
4087a94d88
Add raw tag. Fixes #37 .
...
Thanks to phaer: https://gist.github.com/1020852
YO DAWG, WE HEARD YOU LIKE LIQUID
SO WE PUT A RAW TAG IN YOUR LIQUID
SO YOU CAN HAVE LIQUID IN YOUR LIQUID
2011-06-12 11:15:16 -04:00
Steven Soroka
1a4ff9547a
render_all should internally always return strings. This eases some 1.9 compatability issues.
2011-05-02 10:58:27 -04:00
Steven Soroka
888cbe8f09
fix next if /^__.+__$/ to /^(__.+__|object_id)$/, since object_id will complain if it is removed
2011-04-28 15:24:50 -05:00
Steven Soroka
2f11364417
make ruby-debug optional
2011-04-28 15:18:59 -05:00
Steven Soroka
74cdfc6718
Fix commit 7bbb4ff84f so it's backwards-compatible
2011-04-28 15:18:51 -05:00
Prathan Thananart
d19213177a
Added documentation for for-else
2011-04-28 13:11:13 +07:00
Prathan Thananart
caf59940d3
Added code to make for-else work
2011-04-28 13:07:41 +07:00
Prathan Thananart
8319d78c2e
Added a failing test case for for-else
2011-04-28 12:00:21 +07:00
Tobias Lütke
bc55c4d348
Merged pull request #34 from claco/date-epoch.
...
Epoch support
2011-04-25 09:03:30 -07:00
Tobias Lütke
017f0dc342
Merged pull request #53 from mhw/fix-stacklevelerror-test.
...
Fix behaviour of Context#stack when Context#push raises.
2011-04-25 09:00:00 -07:00
Tobias Lütke
ab556cbdd9
Merged pull request #54 from mhw/fix-drop-numeric-parameter.
...
Fix passing numeric parameter to drops
2011-04-25 08:59:10 -07:00
Tobias Lütke
82e4904403
Merged pull request #55 from ssoroka/master.
...
fixes failing test
2011-04-25 08:58:13 -07:00
Steven Soroka
59a63e0fe5
fix failing test "recursively_included_template_does_not_produce_endless_loop", push needs to come before exception raise since pop is in ensure block and always happens.
2011-04-24 01:09:56 -05:00
Mark H. Wilkinson
aafb3ed9f2
Fix behaviour of Context#stack when Context#push raises.
...
We only want to pop the scope at the end of the method if pushing it
succeeded, so the push needs to be outside the block with the ensure.
2011-04-12 14:24:26 +01:00
Mark H. Wilkinson
935d3530af
Handle invoking drops for keys that are not strings.
...
For example, {{ pages[8] ... }} will result in the integer value 8 being
passed to invoke_drop.
2011-04-12 14:11:06 +01:00
Mark H. Wilkinson
662b2983fe
Failing test for integer drop lookup.
2011-04-12 14:09:43 +01:00
Mark H. Wilkinson
37a0fe213b
Fix text method name clash.
2011-04-12 13:47:27 +01:00
David Turnbull
7bbb4ff84f
Context is no longer lost when moving into a Liquid FileSystem.
2011-01-28 21:19:44 -05:00
Tobias Lütke
9926d86c91
Fix rake file, add rake benchmark:run
2011-01-28 21:18:07 -05:00
Tobias Lütke
9c49b8bbb2
improved benchmark suite
2011-01-28 21:16:22 -05:00
thedarkone
f7ff9c81d3
Make use of the Module#public_method_defined?.
2011-01-28 21:16:22 -05:00
thedarkone
a65c4f51bc
These are strings already.
2011-01-28 21:16:22 -05:00
thedarkone
a24049906b
Resolve literals faster.
2011-01-28 21:16:22 -05:00
thedarkone
aa678302d6
Fix comments.
2011-01-28 21:16:22 -05:00
thedarkone
6d0bb3303c
Clean-up Context#stack.
2011-01-28 21:16:22 -05:00
Austin Mills
4fec29f288
OPS-250 Modifying liquid error handling so that it no longer captures Exceptions that are not subclasses of StandardError (previously, it was rescuing things like Interrupt and NoMemoryError).
2011-01-10 14:55:05 -06:00
Christopher H. Laco
33ecb29d49
Update date to accept epoch
2010-11-07 20:41:41 -05:00
Michael Richardson
58e5820e7a
thought that these were turned off, removed
2010-09-03 10:54:29 -04:00
Michael Richardson
bb035d96e1
ignore backups
2010-09-02 09:46:21 -04:00
Michael Richardson
3919ff6bc3
renamed inc -> increment
...
added decrement as well (pre-decremented)
2010-09-02 09:41:43 -04:00