Nicholas Jones
8f9f12e542
Merge remote-tracking branch 'upstream/master' into correct-if-nodelists
...
Conflicts:
test/liquid/tags/for_tag_test.rb
test/liquid/tags/if_else_tag_test.rb
2014-01-13 12:43:43 -08:00
Nicholas Jones
06e2f2577f
Add else blocks to for and case nodelists
2014-01-13 11:53:25 -08:00
Florian Weingarten
c6e0c1e490
Fix resource counting bug with respond_to?(:length)
2014-01-08 13:00:53 -05:00
Arthur Neves
a13f237d3c
Remove some 192 tests
2014-01-07 11:37:01 -05:00
Arthur Neves
208c6c8800
remove ruby-debug
2014-01-07 11:31:46 -05:00
Florian Weingarten
9ec2b9da2d
Rename tests because of name clashes (same method name used twice)
2014-01-07 11:20:32 -05:00
Florian Weingarten
be7bef4d0b
Merge pull request #284 from agladkyi/custom-patterns-for-template-filenames
...
Custom patterns for template filenames
2013-12-16 11:28:19 -08:00
Andrei Gladkyi
0ae42bbc32
Added separate test for custom patterns specifying
...
+ updated History.md
2013-12-16 17:48:43 +02:00
Gaurav Chande
5e8f2f8bd0
Fix escape_once filter
2013-12-01 20:37:47 -05:00
Andrei Gladkyi
0edb252489
Option to specify custom pattern for template filenames
2013-11-30 17:55:53 +02:00
Florian Weingarten
2d1f15281b
Merge pull request #282 from Shopify/load_slice
...
allow drops to optimize loading a slice of elements
2013-11-25 08:12:06 -08:00
Florian Weingarten
f1a5f6899b
Add raggi's change to History, remove Ruby 1.8 code from test
2013-11-25 10:48:03 -05:00
Florian Weingarten
de497eaed2
Merge branch 'class_cache' of github.com:wildfireapp/liquid into wildfireapp-class_cache
2013-11-25 10:46:18 -05:00
Tom Burns
2c26a880f0
add another test showing equivalent functionality
2013-11-24 12:32:32 -05:00
Tom Burns
cf49b06ccc
allow drops to optimize loading a slice of elements
2013-11-24 12:29:15 -05:00
Dylan Thacker-Smith
cc982e92d0
security: Prevent arbitrary method invocation on conditions in if tag.
2013-10-28 12:20:27 -04:00
Derrick Reimer
5db1695694
Add default filter to standard filters
2013-10-09 16:07:32 -07:00
Florian Weingarten
96b30a89a9
Fix map filter on Hash inputs
2013-10-08 08:18:03 -04:00
Florian Weingarten
81d3733f57
Regression test for change of blank? default behaviour ( 2efe809e11)
2013-09-23 09:38:45 -04:00
Florian Weingarten
5b172a4c05
Fix unknown tags in comment tags, second try
2013-09-11 12:31:54 -04:00
Florian Weingarten
bd20595f1a
Add regression test for comment tag
2013-09-11 12:14:27 -04:00
Florian Weingarten
f938756a58
Revert "Merge pull request #256 from Shopify/unknown_tags_in_comments"
...
This reverts commit 1ae8c0e90a , reversing
changes made to 01d352bc51 .
2013-09-11 12:13:55 -04:00
Florian Weingarten
45795f8766
Fix handling of unknown tags in comments
2013-09-11 10:40:33 -04:00
Florian Weingarten
01d352bc51
Move stuff in test around
2013-09-11 14:40:11 +02:00
Ishibashi Hideto
70513fccaf
remove include Liquid from the class CustomInclude and substitute QuotedFragment with Liquid::QuotedFragment
2013-09-11 03:25:06 +09:00
Ishibashi Hideto
a5285d3d09
test for the Jekyll's issue: [Liquid doesn't render my partial · Issue #1519 · mojombo/jekyll]( https://github.com/mojombo/jekyll/issues/1519 )
2013-09-10 22:58:56 +09:00
Nicholas Jones
90593d3f18
Add a test for corrected if-nodelist
2013-09-07 11:15:49 -07:00
James Tucker
13c826933c
Update against failed cherry-pick
2013-09-07 01:42:41 +00:00
Tristan Hume
7c5b3e0c3b
Fix bad range parsing.
2013-09-04 18:13:31 -04:00
James Tucker
d4679cd550
Strainer test now works on 1.8
2013-08-31 18:57:09 +00:00
James Tucker
9b2d5b7dd3
Add a class cache to avoid runtime extend calls
...
* Strainer has a class cache that creates Strainer subclasses for each filter
set that is used on .create calls.
* Context now creates a list of filters and passes this to Strainer.create to
utilize the class cache in almost all use cases.
* If add_filter was called after a render, then the method cache may still be
invalidated.
Conflicts:
lib/liquid/strainer.rb
2013-08-31 18:56:35 +00:00
Tristan Hume
e8b41c8856
Fix error
2013-08-30 16:06:48 -04:00
Simon Eskildsen
ad184fbfc9
Remove superplus translations
2013-08-30 12:31:58 -04:00
Simon Eskildsen
380828f807
Rename outdated test
2013-08-30 12:31:57 -04:00
Simon Eskildsen
fc8c45ebe6
Fix use of 1.9 hash syntax
2013-08-30 12:31:57 -04:00
Simon Eskildsen
072c12dc47
Localize errors in Liquid
2013-08-30 12:31:57 -04:00
Simon Eskildsen
29cdabc30e
Move I18n to options
2013-08-30 12:31:57 -04:00
Simon Eskildsen
df5980f23f
Change interpolation syntax to %{key}
2013-08-30 12:31:57 -04:00
Simon Eskildsen
5ee4f960e8
Move localization option to register
2013-08-30 12:31:57 -04:00
Simon Eskildsen
0343f6dc94
Add escaping of symbols
2013-08-30 12:31:57 -04:00
Simon Eskildsen
40fba9ee6c
Add locale to context registers
2013-08-30 12:31:57 -04:00
Simon Eskildsen
0a2f21386d
Add fixture helper
2013-08-30 12:31:57 -04:00
Simon Eskildsen
0dac6fe88a
Change to absolute path in localization test
2013-08-30 12:31:57 -04:00
Simon Eskildsen
f37a984fd7
Add sketch of I18n error translation
2013-08-30 12:31:57 -04:00
Tristan Hume
86ba2f4174
Fix error message 1.8 compatibility
2013-08-22 13:23:44 -04:00
Tristan Hume
77db92de54
Better testing of warn mode.
2013-08-22 12:55:54 -04:00
Tristan Hume
b0cba5298a
Fix warnings and make tags a proper syntax tree.
2013-08-22 12:44:23 -04:00
Tristan Hume
93fcd5687c
Broken warnings implementation.
2013-08-22 12:12:35 -04:00
Tristan Hume
14a17520de
Merge branch 'master' into recursive-parsing
2013-08-22 10:39:08 -04:00
Tristan Hume
0beb4a4793
Add handy context to strict parser error messages.
2013-08-19 15:45:05 -04:00