Commit Graph

  • 4f4c94453c Merged aafb3ed9f223a6623b40ed90ebc1b64e2c31090e into ab556cbdd91f184e1e6f45b7b9a27c59b91e493f #53 GitHub Merge Button 2011-04-25 08:59:16 -07:00
  • ab556cbdd9 Merged pull request #54 from mhw/fix-drop-numeric-parameter. Tobias Lütke 2011-04-25 08:59:10 -07:00
  • b6c05218ee Merged 935d3530af0e459e369ee4b183d5b17df1a4b388 into 82e4904403cddb400682ded9af58f8889514d4e5 #54 GitHub Merge Button 2011-04-25 08:58:26 -07:00
  • 82e4904403 Merged pull request #55 from ssoroka/master. Tobias Lütke 2011-04-25 08:58:13 -07:00
  • 26838903fb Merged 59a63e0fe579272be55622c05c665bd0aa92f02f into 7bbb4ff84f192a6a2292e8bf16e1049cad34d763 #55 GitHub Merge Button 2011-04-25 08:58:07 -07:00
  • 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. #55 Steven Soroka 2011-04-24 01:09:56 -05:00
  • aafb3ed9f2 Fix behaviour of Context#stack when Context#push raises. #53 Mark H. Wilkinson 2011-04-12 14:24:26 +01:00
  • 935d3530af Handle invoking drops for keys that are not strings. #54 Mark H. Wilkinson 2011-04-12 14:11:06 +01:00
  • 662b2983fe Failing test for integer drop lookup. Mark H. Wilkinson 2011-04-12 13:50:50 +01:00
  • 37a0fe213b Fix text method name clash. Mark H. Wilkinson 2011-04-12 13:47:27 +01:00
  • 0c4975d859 Handle options Hash in filter argument expansion. #51 Mark H. Wilkinson 2008-08-18 08:02:30 +01:00
  • 1eb7775e19 First cut at filter attributes implementation. Mark H. Wilkinson 2008-08-14 08:52:14 +01:00
  • fb82a36680 Add unit tests for filter argument and attribute syntax. Mark H. Wilkinson 2008-08-12 21:55:24 +01:00
  • bee0f539d6 Added erb like trim mode. Push context before raising StackLevelError so it can be popped later. #49 Stefan Schüßler 2011-04-04 11:24:21 +02:00
  • 2072546b3a use customize filters in Rails #48 allenwei 2011-03-25 11:18:48 +08:00
  • bd8427b375 polish README allenwei 2011-03-25 11:07:48 +08:00
  • 98feef874a update README allenwei 2011-03-25 10:37:16 +08:00
  • 06dca9b661 make included helpers configurable allenwei 2011-03-25 10:34:09 +08:00
  • aa92aa5b69 integrate with Rails when use Liquid as gem allenwei 2011-03-24 18:36:42 +08:00
  • bc12342eff upping gem version to 2.2.2.1 #41 dave farkas 2011-02-28 09:43:34 -06:00
  • 8a4048dbe1 render nil tags as {{tag_name}} instead of {{ tag_name }} dave farkas 2011-02-25 19:26:34 -06:00
  • f906404150 Add Drop's context to original instance on #to_liquid #46 Travis Warlick 2011-02-20 21:08:12 -06:00
  • 4cd2531380 Add match condition operator "=~" to match against a Regexp #45 Travis Warlick 2011-02-20 20:21:18 -06:00
  • 18ddffc9c4 Fixed variable template names object name calculating pyromaniac 2011-02-16 17:54:16 +03:00
  • bce257d24d Added proper object name taking for include tag pyromaniac 2011-02-16 17:26:16 +03:00
  • d70ed75822 fix the constantly using html content type error #43 Michael He 2011-02-16 15:55:17 +08:00
  • 19dd21b52b added option to leave tags in template if a substitution variable is not present in the render call. dave farkas 2011-01-31 15:34:14 -06:00
  • 7bbb4ff84f Context is no longer lost when moving into a Liquid FileSystem. David Turnbull 2010-08-24 16:31:33 -07:00
  • 9926d86c91 Fix rake file, add rake benchmark:run Tobias Lütke 2011-01-28 21:18:07 -05:00
  • 9c49b8bbb2 improved benchmark suite Tobias Lütke 2011-01-28 21:14:38 -05:00
  • f7ff9c81d3 Make use of the Module#public_method_defined?. thedarkone 2011-01-29 00:02:05 +01:00
  • a65c4f51bc These are strings already. thedarkone 2011-01-28 23:24:18 +01:00
  • a24049906b Resolve literals faster. thedarkone 2011-01-28 23:22:47 +01:00
  • aa678302d6 Fix comments. thedarkone 2011-01-28 23:03:10 +01:00
  • 6d0bb3303c Clean-up Context#stack. thedarkone 2011-01-28 23:01:23 +01:00
  • 1005bd00e3 Make use of the Module#public_method_defined?. #40 thedarkone 2011-01-29 00:02:05 +01:00
  • 072a2932f5 These are strings already. thedarkone 2011-01-28 23:24:18 +01:00
  • 37436083a8 Resolve literals faster. thedarkone 2011-01-28 23:22:47 +01:00
  • e78f3543b3 Fix comments. thedarkone 2011-01-28 23:03:10 +01:00
  • 26d2857ca5 Clean-up Context#stack. thedarkone 2011-01-28 23:01:23 +01:00
  • c5c48a62b9 fix liquid_view bug Michael He 2011-01-22 16:44:39 +08:00
  • 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). #39 Austin Mills 2011-01-10 14:55:05 -06:00
  • 653948fc0a Allow ERB-like trim mode, i.e. omit newline for lines ending in -}} or -%} #36 Stefan Schüßler 2010-11-11 14:27:28 +01:00
  • 4365585f6c TrimTest Stefan Schüßler 2010-11-11 14:22:33 +01:00
  • 33ecb29d49 Update date to accept epoch #34 Christopher H. Laco 2010-11-07 20:41:41 -05:00
  • 206ba61d02 Added auto_filter which allows applying a given filter to all variables in the document. #30 Marcelo Silveira 2010-09-12 00:03:07 -03:00
  • 58e5820e7a thought that these were turned off, removed #28 Michael Richardson 2010-09-03 10:54:29 -04:00
  • bb035d96e1 ignore backups Michael Richardson 2010-09-02 09:46:21 -04:00
  • 3919ff6bc3 renamed inc -> increment added decrement as well (pre-decremented) Michael Richardson 2010-09-02 09:41:43 -04:00
  • 381b4f5268 adjusted test case to have third argument Michael Richardson 2010-08-31 19:42:13 -04:00
  • 97f18112b2 the variables should be stored in the normal environment, not in the register Michael Richardson 2010-08-31 17:26:41 -04:00
  • ca2fa587cf added tag to increment a variable each time it is referenced Michael Richardson 2010-08-31 16:17:12 -04:00
  • ae0a9b421a Context is no longer lost when moving into a Liquid FileSystem. #33 David Turnbull 2010-08-24 16:31:33 -07:00
  • 0526348cae Gemspec - rewritten v2.2.2 v2.2.1 DBA 2010-08-24 09:43:53 +08:00
  • a3fb7ba2b3 Merge branch 'master' of github.com:tobi/liquid Tobias Lütke 2010-08-23 20:22:58 -04:00
  • 77cc0f2ed9 Version bump v2.2.0 Tobias Lütke 2010-08-23 20:22:35 -04:00
  • 3d43efe2bc Ruby compatibility issues - regexp engines are different from 1.8 to 1.9, fixed the literal shorthand regexp accordingly - changed the shorthand regexp text from a match to a string scan - test_helper now loads rubygems unless RUBY_VERSION is > 1.9 DBA 2010-08-24 06:47:31 +08:00
  • 772233d881 Readme: pre to code DBA 2010-08-24 06:27:24 +08:00
  • 90d1bc26d8 History - updated (2.2.0 & 2.2.1) DBA 2010-08-24 06:25:15 +08:00
  • c00a650492 Literal - added support for literals [closes #6] DBA 2010-08-24 05:39:07 +08:00
  • 4819eb1a92 IF tag - now properly allows operands to have conditions (eg and, or) [closes #13] DBA 2010-08-24 01:19:58 +08:00
  • 8579807d29 Conditions - added test to assert that conditions can contain conditions within its value (eg 'a-and-b') DBA 2010-08-23 22:04:08 +08:00
  • daf786fd28 Test Helper - added assert_template_result_matches - fixed indentation / white spacing DBA 2010-08-23 18:45:04 +08:00
  • 101137045e remove swp files Tobias Lütke 2010-08-22 13:33:26 -04:00
  • 8a0a8cfd99 FiltersTest - added test that asserts nonexistent filters are ignored DBA 2010-08-22 20:57:37 +08:00
  • 8304a046c9 Context - Check arity of proc before calling, to prevent error when using ruby 1.9.1+ DBA 2010-08-22 20:50:33 +08:00
  • c72c84ea9b Tests - Organized the files - Cleaned up some of the white spacing issues - A lot can still be done to make the tests more readable to the new developers DBA 2010-08-22 20:42:26 +08:00
  • 01145f872b Test Helper - Removed unnecessary test helper file. The file being used is helper.rb DBA 2010-08-22 20:01:20 +08:00
  • 5409814552 Code beautifier - standard_filter_test.rb DBA 2010-08-22 20:00:30 +08:00
  • 2d9331a234 StandardFilters - Ruby 1.9.2-rc changed the float precision, thus the tests are now more generic and backwards compatible. DBA 2010-08-22 19:59:53 +08:00
  • c59cde9d17 Code beautifier - standardfilters.rb - standard_filter_test.rb DBA 2010-08-22 19:55:43 +08:00
  • 29e140b655 StandardFilters - added escape_once, based on ActionView DBA 2010-08-22 19:55:02 +08:00
  • a48332871a Test helper - extras path now uses File.join instead of string concatenation - extras path is only loaded into $LOAD_PATH if it's not already part of it DBA 2010-08-22 19:50:39 +08:00
  • bd7f867759 Code beautifier - strainer_test.rb DBA 2010-08-22 19:48:34 +08:00
  • 8e4573a7bf Strainer - respond_to_missing? is now a required method DBA 2010-08-22 19:47:33 +08:00
  • 5425679a96 Rakefile - Updated to run with Ruby 1.9.2-p0 - Fixed some indentations / white spacing DBA 2010-08-22 19:35:46 +08:00
  • 6831eac902 Released gem 2.1.3 v2.1.3 Tobias Lütke 2010-08-05 18:06:40 -04:00
  • 13f98de7f3 Change behavior of capture tag to use existing variables if they already have been initialized in an outer scope. Dennis Theisen 2010-06-03 20:18:09 +08:00
  • e26f509277 Fixed minor typos in inline documentation for assign and capture Dennis Theisen 2010-06-09 19:49:55 +08:00
  • 0417c9e723 Gem v2.1.2 v2.1.2 James MacAulay 2010-07-09 09:14:47 -04:00
  • ffd48880e2 Gem v2.1.1 v2.1.1 James MacAulay 2010-07-09 09:11:49 -04:00
  • 6b79f25c87 rake release James MacAulay 2010-07-09 09:11:41 -04:00
  • ff829e7996 fix if tag parsing with expressions starting with and/or James MacAulay 2010-07-07 16:48:23 -04:00
  • d53a4e1834 rake default task is 'test' James MacAulay 2010-07-06 16:01:15 -04:00
  • 5ff699bb8a Gem version 2.1.0. Don't use Hoe. v2.1.0 James MacAulay 2010-07-06 13:19:38 -04:00
  • d87500bfe3 Liquid strip_html strips out the content of <script> tags. [#173 state:resolved] Jesse Storimer 2009-04-27 17:01:50 -04:00
  • fce8bcb1e7 Change behaviour of arithmetic filters to cast arguments to numbers James MacAulay 2010-02-04 11:45:55 -05:00
  • 97548d4f01 shopify performance tests: add 'compact' size to product_img_url filter James MacAulay 2010-02-04 10:57:14 -05:00
  • cbf8986745 fix variable output with quoted strings containing pipe ("|") characters James MacAulay 2009-09-23 15:54:25 -04:00
  • 11dc18bfdf A better fix for "and"/"or" in strings (now with less side effects) James MacAulay 2009-09-23 15:44:29 -04:00
  • f42ce88456 fixed conditions with strings containing "and"/"or" James MacAulay 2009-09-14 15:01:26 -04:00
  • d1d6febfc1 'contains' operator returns false if either operand is nil James MacAulay 2009-08-19 19:38:31 -04:00
  • 0150067c40 Revert "Raise FilterNotFound on use of non-existent filter" James MacAulay 2009-08-19 19:24:33 -04:00
  • 2d0532e041 QuotedStrings can be empty James MacAulay 2009-08-19 18:37:40 -04:00
  • 167825aa92 further differentiate between environments and only evaluate Procs once James MacAulay 2009-08-07 11:24:15 -04:00
  • c792c29066 Templates and Contexts differentiate between different sources of assigns James MacAulay 2009-08-06 17:49:44 -04:00
  • a4d7c80ce0 now able to set file_system for include tag through registers James MacAulay 2009-08-06 18:24:27 -04:00
  • 7ff4352de2 Added convenience task rake profile:grind to load up KCacheGind Tobias Lütke 2009-06-15 10:35:49 -04:00
  • 44f35c0990 Performance improvement for Block parsing. ~ 10% speedup Tobias Lütke 2009-06-15 10:33:33 -04:00
  • a65bd76e72 Merge branch 'master' of git@github.com:tobi/liquid Tobias Lütke 2009-06-15 09:00:30 -04:00