Ashwin Maroli
9adac3a11e
Fix Rubocop offences in test files ( #7128 )
...
Merge pull request 7128
2018-07-12 10:21:23 -04:00
Roger Rohrbach
37b729fd87
Assert existence of <collection>.files ( #6907 )
...
Merge pull request 6907
2018-04-05 16:26:29 -04:00
Parker Moore
7cf5f51ca2
Enforce Style/FrozenStringLiteralComment. ( #6265 )
...
Merge pull request 6265
2017-08-03 21:27:32 -04:00
Anatoliy Yastreb
2ceff6ab3e
Read explicitly included dot-files in collections. #6091 ( #6092 )
...
Merge pull request 6092
2017-06-14 15:42:43 -04:00
ashmaroli
7d7a312b33
Bump Rubocop to v0.48 ( #5997 )
...
Merge pull request 5997
2017-04-09 07:24:45 -04:00
Pat Hawks
1d885911bc
Rubocop: Require consistent comma in multiline literals
2017-01-12 17:52:29 -06:00
jona
4f4a628df8
fix tests
2016-11-29 13:37:10 +01:00
Ashwin Maroli
1852e54d10
add and use 'skip_if_windows' helper method
...
- add a new helper method to skip tests if on Windows platform
- skip those tests that fail due to lack of support for symlinked files
on Windows.
2016-11-04 09:20:46 +05:30
XhmikosR
dbc0349909
tests: Typo fixes.
2016-07-18 21:20:47 +03:00
Brint O'Hearn
bc16d13d79
Shortening messages to keep things down to one line where possible
2016-05-16 19:31:43 -05:00
Brint O'Hearn
146d49dc8f
Rubocop test cleanups for #4885
...
This commit cleans up rubocop violations for the following files:
test/test_ansi.rb
test/test_cleaner.rb
test/test_coffeescript.rb
test/test_collections.rb
test/test_command.rb
test/test_commands_serve.rb
2016-05-16 19:26:53 -05:00
Pierre Fenoll
9347e90a67
Use EntryFilter throughout & update tests
2016-03-26 16:40:19 +01:00
jekyllbot
ac704b9763
Merge pull request #4545 from jekyll/allow-no-extensions-coll-docs
...
Merge pull request 4545
2016-02-29 15:50:29 -08:00
Parker Moore
d929242e2b
Permalinks which end in a slash should always output HTML
...
Duplicates #4493 for 3.1.1.
/cc @jekyll/core
2016-02-19 15:02:13 -08:00
Parker Moore
3aa80b7d04
Allow collections to have documents that have no file extension
2016-02-19 13:40:17 -08:00
Parker Moore
d7ff4234f0
Renderer#output_ext: honor folders when looking for ext
...
Previously, even if the document permalink was a folder, it would look for
an extension on that. For example, if I have:
permalink: "/new-version-jekyll-v3.0.0/"
the output_ext would be ".0". Now, the output_ext honors the trailing
slash and will report based on the converters instead.
2016-01-25 15:32:44 -08:00
Parker Moore
b89f943bf2
collections: posts as collection
2015-10-26 00:29:14 -07:00
Parker Moore
7ad0597bff
Make our own Minitest::Test subclass for further subclassing
2015-02-21 00:33:47 -08:00
Parker Moore
52c4ce2a5a
Finish of moving the unit tests over to Minitest
2015-02-21 00:31:07 -08:00
Parker Moore
4b59eb4175
Fix the test inheritance for the tests.
2015-02-20 13:35:02 -08:00
Parker Moore
9d547f74cc
Make all the tests happy.
2015-01-17 16:52:12 -08:00
Parker Moore
b2099ac763
Merge branch 'davidized-collection_yaml_dots'
...
* davidized-collection_yaml_dots:
Move YAML Front Matter regexp into a constant.
Add support for collections documents to have YAML front matter ending in dots.
Conflicts:
test/test_collections.rb
2015-01-17 15:24:33 -08:00
nitoyon
5e10958faa
Unescape Document output path
...
Document#destination wasn't unescaped properly.
For example, when we have a document named '_langs/c#.md',
we expect its url to be '/langs/c#.html',
but it was actually '/langs/c%23.html'.
We now unecape URL at Document#destination like Post#destination and
Page#destination.
2014-12-29 22:38:50 +09:00
David Williamson
d7e3d4df8f
Add support for collections documents to have YAML front matter ending in dots.
2014-11-20 14:38:17 -06:00
Parker Moore
817f6cb658
Fix problem where entries weren't stripped of their trailing slashes.
2014-11-03 22:16:47 -08:00
Parker Moore
0b9eb3c111
Ensure collections with dots work.
2014-06-28 16:51:44 -04:00
Mathieu Bruyen
921dbe0547
Override collection url template
2014-05-17 10:40:52 +02:00
Parker Moore
bac4075128
Collections' "written" attribute has been changed to "output".
...
This is a follow-up to 068d921ef6
.
2014-04-27 15:56:02 -04:00
Parker Moore
6225073095
Use the 'output' key instead of 'write' for writing out collections' document files.
2014-04-25 19:47:35 -04:00
Parker Moore
d2b1d538bf
Add test for collections' new #to_liquid sturff
2014-04-24 14:07:08 -04:00
Parker Moore
fb39b41ffb
NO MORE DATA COLLECTION I CAN'T HANDLE IT
2014-04-24 13:59:25 -04:00
Parker Moore
0dc680df0b
Always render collections, just don't always write them
2014-04-24 13:59:24 -04:00
Parker Moore
2f99e1d5c1
Fix test for non-collectionized sites still containing data coll
2014-04-14 22:46:22 -04:00
Parker Moore
aa502348e5
Filter entries in the collection per EntryFilter#filter
2014-04-14 22:46:21 -04:00
Parker Moore
45120ad3eb
Moar tests for collections.
2014-04-14 22:46:21 -04:00
Parker Moore
be769dcf00
SANITIZE THE collection name plz.
2014-04-14 22:46:21 -04:00
Parker Moore
37a7236e20
Homagah it all renders I think.
2014-04-14 22:46:21 -04:00
Parker Moore
50b46d7bee
OMG it's happening ~*Collections*~
2014-04-14 22:44:29 -04:00