Aidan Feldman
0662d31bf6
fix jsonify filter when used with boolean values
2014-11-26 02:40:41 -06:00
Parker Moore
18930b01f6
Fix up the assertions.
2014-11-05 11:39:15 -08:00
Parker Moore
b29fd6d380
Add tests.
...
Need to fix up the assertions to match the output.
2014-11-05 11:37:51 -08:00
Parker Moore
3fb1356593
The jsonify filter should deep-convert to Liquid when given an Array.
...
Fixes https://github.com/github/choosealicense.com/issues/225
2014-10-27 15:58:42 -07:00
Mike Kruk
56ac50c568
where filter - test return value when filtering a Hash
2014-10-08 17:02:36 -04:00
Mike Kruk
f6ea8b4d50
Allow Enumerables to be used with "where" filter.
2014-10-08 16:19:55 -04:00
Parker Moore
196a56e3ec
Add push, pop, shift, and unshift Liquid filters.
...
Fixes #2892 .
2014-09-09 21:29:23 -07:00
Chris Frederick
77297744ce
Add a test for the slugify Liquid filter
2014-09-07 16:49:14 +09:00
Shu Uesugi
cfd17b2e7d
Add inspect filter
2014-09-01 14:51:09 -07:00
Kevin
566d3718b0
added sassify and scssify filters fot converting sass and scss strings to css
2014-08-12 21:24:04 -06:00
Parker Moore
4147e92561
Merge pull request #2417 from jekyll/jekyll-env
2014-05-17 00:53:55 -04:00
Parker Moore
3413c96845
Add test for Jekyll.env
2014-05-17 00:47:03 -04:00
Parker Moore
04b0fe0160
Merge pull request #2377 from jekyll/numeric
2014-05-16 03:50:50 -04:00
Parker Moore
4d1c84aa2b
date_to_xmlschema does some weird things with timezones, but whatever it's not important.
2014-05-16 03:42:35 -04:00
Anatol Broder
7cd95734df
Fix coding for 1.9.3
2014-05-11 02:22:58 +02:00
Anatol Broder
06cebb0816
Add ascii+utf8 sort. Props @ixti
2014-05-11 01:34:09 +02:00
Anatol Broder
b2f30f5bee
Test Russian and Hebrew sort
2014-05-11 01:06:35 +02:00
Parker Moore
af9f1e6f48
Accept Numeric values for dates.
2014-05-09 23:11:05 -04:00
Anatol Broder
7c1709fab4
Change nils argument to string
2014-05-06 21:36:13 +02:00
Anatol Broder
558d0e8ac9
Add more strings tests
2014-05-06 21:07:09 +02:00
Anatol Broder
9c9e96cfa7
Add lexicographical sort test
2014-05-06 07:48:33 +02:00
Anatol Broder
cc80aab191
Add generic tests
2014-05-05 11:14:07 +02:00
Parker Moore
1e16ab4d26
end the ned
2014-04-19 12:35:58 -04:00
Ben Balter
e91a90899c
do the do
2014-04-18 18:12:47 -04:00
Ben Balter
4f7b1f3306
no -> not
2014-04-18 16:56:37 -04:00
Ben Balter
6f0bebdfda
convert input to string before xml escaping
2014-04-18 16:54:48 -04:00
nitoyon
e3e1c11509
Fix Page#url escape
...
Post#url wasn't escaped at all.
For example, when we have a page named 'a#b.html',
we expect its url to be 'a%23b.html',
but it was actually 'a#b.html'.
We now use Jekyll::URL.escape_path and Jekyll::URL.unescape_path.
2014-03-21 16:57:41 +00:00
Parker Moore
9659cfe876
Test site.static_files
2014-02-19 13:34:44 -05:00
Parker Moore
ab0ebadee3
Merge master into security-vuln-patches
2014-02-16 22:02:03 -05:00
Parker Moore
d43341fab0
Merge pull request #2009 from penibelst/test-sass-include
2014-02-13 17:56:38 -05:00
Parker Moore
dd3018ce02
Merge pull request #1988 from jekyll/maruku-to-kramdown
2014-02-08 17:07:54 -05:00
Parker Moore
22f2001ff5
Set default markdown converter to Kramdown
...
- Update default markdown converter in docs for configuration
- Update tests so they are in line with Kramdown output
- Add deprecation message to when config is built
2014-02-08 13:17:46 -05:00
Parker Moore
ac8d8a7cb8
Fix some tests
2014-02-08 00:31:26 -05:00
Anatol Broder
8e0a826cc7
Fix group_by_filter test by adding 2 items
2014-02-04 01:31:37 +01:00
Parker Moore
fdbfd719ca
Add CoffeeScript converter.
2014-01-25 20:38:51 -05:00
Ben Balter
e3be74e376
sanity check for pages permalink traversal
...
Signed-off-by: Parker Moore <parkrmoore@gmail.com>
2014-01-13 22:21:30 -08:00
Parker Moore
a5f1bc0341
Fixed the tests... I guess Hash literals aren't ok.
2014-01-03 21:23:02 -08:00
Parker Moore
b4383a5c42
Flesh out tests for where filter for @mattr- 😃
2014-01-03 21:23:02 -08:00
Ben Balter
39e4d6b3ba
add where filter to filter arrays of objects
2014-01-03 21:23:02 -08:00
Aidan Feldman
2bfafb3b33
make non-data properties/methods accessible to Liquid
...
per https://github.com/jekyll/jekyll/pull/1849/files#r8490593
2013-12-22 03:38:32 -05:00
Parker Moore
381ab4e71b
Implement group_by Liquid filter & tests.
2013-12-08 01:16:48 -05:00
liufengyun
f971aebfb1
support jsonify filter
2013-10-22 23:52:22 +08:00
Parker Moore
c9bd1437a3
Testing parsing of String objects which represent times to Date filters
2013-05-04 14:41:21 +02:00
Rafael Rosa Fu
7879d2e02c
Fixed expected output from xmlschema and rfc822
2013-03-29 01:07:47 -04:00
Rafael Rosa Fu
186b68adb0
Added filter date_to_rfc822
...
According to the W3C RSS Feed Validator, feeds must format dates as described
on RFC-822 to be valid. Refer to their site to get more info:
http://feedvalidator.org/docs/error/InvalidRFC2822Date.html
I also added a couple of missing unit tests to the other date filters
2013-03-27 02:21:48 -04:00
Tom Preston-Werner
851172b5ef
Replace rdiscount filter with config-aware markdownify.
2011-05-31 14:40:21 -07:00
Tom Preston-Werner
cae0eaf19c
Merge remote-tracking branch 'mjschultz/master'
...
Conflicts:
lib/jekyll/filters.rb
2011-05-30 12:27:11 -07:00
Tom Preston-Werner
6a31e650f3
Tests and specs run under 1.9.
2011-04-24 18:39:27 +08:00
Michael J Schultz
9e3ad69922
- added rdiscount filter for templating system (like the textilize filter, but for markdown)
2011-03-03 08:14:52 -06:00
Christopher H. Laco
4c08643c50
Added uri_escape for cases where cgi_escape isn't appropriate
2010-11-12 11:15:30 -05:00