Commit Graph

23 Commits

Author SHA1 Message Date
Joseph Anthony Pasquale Holsten
c15a683063 Fixed Strainer#respond_to? to accept two parameters 2008-11-02 06:24:07 -06:00
Michael Klett
3bfde37a53 Enable rails 2.1.x compaitibility by allowing the render method to accept an ActionView::Template object.
This seems to complete the earlier 'ugly hack' for rails 2.1.x compatibility
2008-09-22 09:48:15 -04:00
Zack Chandler
24bf446b0e Refactor date filter to accept "Time types" other than Date, Time, and DateTime. For example, TzTime (http://github.com/rails/tztime/tree/master) is now supported. 2008-09-05 11:16:24 -07:00
Mark H. Wilkinson
7acdac2a1c Fix attribute expansion to index only once in all cases.
Also drop array.<digits> syntax
2008-07-09 18:46:38 +01:00
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
Tobias Lütke
6dd4f716f8 Gemspecs make my brain hurt 2008-06-23 09:47:41 -04:00
Tobias Lütke
5c259a3f49 stip gemspec down to essentials 2008-06-23 09:43:25 -04:00
Tobias Lütke
1a160c5d84 Seriously... 2008-06-23 09:42:15 -04:00
Tobias Lütke
56caba720d Let hoe create the gemspec automatically 2008-06-23 09:39:35 -04:00
Tobias Lütke
d28cbe6df7 remove gem from repository 2008-06-23 09:36:49 -04:00
Tobias Lütke
1ccb83d7cb Maybe now? 2008-06-23 09:36:31 -04:00
Tobias Lütke
e0dd07811c Added gemspec for automatic rubygem github madness 2008-06-23 09:34:34 -04:00
Stefano Cobianchi
82e5e8c188 Ugly hack for compatibility with Rails 2.1, take two 2008-06-04 17:22:47 +02:00
Stefano Cobianchi
3ef9d2f4f9 Ugly hack for compatibility with Rails 2.1 2008-06-04 17:18:41 +02: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