Parker Moore
078b2785e4
Revert "Make permalink parsing consistent with pages"
2014-10-18 12:07:44 -07:00
Alfred Xing
ccef84a803
Update Cucumber tests to match new permalink parsing
2014-09-24 22:08:25 -07:00
Pat Hawks
5445a1bead
Add test for Use per-post permalinks ending in .htm
2014-09-14 11:36:26 -07:00
Parker Moore
943dc27e78
Add a space because regexp.
2014-08-30 22:40:32 -07:00
Parker Moore
eea5921856
Fix test for Liquid rendering in Sass.
2014-08-30 21:54:50 -07:00
Parker Moore
ca2e291306
prettier exceptions for cucumber. [ci skip]
2014-08-30 19:42:15 -07:00
Parker Moore
106148280d
Use POSIX::Spawn instead of system to launch Jekyll
2014-08-30 19:29:01 -07:00
Parker Moore
f9bc50e010
Fix the custom Cucumber output.
2014-08-30 19:28:37 -07:00
Parker Moore
efd2c17eba
Don't print out docstrings.
2014-08-30 18:37:00 -07:00
Chris Frederick
1238ccefcc
Fix Cucumber scenario
2014-08-26 22:24:18 +09:00
Kamil Dziemianowicz
3b7091aab7
Find variables in _config.yaml by searching with relative file path.
2014-08-20 00:07:51 +02:00
James Smith
687176e22c
Autoload csv files from data directory
2014-08-16 14:54:14 +01:00
Parker Moore
141ce32382
Custom formatter.
2014-08-12 18:06:47 -04:00
ChaYoung You
3768d90278
Use category in downcase only for URL ( Resolves #1739 )
2014-08-07 11:27:41 +09:00
Ivan Tse
83f726f503
Add tests for include tag with partial variables
2014-08-05 01:04:20 -04:00
Parker Moore
81807cb5af
Merge pull request #2615 from alfredxing/collections-static-files
2014-08-02 14:44:45 -04:00
Alfred Xing
a902fefed5
Add blank frontmatter to feature test
2014-08-01 13:24:27 -07:00
Alfred Xing
6d62dbbafc
Replace deprecated Ruby methods
...
Replace `Hash#has_key?` and `File.exists?` with `Hash#key?`
and `File.exist?`
2014-07-31 12:50:20 -07:00
ChaYoung You
2716f65010
Add tests for duplicated categories
2014-07-10 18:03:50 +09:00
ChaYoung You
8006024715
Add missed tests for categories
2014-07-10 18:03:41 +09:00
ChaYoung You
2616a4cf5e
Replace duplicated `category` feature with `categories`
2014-07-10 17:44:51 +09:00
Ben Hollis
cbb4b10ce6
Update Maruku dependency to allow use of the latest version.
...
All Maruku releases post-0.6 follow semver, so they should be backwards-compatible on minor versions. In this case, the only test that needed to change was one that was asserting buggy behavior that was fixed in 0.7.1.
2014-07-08 19:44:40 -07:00
Ben Balter
05f1fac2a7
Add feature for layouts vuln.
2014-07-01 18:29:01 -04:00
Anatol Broder
880a503094
Add a test
2014-06-24 20:27:01 +02:00
Parker Moore
35ed101651
Add test for the concatenation of categories
2014-06-18 18:19:28 -04:00
Parker Moore
d59b2c3ef6
Merge pull request #2419 from jens-na/collection-defaults
2014-06-12 20:38:21 -04:00
Anatol Broder
df334e809e
Remove coverage reporting with Coveralls
2014-06-09 02:35:55 +02:00
Jens Nazarenus
467945bedb
Fixes the extra indentation in cucumber test
2014-06-01 22:21:31 +02:00
Jens Nazarenus
e868a8437f
Includes tests for frontmatter defaults in documents
2014-06-01 22:21:31 +02:00
Parker Moore
62129d9a2f
Output Jekyll output if ENV['DEBUG'] exists
2014-05-26 20:09:13 -04:00
Parker Moore
3c6377d665
Merge pull request #2395 from rdumont/data-subdirectories
2014-05-21 01:09:15 -04:00
Parker Moore
65275e5841
Merge pull request #2431 from jekyll/remove-collections-from-layouts
2014-05-21 01:07:01 -04:00
Parker Moore
e37b3ca8e1
Any assets read in as Pages shall not be rendered or layout'd
2014-05-21 00:52:21 -04:00
Mathieu Bruyen
921dbe0547
Override collection url template
2014-05-17 10:40:52 +02:00
Rodrigo Dumont
12a8be0b98
Add scenario for ensuring data folder over file precedence
2014-05-12 13:47:41 -03:00
Rodrigo Dumont
604fb3286c
Allow subdirectories in _data
2014-05-11 20:28:49 -03:00
Parker Moore
01c09fd7fa
Merge pull request #2345 from penibelst/sort-collection
2014-05-10 15:42:53 -04:00
Ben Balter
5129a3ccc3
add tests for json data
2014-05-09 10:29:37 -04:00
Anatol Broder
5dcd84b71b
Resolve conflict
2014-05-09 08:56:04 +02:00
Anatol Broder
6c48e9bbdf
Simplify config
2014-05-09 08:53:21 +02:00
Anatol Broder
7f1b916f32
Fix output
2014-05-09 08:53:21 +02:00
Anatol Broder
d8e68bc0e1
No output needed
2014-05-09 08:53:07 +02:00
Anatol Broder
9f6965c1b5
Add scenario for sorting by title
2014-05-09 08:51:57 +02:00
Aaron Broder
f68098c7fc
Add test for using where filter on collections
2014-05-08 12:04:54 -07:00
Matt Rogers
5c109ee8dc
Merge pull request #2299 from penibelst/sort-nils
2014-05-06 16:49:40 -05:00
Anatol Broder
7c1709fab4
Change nils argument to string
2014-05-06 21:36:13 +02:00
Parker Moore
ea054ef149
Add test for document.output.
...
Test for ref: 00f21ee93c
Closes #2232 .
2014-05-06 15:27:13 -04:00
Parker Moore
3755437d08
Write test for site.documents.
2014-05-06 00:11:35 -04:00
Anatol Broder
12d9f8b02b
Add scenario for ordering pages without title last
2014-05-05 10:49:29 +02:00
Anatol Broder
367a818c26
Fallback title based on time
2014-05-05 10:37:21 +02:00
Anatol Broder
3517b9f4e2
Add scenario
2014-05-05 10:35:19 +02:00
Robin Dupret
3a610882f6
Avoid duplicated output using highlight tags
...
While using Rouge and an `highlight` tag, the output was duplicated
since the `output` variable in the Liquid tag definition was equal to
the highlighter's prefix value and the `<<` method changes its receiver.
Therefore, we should simply define an empty string and append the prefix
if it is present.
2014-04-27 12:22:40 +02: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
2ccf7f1cfb
Run jekyll build in features (must give subcommand)
2014-04-25 13:04:56 -04:00
Parker Moore
c906dfdf71
TEST THE COLLECTIONS
2014-04-24 14:01:23 -04:00
Martin Charles
f9375d5660
Cleaned up cucumbers
2014-04-23 13:40:21 -04:00
Parker Moore
9db5a1a6ce
Merge pull request #2205 from jekyll/maul-esel-frontmatter-defaults
2014-04-21 23:01:05 -04:00
Matt Rogers
22f7380abe
Change the feature to not use `page.name`
...
Use `page.description` in the cucumber feature instead. `page.name`
isn't overridable anymore.
2014-04-15 20:15:16 -05:00
Parker Moore
5a6f1d42a9
Fix #filtered_entries so it returns a new Array if the directory doesn't exist
2014-04-14 23:03:19 -04:00
Parker Moore
f0e68d7d86
Expose collections as site.<collection_name> in Liquid as array of docs.
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
75f49a751e
OMG COLLECTIONS ARE RENDERING CALL THE POLICE
2014-04-14 22:46:21 -04:00
Parker Moore
7fef0302a7
Strike duplicate methods & :collection_name filler
2014-04-14 22:45:20 -04:00
Parker Moore
f082eca791
GUYS failing test for rendering
2014-04-14 22:45:20 -04:00
maul.esel
2804e08908
delete old superfluous tests; extend feature
2014-04-07 16:22:04 +02:00
maul.esel
1997281449
Add feature for the "--unsupported" flag
...
Also make step definitions a little more generic.
2014-04-07 16:22:04 +02:00
maul.esel
eded314bb1
add a cucumber feature to test "published" for pages
2014-04-07 16:13:20 +02:00
Marcus Stollsteimer
fec6b59950
Use File.exist? instead of deprecated File.exists?
2014-04-06 13:31:34 +02:00
Parker Moore
6bd07501e8
Merge branch 'frontmatter-defaults' of git://github.com/maul-esel/jekyll into maul-esel-frontmatter-defaults
...
* 'frontmatter-defaults' of git://github.com/maul-esel/jekyll:
move self.type to convertible
oops, fix minor indentation quirk
document frontmatter defaults precedence
adjust frontmatter defaults precedence handling
change cucumber feature to test for precedence too
fix frontmatter defaults for custom paths
more robust cucumber features
fix slash handling for paths
move cucumber features to own file
fix minor docs quirk
improve path checking, now using Pathname instead of regex
Add site documentation for the new feature
add inline code docs
improve validation code
fix for Ruby 1.8
Add basic cucumber features for frontmatter defaults
Retrieve frontmatter defaults when retrieved internally
make frontmatter defaults available to liquid
add a class `FrontmatterDefaults` for handling of frontmatter defaults
Add a method to retrieve type to post, page and draft
Conflicts:
lib/jekyll.rb
lib/jekyll/convertible.rb
lib/jekyll/core_ext.rb
lib/jekyll/page.rb
lib/jekyll/post.rb
2014-04-04 15:32:27 -04:00
Daniel Schauenberg
81e4e1d8f4
add support for unpublished drafts
...
I keep all my ideas for blog posts as drafts in my draft folder. However I'm
only really working on a couple at once. This let's me mark drafts that I'm
not working on right now as unpublished so they don't clutter the site while
I'm checking on the other drafts.
2014-03-22 19:52:10 -04:00
Parker Moore
53c42d000f
Move test dir to inside tmp in this repo.
2014-03-18 23:53:31 -04:00
Slava Pavlutin
6eef4b65ff
Remove redundant whitespace in a Cucumber feature
2014-03-01 23:32:30 +04:00
Slava Pavlutin
2f79262f80
Fix tables alignments in Cucumber features
2014-03-01 23:10:05 +04:00
Anthony Smith
18279558da
Update #relative_path for _drafts and add tests.
...
Resolves #2019 . Add new tests for drafts. Also check path variable in
test for posts.
2014-02-11 12:48:34 +00: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
Matt Rogers
012387396a
Merge pull request #1859 from robin850/rouge
2013-12-30 22:45:07 -06:00
Matt Rogers
a2fd8ba7c3
Merge pull request #1849 from afeld/sort-attributes
2013-12-30 20:31:45 -08:00
Parker Moore
1a3a607fcf
Merge pull request #1831 from jekyll/default-maruku-fenced-code-blocks
2013-12-25 22:14:23 -08:00
Robin Dupret
5647a902de
Remove a useless given step
...
Since the highlighter configuration option should default to pygments,
we don't have to explicitly set it in the step testing the output with
pygments.
2013-12-23 13:03:29 +01:00
Robin Dupret
0831d2b0f8
Add support for the Rouge syntax highlighter
...
By setting the `highlighter` setting to `rouge` you can now easily
highlight your code with it instead of relying on Pygments. However,
Jekyll doesn't depend on Rouge explicitly, you will need to install it
or add it to your Gemfile.
The documentation has been updated accordingly.
2013-12-22 18:45:40 +01:00
Robin Dupret
903cce2745
Fix the highlight tag feature
...
Previously, the assertion made wasn't enough to check whether the code
block was correctly parsed through Pygments (and it was not the case).
This commit simply ensure there is a div with the "highlight" class and
fix the test to correctly invoke the Liquid tag rendering.
2013-12-22 12:29:19 +01:00
Aidan Feldman
8c1706b66e
clean up custom variable sort feature
2013-12-19 03:36:48 -05:00
Aidan Feldman
35712dcadc
add failing test for sorting pages by custom variables
2013-12-19 03:35:57 -05:00
Aidan Feldman
396aa16f99
refactor step to support page creation
2013-12-19 02:27:23 -05:00
Aidan Feldman
5b2480c8ba
refactor file+matter creation in cucumber steps
2013-12-19 01:58:46 -05:00
Jens Nazarenus
43ef9a2e4f
variables in include tag with filters
2013-12-17 23:51:52 +01:00
Parker Moore
d362faea3b
Add two tests for Maruku fenced code blocks
2013-12-15 16:08:45 -05:00
Matt Rogers
39b6fe732f
Merge pull request #1780 from mojombo/kill-1-8
2013-12-11 06:08:10 -08:00
Parker Moore
b58cd5c132
Merge pull request #1657 from mojombo/safe-whitelist
...
A gem-based plugin whitelist for `safe` mode
2013-12-07 21:41:55 -08:00
Parker Moore
1297ed5c1d
Remove weird 1.8.7 workarounds in features env
2013-12-06 01:42:37 -05:00
Parker Moore
5591ff2a6b
Whoops, it's called 'jekyll_run_output'
2013-12-06 00:57:19 -05:00
Parker Moore
bce2c2efb4
Print the output of Jekyll if the command fails
2013-12-06 00:52:33 -05:00
Parker Moore
6187861e91
Add test code for 'whitelist' option.
2013-12-06 00:21:34 -05:00
maul.esel
f1869cda98
Merge branch 'master' into frontmatter-defaults
2013-12-05 19:29:57 +01:00
Matthew Iversen
fb9de8cbf6
Fix tests to expect maruku 0.7 output
2013-12-05 12:20:11 +11:00
Matt Rogers
9e9abcb516
Merge pull request #1448 from penibelst/replace-yoursite
...
Replace yoursite.com by example.com
2013-11-22 20:59:27 -08:00
Greg Karékinian
49d5c3457c
Remove extra trailing whitespace
2013-11-20 00:50:56 +01:00
maul.esel
8382a8b91b
add test case for variable include tag in a loop
2013-11-14 20:47:42 +01:00
Anatol Broder
4abd93567f
Example FTW
2013-11-11 18:52:37 +01:00
Matt Rogers
bd825924b2
Merge pull request #1582 from mojombo/seconds_agnostic_time
...
Get some nice Regexp which is agnostic about the seconds.
2013-10-23 22:57:18 -05:00