Mark H. Wilkinson
50edd0f5b9
Add some failing tests for Context.
...
Using an attribute should only cause the corresponding method to be invoked
once. Replacing a lambda with its return value should work for arrays.
Array index syntax shouldn't allow calls to special methods.
2008-07-09 18:46:38 +01:00
Mark H. Wilkinson
819b70204f
Fix syntax in doc comment; test same syntax.
2008-07-09 18:34:41 +01:00
Mark H. Wilkinson
eb609ee4aa
Strip trailing whitespace.
2008-07-09 18:34:41 +01:00
Nathaniel Bibler
4c30922d8e
The if tag now raises Liquid::SyntaxError rather than a generic RuntimeError for syntax problems.
2008-05-21 23:58:12 -04:00
Tobias Lütke
ed75a6d948
Make before_method work more like method_missing
2008-05-08 17:22:07 -04:00
Tobias Lütke
63f9a05223
Implemented reversed flag on for loops {% for a in b reversed %}
2008-05-08 17:17:41 -04:00
Tobias Lütke
8f45647aa3
Parse time errors should propagate to calling site
2008-05-08 12:35:17 -04:00
Tobias Lütke
4c0cfae0b7
Changed implementation of For in such a way that it only depends on the existence of a each method. This allows drops to simply implement each for enumeration
2008-05-08 12:30:48 -04:00
Tobias Lütke
7f58cbf82d
Merged last set of changes from original SVN location
2008-05-08 11:34:43 -04:00
Tobias Lütke
1d647361e1
Initial github import of liquid
2008-05-08 11:28:13 -04:00