1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-30 10:59:04 +01:00
Commit Graph

296 Commits

Author SHA1 Message Date
Oliver Steele
dd0fcdae87 make lint includes tests 2017-07-26 10:12:25 -04:00
Oliver Steele
fd230ed2cc Tests 2017-07-26 10:12:25 -04:00
Oliver Steele
2353433e66 Merge pull request #27 from Proximaio/feature/variadic_filters
Support registering variadic functions as filters
2017-07-26 10:07:04 -04:00
James Littlejohn
82a1a6ebb1 Support registering variadic functions as filters 2017-07-26 17:06:57 +10:00
Oliver Steele
fd7b1f0875 Treat []byte as string, for some purposes 2017-07-23 11:49:09 -04:00
Oliver Steele
763467338a test liquid:"-", not liquid:"" (both work, though) 2017-07-23 11:48:45 -04:00
Oliver Steele
306be633be teach iteration about MapSlice 2017-07-22 09:42:02 -04:00
Oliver Steele
96307fab92 "type" filters works on nil 2017-07-22 09:40:43 -04:00
Oliver Steele
46807c45ff Recognize yaml.MapSlice as a value 2017-07-22 09:14:32 -04:00
Oliver Steele
303027b72b Obey struct field tags 2017-07-22 08:57:02 -04:00
Oliver Steele
bbdb40ef98 Move structValue to own file 2017-07-22 08:36:40 -04:00
Oliver Steele
605d88329b gitgnore *.test 2017-07-22 08:20:41 -04:00
Oliver Steele
023fca4617 Benchmarks 2017-07-22 08:04:09 -04:00
Oliver Steele
51517990c9 Add engine.ParseString 2017-07-22 08:03:48 -04:00
Oliver Steele
560c55eb89 Value layer recognizes, resolves drops 2017-07-21 16:26:04 -04:00
Oliver Steele
fa5de60b78 Match Liquid/Ruby array[float] 2017-07-21 16:23:08 -04:00
Oliver Steele
8040e9ee3a Remove generic Index, ObjectProperty 2017-07-21 16:22:50 -04:00
Oliver Steele
cf54755949 Remove obsolete generic predicates
The Value interface now does this
2017-07-21 16:02:30 -04:00
Oliver Steele
1bc9726ae5 Document values, includng new struct behavior 2017-07-21 12:06:39 -04:00
Oliver Steele
a07e5fa28b Add some tests 2017-07-21 11:56:04 -04:00
Oliver Steele
df3f7b2c7d Remove obsolete note re Awesome Go 2017-07-21 11:36:35 -04:00
Oliver Steele
f670bfcb13 Add top-level test cases for &map, struct
The are from #23
2017-07-21 11:35:11 -04:00
Oliver Steele
c94902613d Merge pull request #25 from Proximaio/feature/readme_typo
Change name of repository in README to liquid from goliquid
2017-07-21 11:28:15 -04:00
Oliver Steele
a5a8785a7d Merge pull request #24 from Proximaio/feature/filter_errors_returned_as_errors
Return errors applying filters as render errors
2017-07-21 11:27:54 -04:00
James Littlejohn
3d99b41252 Add test 2017-07-21 10:57:52 +10:00
James Littlejohn
08cf333161 Change name of repository in README to liquid from goliquid 2017-07-21 10:49:35 +10:00
James Littlejohn
8ee8cef491 Return errors applying filters as Render errors 2017-07-21 10:36:44 +10:00
Oliver Steele
de5fffa5c6 Property access to struct pointers 2017-07-20 10:40:46 -04:00
Oliver Steele
2cdd59d821 Property access to struct values 2017-07-20 10:29:05 -04:00
Oliver Steele
1b0f0cfd25 Implement #11 contains on hashes 2017-07-20 09:52:05 -04:00
Oliver Steele
222559a6c6 Allow value to be a pointer 2017-07-20 09:42:36 -04:00
Oliver Steele
17def2556e Test cases for new code 2017-07-20 09:37:56 -04:00
Oliver Steele
85cd6c9385 Wrap values instead of using generic functions 2017-07-20 09:12:31 -04:00
Oliver Steele
510b0cbfee make lint enables gofmt 2017-07-19 21:32:45 -04:00
Oliver Steele
17c5c9c145 Update expressions.y ParseError -> SyntaxError 2017-07-19 21:30:25 -04:00
Oliver Steele
dde3ea7604 Lint 2017-07-19 10:54:38 -04:00
Oliver Steele
023536f149 Coverage 2017-07-19 10:49:39 -04:00
Oliver Steele
73f0fefaab Lint 2017-07-19 10:26:11 -04:00
Oliver Steele
27580ca2a5 Coverage 2017-07-19 10:03:11 -04:00
Oliver Steele
5f79cf19df Remove quote from README 2017-07-19 09:42:19 -04:00
Oliver Steele
413b3283bf Coverage 2017-07-19 09:42:01 -04:00
Oliver Steele
7af399ae6f Rename parse error -> syntax error 2017-07-18 18:40:19 -04:00
Oliver Steele
a78d95d73f Coverage 2017-07-18 18:40:19 -04:00
Oliver Steele
67cb2e0462 Iterating over hash yields [key, value] pairs 2017-07-17 12:21:39 -04:00
Oliver Steele
2c497e3bbb Quote tag names in error messages 2017-07-17 12:19:14 -04:00
Oliver Steele
6701199fad Disable interfacer linter 😦 2017-07-16 18:09:18 -04:00
Oliver Steele
dd49b227b6 Whitespace control uses byte.Buffer 2017-07-16 18:02:07 -04:00
Oliver Steele
f9ac12bb26 Implement whitespace control 2017-07-16 17:43:04 -04:00
Oliver Steele
bf43fb85d1 Scan whitespace control 2017-07-16 14:15:11 -04:00
Oliver Steele
af93d57f0e Report the line only if != 0 2017-07-16 13:49:37 -04:00