Parker Moore
3f4bb55e07
Write a Rubocop Cop to ensure no `#p` or `#puts` calls get committed to master. ( #6615 )
...
Merge pull request 6615
2018-01-20 17:04:52 -05:00
jekyllbot
2c646a304c
Avoid block parser warning in SmartyPants ( #6565 )
...
Merge pull request 6565
2017-11-17 16:36:11 -05:00
Pat Hawks
41312370a3
Add extra smartify test
2017-11-12 11:52:18 -06:00
Pat Hawks
582165897d
Allow URL filters to work directly with documents ( #6478 )
...
Merge pull request 6478
2017-11-10 11:35:44 -05:00
Johannes Müller
a66c4780cc
filter relative_url should keep absolute urls with scheme/authority ( #6490 )
...
Merge pull request 6490
2017-11-05 10:17:51 -05:00
jekyllbot
e7f1ce2e2b
Update Rubocop to 0.51.0 ( #6444 )
...
Merge pull request 6444
2017-10-19 14:22:36 -04:00
Ben Balter
045226f160
Guard against type error in absolute url ( #6280 )
...
Merge pull request 6280
2017-08-10 11:14:52 -04:00
Parker Moore
7cf5f51ca2
Enforce Style/FrozenStringLiteralComment. ( #6265 )
...
Merge pull request 6265
2017-08-03 21:27:32 -04:00
Ben Balter
b35c0d8607
Call to_s on site.url before attempting to concatenate strings ( #6253 )
...
Merge pull request 6253
2017-07-30 15:12:42 -04:00
Ben Balter
9f7815786b
Always normalize the result of the relative_url filter ( #6185 )
...
Merge pull request 6185
2017-06-30 21:58:25 -04:00
Ben Balter
69e97fa06f
Add strip_index filter ( #6075 )
...
Merge pull request 6075
2017-06-15 14:28:41 -04:00
Anatoliy Yastreb
d3b00cb84c
Bump Rubocop to 0.49.1 ( #6093 )
...
Merge pull request 6093
2017-06-15 08:29:35 -04:00
David Zhang
551d2ea858
Add test for uri_escape on reserved characters ( #6086 )
...
Merge pull request 6086
2017-06-14 16:36:40 -04:00
Martin Desrumaux
e031ac9b27
Allow filters to sort & select based on subvalues ( #5622 )
...
Merge pull request 5622
2017-06-14 16:18:07 -04:00
Florian Thomas
b76b4a4e8a
add test to use variable in where_exp condition
2017-06-14 15:22:26 -04:00
ashmaroli
2a4d33e615
patch URLFilters to prevent `//` ( #6058 )
...
Merge pull request 6058
2017-06-14 15:06:55 -04:00
jekyllbot
768d2bb5a3
absolute_url should not mangle URL if called more than once ( #5789 )
...
Merge pull request 5789
2017-04-05 16:16:55 -04:00
jekyllbot
52ac75b484
Date filters should never raise an exception ( #5722 )
...
Merge pull request 5722
2017-04-04 19:47:11 -04:00
Pat Hawks
6bc9f71050
Rename test for clarity
2017-03-16 07:59:13 -05:00
Pat Hawks
ec5b45cd7c
Allow colons in `uri_escape` filter
...
Fixes #5954
2017-03-16 07:54:13 -05:00
Parker Moore
b6bc85ec7c
Correct 2 Style/TrailingCommaInLiteral rubocop offenses in test_filters.rb
2017-01-18 14:16:08 -05:00
jekyllbot
76e9b8d266
Merge pull request #5542 from ashmaroli/url-slash
...
Merge pull request 5542
2017-01-17 20:21:48 -05:00
Pat Hawks
1d885911bc
Rubocop: Require consistent comma in multiline literals
2017-01-12 17:52:29 -06:00
Ashwin Maroli
ea9c303c95
Merge branch 'master' of https://github.com/jekyll/jekyll into url-slash
2017-01-06 12:02:34 +05:30
jekyllbot
8ed324007a
Merge pull request #5513 from thiagoarrais/5415-group_by_exp-filter
...
Merge pull request 5513
2016-12-09 16:01:21 -08:00
Thiago Arrais
d4c8d7fd2b
Ignore symlinked file in windows
2016-12-09 13:15:16 -03:00
Thiago Arrais
4ed41558d1
Whoops!
2016-11-30 17:54:59 -03:00
Tim Banks
5c965d6a20
Add connector param to array_to_sentence_string filter
2016-11-22 17:38:33 -06:00
Thiago Arrais
7f18ac8f99
Group using arbitraty Liquid expressions
2016-11-04 18:16:46 -03:00
Ashwin Maroli
9192e66b7b
assert instead of refuting
2016-11-04 01:17:54 +05:30
Ashwin Maroli
894d2a0415
test double slash when input = '/'
2016-11-04 00:50:54 +05:30
Ashwin Maroli
e6b9dd1cc1
TestFilters: adjust array size to ignore symlinks
...
Adjust the size of grouped-items array as it won't include symlinked
pages in Windows.
2016-11-02 22:55:12 +05:30
Pat Hawks
2b30c06140
Use Addressable to better deal with i18n URLs
2016-09-24 15:34:00 -05:00
Pat Hawks
aebf711c61
Failing tests: URL filters choke on i18n
2016-09-24 15:11:04 -05:00
Parker Moore
aa86651650
Add absolute_url and relative_url filters.
2016-09-22 14:16:00 -07:00
Parker Moore
29d8fee4ce
Add test to ensure that the /assets theme reader doesn't clobber preexisting site files.
2016-09-20 13:12:34 -07:00
Jeff Kolesky
05445b81c7
Fixes tests to account for new info.md file
2016-08-04 19:40:14 -07:00
jekyllbot
0f3ce73516
Merge pull request #4860 from pathawks/pr/where_exp
...
Merge pull request 4860
2016-07-25 12:16:55 -07:00
Anatoliy Yastreb
9176924eab
filters: raise error if no input given to date filters
2016-07-24 01:37:35 +03:00
XhmikosR
dbc0349909
tests: Typo fixes.
2016-07-18 21:20:47 +03:00
David Zhang
20b3758edb
Add to_integer filter
...
Add to_integer filter
Fix test_filter: parenthesize the method
Fix offense: seperate every 3 digits with _
rubocop:disable Metrics/ModuleLength
More descriptive exception
Fix fmt error
Remove if stmt for integer input
Remove rescue for to_i
Remove error message assert
2016-07-15 08:38:36 +08:00
Florian Thomas
99663a9199
object needs to respond to select instead of being an enumerable
2016-07-14 13:11:09 -05:00
Pat Hawks
2b57795c7f
Failing test: where_exp filter should filter posts
2016-07-14 13:08:25 -05:00
Parker Moore
a7d25ed963
Fix rubocop offenses on master.
2016-06-28 22:08:06 -07:00
jekyllbot
fb1a459ddd
Merge pull request #4917 from pathawks/pr/normalize_whitespace
...
Merge pull request 4917
2016-06-14 14:03:05 -07:00
Pat Hawks
5dfaa66d48
Failing test: markdownify a number
2016-05-28 15:18:37 -05:00
Pat Hawks
6ef2bcb29a
Rubocop: test/test_filters.rb
2016-05-25 21:59:11 -05:00
Parker Moore
f8c708ffec
Fix test to simply ensure next is an object in jsonify
2016-05-24 19:08:50 -05:00
Parker Moore
17d8c96a63
Add ability to render drops as JSON
...
Previously you could do, e.g. {{ site | jsonify }}, but with the introduction of Liquid Drops, this didn't work anymore.
This PR adds the ability to render drops as JSON. You can safely run drop.to_json and it should Do the Right Thing.
2016-05-24 19:08:46 -05:00
Pat Hawks
f7714add15
Add normalize_whitepace filter
2016-05-19 19:59:22 -07:00