Commit Graph

349 Commits

Author SHA1 Message Date
Parker Moore
6cf6da04af features: change jekyll bin path to use exe/jekyll 2016-06-15 12:12:44 -07:00
Nathan Hazout
d1f4d874be Added a scenario for #4414 2016-06-15 11:21:02 +03:00
jekyllbot
eba9a2716b Merge pull request #4908 from jekyll/add-timing-cucumber
Merge pull request 4908
2016-06-13 14:23:41 -07:00
Parker Moore
f5a0db9dcc Rubocop: use %r for all regular expressions. 2016-06-02 17:08:21 -07:00
Parker Moore
956495f450 Fix typo. 2016-06-02 16:47:14 -07:00
Parker Moore
4b1012537f Use #take instead of #take_while 2016-06-02 16:44:12 -07:00
Parker Moore
6355a07d4b Only do top 10 worst offenders in cucumberland 2016-06-02 16:43:47 -07:00
Parker Moore
14b36aae38 Add timings for each scenario in cucumber 2016-06-02 16:43:32 -07:00
Anatoliy Yastreb
22982ef79e rubocop: fix over tabbed variable assignment 2016-05-27 13:59:18 +03:00
Anatoliy Yastreb
d5d2fd8674 rubocop: fix code style 2016-05-27 13:34:45 +03:00
Pat Hawks
45a5a976f0 Rubocop: features/support/helpers.rb 2016-05-26 12:00:21 -05:00
Pat Hawks
ab3cda6e58 Rubocop: features/support/formatter.rb 2016-05-26 12:00:01 -05:00
Parker Moore
8e939cd86e Add failing test for layout data inheritance bug (#4433) 2016-05-24 18:57:54 -05:00
Parker Moore
a99adcafaa Add failing test for layout bug (#4897) 2016-05-24 18:57:53 -05:00
Parker Moore
12deccc513 Only spec.summary is needed... 2016-05-19 14:39:55 -07:00
Andrew Artajos
2d8a228b59 Fixed a typo
Fixed a typo from indend to indent. Just making the code more readable.
2016-05-05 09:14:03 +10:00
jekyllbot
298d56aab2 Merge pull request #4808 from jekyll/fix-collection-defaults-
Merge pull request 4808
2016-04-21 17:20:02 -07:00
Parker Moore
d5dd423bfd Add cucumber specs. 2016-04-21 16:09:23 -07:00
Florian Thomas
46dd5cf5a2 add failing test for scope values in subdirs
ref #4458
2016-04-18 13:55:51 -07:00
Jeff Kolesky
67904e849d Ensures related_posts are only set for a post
Prior to this change, the related posts for the most recently rendered post
stayed set on the `site` object. This could result in pages that showed related
posts even when the page represented an entire collection of posts, such as on
an index page.  This change restores the functionality from Jekyll V2.
2016-03-01 12:05:49 -08:00
Parker Moore
3aa80b7d04 Allow collections to have documents that have no file extension 2016-02-19 13:40:17 -08:00
jekyllbot
ccb382679a Merge pull request #4195 from jekyll/pull/cleanup-document__post_read
Merge pull request 4195
2016-01-22 13:13:18 -08:00
Parker Moore
6c40c7f553 collections.feature: check for 0 exit status always 2016-01-22 09:36:37 -08:00
Parker Moore
ba1cfab73c step_definitions: fixture collections should copy _thanksgiving 2016-01-22 09:36:25 -08:00
rebornix
1298ba6908 Fix #4188: Extract title from filename successfully when dateless. 2016-01-22 09:09:30 -08:00
Parker Moore
31ae61b419 Drop#[]: only use public_send for keys in the content_methods array 2016-01-21 18:20:35 -08:00
Parker Moore
a72629908a Document: throw a useful error when an invalid date is given 2016-01-20 14:19:06 -08:00
Parker Moore
be0e951bb0 features: Reorganize step definitions to reduce duplication 2016-01-18 15:35:11 -08:00
Parker Moore
d27f1d95d5 features: #run_command should prefix command with $ 2016-01-18 15:34:50 -08:00
Parker Moore
cc6e49a389 features/embed_filters: reformat a little 2016-01-18 13:41:41 -08:00
Parker Moore
1d369aada3 features: some under-the-hood enhancements 2016-01-18 12:48:12 -08:00
Parker Moore
ae3a71ed0d features: config writing should decode value from string to ruby 2016-01-18 11:53:07 -08:00
Parker Moore
736a800f0e features: validate the exit status of 0 for successful calls 2016-01-18 11:52:31 -08:00
Parker Moore
9a6f4e08b7 features/permalinks: add a permalink feature for non-html extension name for pages
Fixes
https://github.com/mpc-hc/mpc-hc.org/pull/58#issuecomment-172594526
2016-01-18 11:44:00 -08:00
Parker Moore
e9c5c45651 features: look for lack of "EXIT STATUS: 0" for non-zero exit status 2016-01-18 11:43:21 -08:00
Parker Moore
2adb70a247 features: writing a configuration file should append if it's already there 2016-01-18 11:42:59 -08:00
Parker Moore
dd15e3c368 features: write EXIT STATUS to output so it all prints when we get an exit status we aren't expecting 2016-01-18 11:42:34 -08:00
Jordon Bedwell
c5b8b3315f Rearrange Cucumber and add some flair.
* Move step_definitions/jekyll.rb to just step_definitions.rb
* Rename the formatter to Jekyll::Cucumber::Formatter, it's Jekyll's.
* Add some flair; switch to checks!
* Rename env.rb to helpers.rb
2016-01-11 14:55:34 -06:00
Jordon Bedwell
3c9f159fb8 Move Cucumber to using RSpec-Expections and furthering JRuby support.
* Removes posix-spawn in favor of Open3#popen3
* Encapsulates all the paths into a single easy class.
* Moves to %r{} to avoid ambiguious warnings per-Cucumber suggestion.
* Starts passing around Pathname to make some actions faster.
* Clean's up some methods to make them easier to read.
* AUTOMATIC: Add "#" between each method.
2016-01-10 14:41:48 -06:00
Parker Moore
a9b80b2f06 features/layout_data: add scenario for inheriting layout data from child to parent
Ref: https://github.com/jekyll/jekyll/pull/4312#discussion_r48781985
2016-01-04 16:21:53 -08:00
Parker Moore
e097a15657 Merge pull request #4312 from jekyll/fix-layout-metadata
Merge pull request 4312
2016-01-04 13:05:00 -08:00
Parker Moore
62d7f5ecad Add feature test for layout data
Fixes issue defined here:
https://github.com/jekyll/jekyll/issues/4246#issuecomment-168367510
2016-01-04 12:38:41 -08:00
Parker Moore
2756503e7b features/hooks: use hash syntax to access page 2016-01-04 12:37:19 -08:00
Parker Moore
87978e79f4 features/step_definitions: use $stderr instead of STDERR
Fixes c273d91df1 (commitcomment-15251676)
2016-01-04 12:36:05 -08:00
Parker Moore
c273d91df1 cucumber: fix issue where an undefined step would cause an exception 2016-01-04 12:08:02 -08:00
Parker Moore
6a72d4a986 features/post_data: Fix undefined feature step. 2015-12-22 22:44:56 -05:00
Parker Moore
9bb59e9999 features/post_data: do NOT allow page.path to be overridden 2015-12-22 21:36:29 -05:00
Parker Moore
30ceda52ef features/hooks: global payload _is_ global -- not new for each page 2015-12-22 21:36:15 -05:00
Parker Moore
659f0869e0 features/collections: drops don't output like a hash -- update accordingly 2015-12-22 21:35:28 -05:00
rebornix
657a8d7239 Allow users to input multiple variables in include tag 2015-11-25 16:37:08 +08:00