Ashwin Maroli
b22e281bc5
Liquify documents unless published == false ( #6959 )
...
Merge pull request 6959
2018-05-01 11:04:38 -04:00
Ashwin Maroli
7f9ac93e4f
Fix rendering Liquid constructs in excerpts ( #6945 )
...
Merge pull request 6945
2018-04-26 01:58:25 -04:00
Ashwin Maroli
bea275e4c5
Allow front matter defaults to be applied properly to documents gathered under custom `collections_dir` ( #6885 )
...
Merge pull request 6885
2018-04-19 11:02:36 -04:00
ashmaroli
651b9b5593
`include_relative` tag should find related documents in collections gathered within custom `collections_dir` ( #6818 )
...
Merge pull request 6818
2018-04-12 11:34:55 -04:00
ashmaroli
7317627b97
Improve regex usage in `Tags::IncludeTag` ( #6848 )
...
Merge pull request 6848
2018-03-21 10:36:06 -04:00
ashmaroli
51bdea1303
Allow passing :strict_variables and :strict_filters options to Liquid's renderer ( #6726 )
...
Merge pull request 6726
2018-03-14 06:50:18 -04:00
ashmaroli
f8a66ca76c
Improve handling non-default collection documents rendering and writing ( #6795 )
...
Merge pull request 6795
2018-03-09 21:11:24 -05:00
Frank Taillandier
00639f89bd
Fix theme gem feature ( #6784 )
...
Merge pull request 6784
2018-02-18 10:47:31 -05:00
ashmaroli
275a1f4d5d
Add a cucumber feature to test link tag ( #6777 )
...
Merge pull request 6777
2018-02-17 08:55:05 -05:00
ashmaroli
a6b4ce0928
Refactor collections_dir feature for consistency ( #6685 )
...
Merge pull request 6685
2018-01-25 10:45:35 -05:00
Florian Thomas
cf5c689d94
Fix timezone incosistencies between different ruby version ( #6697 )
...
Merge pull request 6697
2018-01-25 10:43:56 -05:00
ashmaroli
3c959af8d1
Do not coerce layout paths in theme-gem to the source directory ( #6603 )
...
Merge pull request 6603
2018-01-02 14:18:26 -05:00
Matt Rogers
e39f9db593
Revert "Added direct collection access to future collection item feature test ( #6151 )"
...
This reverts commit 49fa2dee0e
.
2017-10-28 23:33:27 -05:00
Brandon Dusseau
49fa2dee0e
Added direct collection access to future collection item feature test ( #6151 )
...
Merge pull request 6151
2017-10-28 11:48:31 -04:00
jekyllbot
e7f1ce2e2b
Update Rubocop to 0.51.0 ( #6444 )
...
Merge pull request 6444
2017-10-19 14:22:36 -04:00
Maximiliano Kotvinsky
ae326148cc
Add test for layout as string ( #6445 )
...
Merge pull request 6445
2017-10-19 14:18:30 -04:00
Frank Taillandier
7333baf06d
Upgrade to Cucumber 3.0 ( #6395 )
...
Merge pull request 6395
2017-09-29 03:39:19 -04:00
ashmaroli
e5403396b7
Disable default layouts for Pages with a `layout: none` declaration ( #6182 )
...
Merge pull request 6182
2017-09-23 16:03:40 -04:00
Florian Thomas
cc1cb8150a
set `LiquidError#template_name` for errors in included file ( #6206 )
...
Merge pull request 6206
2017-08-03 22:00:24 -04:00
Parker Moore
7cf5f51ca2
Enforce Style/FrozenStringLiteralComment. ( #6265 )
...
Merge pull request 6265
2017-08-03 21:27:32 -04:00
Anatoliy Yastreb
d3b00cb84c
Bump Rubocop to 0.49.1 ( #6093 )
...
Merge pull request 6093
2017-06-15 08:29:35 -04:00
ashmaroli
4299539db5
Test if hidden collections output a document with a future date ( #6103 )
...
Merge pull request 6103
2017-06-14 16:26:56 -04:00
ashmaroli
fcde83431e
Address reading non-binary static files in themes ( #5918 )
...
Merge pull request 5918
2017-06-14 15:38:38 -04:00
ashmaroli
4d9c93e491
Disable default layouts for documents with a `layout: none` declaration ( #5933 )
...
Merge pull request 5933
2017-05-15 16:06:23 -04:00
ashmaroli
0eb9379354
Require `runtime_dependencies` of a Gem-based theme from its `.gemspec` file ( #5914 )
...
Merge pull request 5914
2017-03-31 01:46:15 -04:00
Christoph Päper
3688640d59
add /_data/*.tsv support ( #5985 )
...
* Update data.feature
- add .tsv
- add .csv with `\t`
- add .csv with `;`
* Fix Appveyor with dst-aware cucumber steps
* Check for given content in posts
* mention Ruby > 2.1.0 in docs
* Update history to reflect merge of #5983 [ci skip]
* Update history to reflect merge of #5961 [ci skip]
* Update data_reader.rb
- add .tsv support with tab separated columns
- not adding support for auto-detecting `:col_sep`
ftp://ftp.iana.org/assignments/media-types/text/tab-separated-values
https://www.ietf.org/rfc/rfc4180.txt (CSV)
https://ruby-doc.org/stdlib-2.4.1/libdoc/csv/rdoc/CSV.html
* Update data.feature
don't do semicolons and tabs in .csv within this patch
* Update data.feature
I don't know which component replaced my tab characters by space before.
* Update data.feature
t
* Update data_reader.rb
add a single space to satisfy format checker
2017-03-28 18:36:29 -04:00
Ashwin Maroli
58dce4f099
Check for given content in posts
2017-03-23 10:10:38 +05:30
Ashwin Maroli
7b1841a78e
Fix Appveyor with dst-aware cucumber steps
2017-03-17 17:40:03 +05:30
Ashwin Maroli
eb36ea095f
test overriding default excludes
2017-02-05 01:56:49 +05:30
jekyllbot
477b2f0f3e
Merge pull request #5640 from jekyll/jekyll-utils-exec
...
Merge pull request 5640
2017-01-18 14:15:11 -05:00
Florian Thomas
ecd04badf0
throw IncludeTagError if error occurs in included file
...
fixes #5756
2017-01-15 20:35:10 +01:00
Pat Hawks
1d885911bc
Rubocop: Require consistent comma in multiline literals
2017-01-12 17:52:29 -06:00
Pat Hawks
203be72c47
Remove unnecessary "rubocop:enable"
2017-01-06 05:57:21 -06:00
Pat Hawks
0f2013114c
Merge branch 'master' into jekyll-utils-exec
2017-01-06 05:42:15 -06:00
Parker Moore
18c2b0827e
Appease rubocop.
2016-12-07 17:53:45 -08:00
Parker Moore
6e2449b482
Write Jekyll::Utils::Exec.run for running shell commands.
2016-12-07 17:38:22 -08:00
Ashwin Maroli
c6fe7ec57f
add a set of steps in site_configuration.feature
...
this set of steps allow the test to pass when DST in not currently active.
They may fail when DST becomes active.
2016-12-06 22:19:07 +05:30
Ashwin Maroli
1b4ab418ba
revert and adjust site_configuration.feature
2016-12-06 15:38:18 +05:30
jekyllbot
805dd4b0f1
Merge pull request #5611 from XhmikosR/https
...
Merge pull request 5611
2016-11-29 15:50:29 -08:00
XhmikosR
d9cf97e9c6
Switch to `https` when possible.
...
Also, remove two 404 links.
2016-11-29 23:39:23 +02:00
--global
6cbcaa99ad
fix collection cucumber for windows
2016-11-29 14:17:56 +01:00
--global
d7cdab16e2
fix cucumber tests
2016-11-29 14:07:07 +01:00
jekyllbot
a2367900fc
Merge pull request #5384 from ashmaroli/theme-gem-feature
...
Merge pull request 5384
2016-11-28 21:38:16 -08:00
Ashwin Maroli
7314e4a5db
collections.feature: conditional steps
2016-11-04 12:29:48 +05:30
Ashwin Maroli
f636067661
remove 'css' subdirectory from assets folder
2016-09-30 15:34:46 +05:30
Ashwin Maroli
87a03f6c1a
replace zero exit status steps
2016-09-30 15:23:08 +05:30
Ashwin Maroli
1fb4dce2f5
add a step to check contents in assets directory
2016-09-29 06:47:29 +05:30
Ashwin Maroli
1b4b51236a
add theme-gem feature for bonafide theme gems
...
this cucumber feature follows the likely steps a theme designer would take
to build a Rubygem of his theme starting from the scaffolding generated by
`jekyll new-theme` command and further checks if the gem built actually
has the files he planned to include.
2016-09-29 06:36:24 +05:30
jekyllbot
6847b604c8
Merge pull request #5157 from stevecheckoway/fix-hooks-priority-order
...
Merge pull request 5157
2016-09-28 16:39:44 -07:00
Ashwin Maroli
6b6ce3cf18
use UTC format in timezone
2016-09-25 23:11:51 +05:30
Ashwin Maroli
588b3a6649
remove features dirs on windows with proper access
2016-09-21 22:42:01 +05:30
Parker Moore
279f1516d2
Merge branch 'master' into themes-asset-folder
...
* master:
Update history to reflect merge of #5381 [ci skip]
Update history to reflect merge of #5383 [ci skip]
run features on windows
Appease Rubocop
Update history to reflect merge of #5372 [ci skip]
Add missing period to sentence in first paragraph.
2016-09-20 13:13:01 -07:00
Ashwin Maroli
75d59911ae
run features on windows
2016-09-20 10:28:54 +05:30
Parker Moore
74baeb889a
ThemeAssetsReader: fix tests so everything passes.
2016-09-18 15:04:15 -04:00
Stephen Checkoway
6167c09569
Run hooks in priority order.
...
Low priority hooks are being run before higher priority hooks. This is easy to
demonstrate with the following plugin:
1.upto(10).each do |n|
Jekyll::Hooks.register :site, :after_reset, priority: Jekyll::Hooks::PRIORITY_MAP[:low] do
puts "Low #{n}"
end
Jekyll::Hooks.register :site, :after_reset, priority: Jekyll::Hooks::PRIORITY_MAP[:normal] do
puts "Normal #{n}"
end
Jekyll::Hooks.register :site, :after_reset, priority: Jekyll::Hooks::PRIORITY_MAP[:high] do
puts "High #{n}"
end
end
Sorting by the negative of the priority and then by the order the hook was
added does the right thing.
2016-08-06 20:56:34 -05:00
Parker Moore
4b698747dc
Style fixes for Rubocop 0.42.0
...
- var == 0 becomes var.zero?
- when defining method_missing, also define respond_to_missing?
2016-07-25 12:46:43 -07:00
Parker Moore
f417cf8a0f
Merge pull request #5042 from jekyll/fix-more-theme-things
...
Fix more theme things
2016-07-14 17:14:41 -07:00
Parker Moore
83a72606b3
Add a test to ensure the Apache bug doesn't come up again.
2016-07-14 16:23:02 -07:00
Parker Moore
897f0c52fa
Add test for CoC flag.
2016-06-29 15:17:04 -07:00
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