1461 Commits

Author SHA1 Message Date
Tobias Lütke
8ac4d6a92a cycle test coverage 2009-06-15 08:55:50 -04:00
Tobias Lütke
37e913f755 added 3 more themes to add veriety to the profiler run 2009-06-14 18:09:40 -04:00
Tobias Lütke
5e0ad75ff5 remove benchmark dir 2009-06-14 18:05:18 -04:00
Tobias Lütke
1b3b3e4958 added rake profile for easier invokation 2009-06-14 18:04:07 -04:00
Tobias Lütke
31a5606d42 fixed a bug with mock paginate tag 2009-06-14 17:42:28 -04:00
Tobias Lütke
f65ce254c7 added full profiler suite to liquid based on real-world code form Shopify and vision 2009-06-14 17:32:50 -04:00
Brian Candler
01c25a11a3 Raise FilterNotFound on use of non-existent filter 2009-06-06 16:32:20 +01:00
Brian Candler
f29b9335c5 Allow question-mark at end of variable name only 2009-06-06 16:20:34 +01:00
Brian Candler
cfe3e6f3be Allow Hash with default value or default proc to be used 2009-06-06 16:16:06 +01:00
Brian Candler
09c0b3b391 Allow template to be re-used without persisting assigns 2009-06-06 16:15:37 +01:00
Brian Candler
678fdfdb8a Add test case for presetting assigns 2009-06-06 15:47:52 +01:00
Jakub Kuźma
ed1b542abf All tests pass on Ruby 1.9.1
Signed-off-by: Tobias Lütke <tobi@leetsoft.com>
2009-04-17 06:33:28 +08:00
Jakub Kuźma
8d27864845 Ruby 1.9.1 bugfixes
Signed-off-by: Tobias Lütke <tobi@leetsoft.com>
2009-04-17 06:33:25 +08:00
Jakub Kuźma
37580976db regenerated gemspec
Signed-off-by: Tobias Lütke <tobi@leetsoft.com>
2009-04-17 06:33:21 +08:00
Jakub Kuźma
daadb1a2d6 Ruby 1.9.1 bugfixes
Signed-off-by: Tobias Lütke <tobi@leetsoft.com>
2009-04-17 06:33:20 +08:00
Tobias Lütke
68433a52a3 Some more documentation for regexpes 2009-04-06 08:45:04 -06:00
Tobias Lütke
075341d01c Fix for parsing spaces in fragments 2009-04-06 08:37:39 -06:00
Tobias Lütke
981831bc49 Corrected spelling mistake 2009-04-06 08:33:44 -06:00
Tobias Lütke
edcc14f148 Reverted james filter in tags branch
This reverts commit 282786d7e2.

Conflicts:

	lib/liquid.rb
	lib/liquid/variable.rb
	test/if_else_test.rb
2009-04-06 08:30:19 -06:00
Tobias Lütke
e3fd003a74 Ignore pkg directory 2009-04-06 08:10:13 -06:00
Tobias Lütke
26faf512a1 bump v2.0.0 2009-03-10 17:23:17 -04:00
Cody Fauser
56f1aa9b4a Fix LiquidView for Rails 2.2. Fix local assigns for all versions of Rails
Signed-off-by: Tobias Lütke <tobi@leetsoft.com>
2009-01-27 02:18:06 +08:00
Tobias Lütke
70ca647e1e Had the tests in the wrong file 2009-01-16 09:55:03 -05:00
Tobias Lütke
13ddc6d96b Added append/prepend filters 2009-01-15 16:59:18 -05:00
Tobias Lütke
88309cf415 Fixed some parse errors thanks to Daniel Sheppard [Closes #6] 2008-12-22 11:47:26 -05:00
Tobias Lütke
7b9b5f31fb Merge branch 'experimental' of git://github.com/jamesmacaulay/liquid into jamesmacaulay/experimental
Conflicts:

	lib/liquid.rb
	lib/liquid/variable.rb
2008-11-02 10:11:08 -08:00
Tobias Lütke
b165599495 Merge branch 'master' of git://github.com/josephholsten/liquid into josephholsten/master 2008-11-02 10:08:55 -08:00
Tobias Lütke
96c998a944 Merge branch 'master' of git://github.com/mhw/liquid into mhw/master 2008-11-02 10:06:02 -08:00
Tobias Lütke
7031d8a49a Fix test not failing while in PST timezone 2008-11-02 10:05:10 -08:00
Tobias Lütke
7959664c9d Merge branch 'master' of git://github.com/EmmanuelOga/liquid into EmmanuelOga/master 2008-11-02 10:04:01 -08:00
Joseph Anthony Pasquale Holsten
c15a683063 Fixed Strainer#respond_to? to accept two parameters 2008-11-02 06:24:07 -06:00
James MacAulay
36860eab57 added array sorting and mapping on properties 2008-10-28 10:36:05 -04:00
James MacAulay
3d8efe04a7 filtered variables in for loops 2008-10-24 14:50:59 -04:00
James MacAulay
edf7b5577b filtered variables for assign, case, and cycle 2008-10-15 17:02:26 -04:00
James MacAulay
282786d7e2 if blocks work with filtered variables 2008-10-15 17:02:26 -04:00
James MacAulay
69bc84b777 Added filters for basic arithmetic 2008-10-15 11:02:25 -04: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
916f501bde Fix spelling of FilterSeparator constant. 2008-08-18 20:32:34 +01:00
Mark H. Wilkinson
7eeb895192 Remove trailing whitespace. 2008-08-18 20:32:30 +01: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
Emmanuel Oga
3eddf5fb9e adjusted parsing regex for syntax quirk 2008-07-08 12:54:52 -03: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