Parker Moore
23808c2ae6
Fix missing trailing comma to alleviate fmt errors
...
Offenses:
test/test_static_file.rb:151:9: C: [Corrected] Style/TrailingCommaInLiteral: Put a comma after the last item of a multiline hash.
"collection" => nil
^^^^^^^^^^^^^^^^^^^^^^
2017-02-10 21:16:25 -05:00
jekyllbot
afe6e3622c
Merge pull request #5860 from ashmaroli/exclude-patch
...
Merge pull request 5860
2017-02-10 21:10:09 -05:00
Ben Balter
229769e249
add StaticFileDrop
2017-02-08 17:44:47 -05:00
Ashwin Maroli
2813b9c039
test exclusion of Gemfile
2017-02-05 01:49:38 +05:30
Ashwin Maroli
384be58b5e
add missing comma
2017-01-31 08:40:06 +05:30
jekyllbot
2cf685feb2
Merge pull request #4362 from jekyll/liquid-4
...
Merge pull request 4362
2017-01-27 11:10:53 -05:00
Frank Taillandier
5ed22d0b3e
Now we must execute SimpleCov
2017-01-19 22:39:39 +01:00
Parker Moore
b6bc85ec7c
Correct 2 Style/TrailingCommaInLiteral rubocop offenses in test_filters.rb
2017-01-18 14:16:08 -05:00
jekyllbot
477b2f0f3e
Merge pull request #5640 from jekyll/jekyll-utils-exec
...
Merge pull request 5640
2017-01-18 14:15:11 -05:00
jekyllbot
76e9b8d266
Merge pull request #5542 from ashmaroli/url-slash
...
Merge pull request 5542
2017-01-17 20:21:48 -05:00
Parker Moore
130159dda4
Fix rubocop error.
2017-01-17 17:05:14 -05:00
Parker Moore
e0d63c8aa9
Add test to ensure that if the includes dir isn't in the theme that it won't break the site
2017-01-17 16:19:47 -05:00
Parker Moore
ad8fb9b927
Add theme_dir() helper func
2017-01-17 16:19:26 -05:00
jekyllbot
71dab94a97
Merge pull request #5779 from jekyll/fix-flaky-plugins-path-test
...
Merge pull request 5779
2017-01-16 17:03:41 -05:00
Parker Moore
aa7e47a30d
Remove calls to Dir.chdir without a block.
...
This removes the necessity to initialize Jekyll::Configuration::DEFAULTS manually.
2017-01-16 16:43:25 -05:00
Parker Moore
567a7952dd
test/helper: fix flaky plugin path test by initializing Configuration::DEFAULTS at start of tests
...
If we do a Dir.chdir before Configuration::DEFAULTS is initialized, then its source and destination values will not be what we expect.
We expect that Dir.pwd should stay as the root of the repo but there are some errant calls to Dir.chdir without a block that are still
not yet cleaned up.
2017-01-16 16:25:09 -05:00
Frank Taillandier
5d52074d2d
appease Rubocop
2017-01-14 20:01:41 +01:00
Pat Hawks
1d885911bc
Rubocop: Require consistent comma in multiline literals
2017-01-12 17:52:29 -06:00
Frank Taillandier
31178bfe69
Merge branch 'master' into liquid-4
2017-01-10 20:01:04 +01:00
Pat Hawks
368294b2a9
Update tests to be position independent
2017-01-06 05:55:50 -06:00
Pat Hawks
0f2013114c
Merge branch 'master' into jekyll-utils-exec
2017-01-06 05:42:15 -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
Pat Hawks
4b51c1da58
Use `assert_nil`
2017-01-05 17:08:04 -06:00
Florian Thomas
dde0441b3a
find keys also in assigned collections
2016-12-16 15:37:10 -08:00
Parker Moore
d24ea03acf
Update highlight block test to conform with v4 API.
2016-12-16 15:36:48 -08:00
Pat Hawks
69c4a8a1aa
Use `assert_nil` instead of `assert_equal nil`
...
Fixes #5648
2016-12-10 11:31:04 -06:00
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
Parker Moore
6e2449b482
Write Jekyll::Utils::Exec.run for running shell commands.
2016-12-07 17:38:22 -08:00
Thiago Arrais
4ed41558d1
Whoops!
2016-11-30 17:54:59 -03:00
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
jona
4f4a628df8
fix tests
2016-11-29 13:37:10 +01:00
jona
fac041933c
fix date parsing in file names
2016-11-29 09:14:03 +01:00
Ashwin Maroli
d175ba2cb8
clean unit-test-names
2016-11-28 23:09:53 +05:30
Eldritch Cheese
467bd5bb32
Updated test name, using single quotes for cleanliness.
2016-11-28 07:35:48 -05:00
Eldritch Cheese
875d55002b
Increased number of posts in test_generated_site to account for special chars test
2016-11-27 07:59:56 -05:00
Eldritch Cheese
a55760d4ad
Added unit test for special character, fixed error that it exposed.
2016-11-26 22:31:03 -05:00
Tim Banks
5c965d6a20
Add connector param to array_to_sentence_string filter
2016-11-22 17:38:33 -06:00
Parker Moore
cb6724046d
Dates are _the worst_
2016-11-11 16:30:53 -08:00
Parker Moore
ff012e795a
Fix fmt error.
2016-11-11 16:30:53 -08:00
Parker Moore
9f8f031469
Whoops, an *actually useful* failing test.
2016-11-11 16:30:53 -08:00
Parker Moore
f27eb77d0b
Add failing test for permalink templates with trailing underscores
2016-11-11 16:30:53 -08:00
jekyllbot
3e1fad273b
Merge pull request #5526 from ashmaroli/fix-win-tests
...
Merge pull request 5526
2016-11-10 13:02:48 -08:00
Parker Moore
7bf4627046
Add vendor/gems to the list of excluded & do some refactoring.
2016-11-09 09:42:26 -08:00
Ashwin Maroli
1bafbd91fa
create orphan files with touch method
2016-11-05 16:03:30 +05:30
Thiago Arrais
7f18ac8f99
Group using arbitraty Liquid expressions
2016-11-04 18:16:46 -03:00
Ashwin Maroli
2c68069a41
TestSite: consider dive-letter in Windows
...
The array of plugins will contain current drive-letter in Windows
2016-11-04 09:20:46 +05:30
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
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
fen
e92dd2055d
check for the urldrop key first
2016-11-02 21:30:23 +01:00
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
Ashwin Maroli
257e60b9a7
TestSite: add symlinked files only if not Windows
...
add symlinked files to "sorted_pages" array only when testing on
non-windows platforms.
2016-11-02 22:55:12 +05:30
Ashwin Maroli
0c234c90a9
TestGeneratedSite: add "|" to preserve newline
...
adding a pipe character ('|') preserves the formatting of
'expected_output' with a trailing newline bit, in windows.
2016-11-02 15:08:49 +05:30
fen
a2ffde8f14
rewrite test to only not throw error
2016-11-02 00:22:20 +01:00
fen
1bb2259a10
add failing test
2016-11-02 00:00:38 +01:00
jekyllbot
6f05ebb520
Merge pull request #5433 from ayastreb/5429-data-dir-with-period-in-name
...
Merge pull request 5433
2016-10-06 10:22:23 -07:00
jekyllbot
3de78877c0
Merge pull request #4873 from mlocher/bug-post-url
...
Merge pull request 4873
2016-10-05 11:40:04 -07:00
jekyllbot
22a7714bba
Merge pull request #5212 from eloyesp/fix-excerpt-link-finder
...
Merge pull request 5212
2016-10-05 11:34:52 -07:00
jekyllbot
275f5a6209
Merge pull request #5256 from kwokfu/patch-1
...
Merge pull request 5256
2016-10-05 11:34:06 -07:00
Anatoliy Yastreb
e27a65d9e3
Sanitize directory name as a key
2016-10-04 19:39:41 +01:00
Florian Thomas
01c33907a3
default site.url in dev environment to ` http://localhost:4000 `
...
take `host`, `port` and `ssl` options into account
2016-10-04 20:38:46 +02:00
Anatoliy Yastreb
cff8f2994c
Fix loading data from subdir with a period in name #5429
2016-10-01 13:09:50 +01:00
jekyllbot
ef3f9d0e7a
Merge pull request #5264 from DirtyF/static-file-name
...
Merge pull request 5264
2016-09-29 14:13:31 -07:00
jekyllbot
553fae8f17
Merge pull request #5410 from jekyll/pr/i18n-url-filters
...
Merge pull request 5410
2016-09-29 13:27:11 -07:00
Parker Moore
fd5f2eb399
Add failing test for File.utime of a symlink in staticfile.
2016-09-28 16:54:58 -07:00
jekyllbot
9c197d9555
Merge pull request #5210 from jekyll/node-must-die
...
Merge pull request 5210
2016-09-28 16:38:00 -07:00
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
Heng Kwokfu
bacb300876
Skip Windows tests in non-Windows environment.
2016-09-24 21:55:02 +08:00
Heng Kwokfu
db53213d16
Merge remote-tracking branch 'jekyll/master' into patch-1
2016-09-24 08:46:24 +08:00
Parker Moore
aa86651650
Add absolute_url and relative_url filters.
2016-09-22 14:16:00 -07:00
jekyllbot
3a7cbadd82
Merge pull request #5375 from Nicop06/underscore_highlight
...
Merge pull request 5375
2016-09-20 17:05:49 -07:00
jekyllbot
504411e476
Merge pull request #5237 from ashmaroli/bundle2new
...
Merge pull request 5237
2016-09-20 15:32:25 -07:00
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
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
Pat Hawks
3bfdc00d14
Appease Rubocop
2016-09-19 13:15:02 -05:00
Nicolas Porcel
0b94cf3fa1
Allow underscore in highlighter language
2016-09-19 13:10:29 +02:00
Parker Moore
74baeb889a
ThemeAssetsReader: fix tests so everything passes.
2016-09-18 15:04:15 -04:00
Parker Moore
6d7f305e7c
Add tests for assets directory support.
2016-09-16 16:04:35 -07:00
Parker Moore
cf26bf5db0
TestTheme: update tests for 'path_for' now that it's no longer prepending the underscore
2016-09-16 15:36:33 -07:00
Parker Moore
b8f17b9034
Exclude node_modules by default
...
If no 'exclude' directive is specified, exclude node_modules by default.
https://twitter.com/mxstbr/status/761856359579185153
2016-09-16 13:09:10 -07:00
jekyllbot
4888b84b44
Merge pull request #5199 from jeffkole/adds-linking-to-all-files
...
Merge pull request 5199
2016-09-13 07:11:50 -07:00
Ashwin Maroli
345f043cc4
test bundle install and skipping it.
2016-09-13 08:52:54 +05:30
Parker Moore
c1e6f1fb94
Fix rubocop errors & add one more test for slugify 'ascii' mode ( #4680 )
2016-09-07 17:50:14 -07:00
Parker Moore
9164973a6c
Merge branch 'jussikinnula-master'
...
* jussikinnula-master:
Fix slugify test
One final "urlsafe" replaced with "ascii"
Change urlsafe to ascii also when actually slugifying
Add tests for ascii slugify mode
Rename urlsafe to ascii, and document it (on utils.rb)
Add urlsafe to accepted slugify modes
Add urlsafe method for slugify
2016-09-07 16:50:32 -07:00
Eloy Espinaco
9b09d8a8e8
Add support for indented link references on excerpt
...
Excerpt link reference extraction is missing all the indented references
at the bottom of the page. Markdown specify that those can be indented up
to three spaces.
2016-09-02 17:21:10 -03:00
jekyllbot
6a34966f20
Merge pull request #5189 from jekyll/skip-theme-if-not-string
...
Merge pull request 5189
2016-08-30 14:54:47 -07:00
Parker Moore
5b21f8fda9
Fix fmt errors.
2016-08-30 13:28:46 -07:00
Parker Moore
2b15b0b325
Site#configure_theme: don't do anything if theme config is unset; TEST
2016-08-30 12:17:24 -07:00
Frank Taillandier
a9da814f17
add basename and name variables for static files
2016-08-27 11:22:24 +02:00
Heng, K. (Stephen)
23d7929948
Test case for issue #5192 , where Jekyll.sanitized_path strips drive name on Windows incorrectly
2016-08-26 11:43:32 +08:00
Heng, K. (Stephen)
0d8796fbe6
Test case for issue #5276 , where Jekyll.sanitized_path strips base path incorrectly if file path has matching prefix
2016-08-26 11:20:03 +08:00
Frank Taillandier
326332a5d5
Rename filename to name
2016-08-21 21:32:26 +02:00
Frank Taillandier
87c00b2756
Get static filename
2016-08-20 17:42:05 +02:00
Ashwin Maroli
a9f92278d3
colorize interpolated text in Jekyll.logger.info
2016-08-16 22:50:54 +05:30
Florian Thomas
70ba8c578a
update require_gems test
2016-08-07 21:01:09 +02:00
Florian Thomas
539154a158
replace `assert false, ...` with `refute`
2016-08-07 20:54:22 +02:00
Jeff Kolesky
e0ce4a00f8
Fixes `link` tag to work with static files
2016-08-04 20:03:01 -07:00
Jeff Kolesky
05445b81c7
Fixes tests to account for new info.md file
2016-08-04 19:40:14 -07:00
Jeff Kolesky
82d6657ae8
Adds ability to link to all files
...
Fixes request made in #4624 and bug found in #5182
2016-08-03 15:08:26 -07:00
Florian Thomas
d158d73ce1
add missing tests
2016-07-30 15:49:16 +02:00
Florian Thomas
2236ee4284
migrate existing tests to `should` syntax
2016-07-30 15:48:21 +02: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
jekyllbot
eb88aa330c
Merge pull request #5060 from stomar/stringify-overrides
...
Merge pull request 5060
2016-07-15 17:26:14 -07:00
jekyllbot
3ae7d0c319
Merge pull request #5101 from crispgm/dev_to_integer_filter
...
Merge pull request 5101
2016-07-15 09:58:08 -07: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
Marko Locher
73223f3a5a
Fix Rubocop warnings
2016-07-14 12:15:00 +02:00
Marko Locher
49e97ef9b0
Add test case for deprecated post comparison
...
Checks that `post_url` works for nested posts even if the path isn't specified. Also checks that a deprecation message is shown in the build log.
2016-07-14 11:53:58 +02:00
jekyllbot
1f366730f8
Merge pull request #5069 from Crunch09/issue-2834
...
Merge pull request 5069
2016-07-12 19:50:32 -07:00
jekyllbot
146d0f301d
Merge pull request #5067 from jekyll/excerpt-drop-previous-doc
...
Merge pull request 5067
2016-07-11 11:20:22 -07:00
Florian Thomas
cc82d44222
check if relative URL contains a colon
...
fixes #2834
2016-07-08 20:33:47 +02:00
Marcus Stollsteimer
ba8573c420
Change baseurl to example.com for some test cases
2016-07-08 15:48:14 +02:00
Marcus Stollsteimer
1c0f21230d
Stringify configuration overrides before first use
...
This makes sure that overrides for Jekyll.configuration
all have string keys before their first use, particularly
also the "config" and "skip_config_files" options.
2016-07-08 15:47:26 +02:00
Parker Moore
c46f219d3c
Commit failing test for lack of certain excerpt drop properties.
2016-07-07 13:34:10 -07:00
Marcus Stollsteimer
d4c87e3655
Remove useless statement from test
2016-07-07 15:30:59 +02:00
Anatoliy Yastreb
3aead1d4a9
Imitate fetch method instead of creating real Hash object
2016-07-06 11:20:37 +03:00
Anatoliy Yastreb
72d49490d2
Add fetch method to Drops
2016-07-05 21:22:24 +03:00
Parker Moore
b772329c60
Merge branch 'master' into remove-jruby-and-ruby-head
...
* master: (41 commits)
Fix rubocop offenses on master.
script/fmt: print Rubocop version
Update history to reflect merge of #5030 [ci skip]
rubocop: separate deprecator error messages
Update history to reflect merge of #5031 [ci skip]
Update history to reflect merge of #5032 [ci skip]
rubocop: fix code style
rubocop: fix code style
rubocop: fix code style
Update history to reflect merge of #5024 [ci skip]
Update history to reflect merge of #5025 [ci skip]
utils: check that the object is a hash when merging default_proc
Update history to reflect merge of #5026 [ci skip]
rubocop: refactor modified? method
Add a benchmark for capture vs. assign in Liquid. [ci skip]
Update history to reflect merge of #5027 [ci skip]
Add generator-jekyllized to third party plugins
rubocop: fix code style
rubocop: fix code style
rubocop: fix code style
...
2016-06-29 00:52:58 -07:00
Parker Moore
a7d25ed963
Fix rubocop offenses on master.
2016-06-28 22:08:06 -07:00
Parker Moore
6f3c01ca87
Fix for jruby
2016-06-28 18:30:02 -07:00
Parker Moore
2ef70fd348
Some weird stuff with Colorator on my machine & jruby.
2016-06-28 14:39:06 -07:00
Parker Moore
12c1ada0e5
test: skip openssl test for jruby
2016-06-28 12:43:15 -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
Parker Moore
f5a0db9dcc
Rubocop: use %r for all regular expressions.
2016-06-02 17:08:21 -07:00
jekyllbot
6a07254cbf
Merge pull request #4953 from Crunch09/issue-4850
...
Merge pull request 4953
2016-06-02 16:59:51 -07:00
Pat Hawks
5dfaa66d48
Failing test: markdownify a number
2016-05-28 15:18:37 -05:00
Florian Thomas
f8c038566c
`Serve.process` should receive same config as `Build.process`
...
fixes #4850
2016-05-27 11:46:04 +02:00
Pat Hawks
fbff506faa
Rubocop: test/test_site.rb
2016-05-26 00:00:08 -05:00
Pat Hawks
5a23b130ce
Rubocop: test/test_utils.rb
2016-05-25 22:01:10 -05:00
Pat Hawks
8fbeb52314
Rubocop: test/test_tags.rb
2016-05-25 22:00:58 -05:00
Pat Hawks
98262b73d5
Rubocop: test/test_regenerator.rb
2016-05-25 22:00:29 -05:00
Pat Hawks
474fc0a9a8
Rubocop: test/test_page.rb
2016-05-25 22:00:15 -05:00
Pat Hawks
7537b01e74
Rubocop: test/test_liquid_renderer.rb
2016-05-25 22:00:05 -05:00
Pat Hawks
23646549c4
Rubocop: test/test_kramdown.rb
2016-05-25 21:59:54 -05:00
Pat Hawks
c00c761e1d
Rubocop: test/test_entry_filter.rb
2016-05-25 21:59:43 -05:00
Pat Hawks
5291bd0498
Rubocop: test/test_document.rb
2016-05-25 21:59:33 -05:00
Pat Hawks
fd75f0f7b1
Rubocop: test/test_configuration.rb
2016-05-25 21:59:23 -05:00
Pat Hawks
6ef2bcb29a
Rubocop: test/test_filters.rb
2016-05-25 21:59:11 -05:00
Parker Moore
34d172007b
Merge branch 'pathawks-rubocop/misc'
...
* pathawks-rubocop/misc:
Fix Page#relative_path so that it consistently does NOT have the prepending slash (previously inconsistent)
Rubocop cleanup for lib/jekyll/layout.rb
Rubocop cleanup for lib/jekyll/plugin_manager.rb
Rubocop cleanup for lib/jekyll/page.rb
2016-05-25 17:57:52 -07:00
Parker Moore
4fbbeddae2
Fix Page#relative_path so that it consistently does NOT have the prepending slash (previously inconsistent)
...
Fixes for #4946
2016-05-25 17:57:09 -07:00
Parker Moore
aff1430608
Fix tests for document drop JSONification based on master updates. /cc #4914
2016-05-25 16:04:16 -07:00
Parker Moore
e56e58e498
Merge branch 'master' into pathawks-fp/jsonify-drops
...
* master: (38 commits)
Mention where it came from. [ci skip]
Update history to reflect merge of #4944 [ci skip]
Update history to reflect merge of #4943 [ci skip]
Mention where it came from. [ci skip]
Update history to reflect merge of #4942 [ci skip]
Update history to reflect merge of #4941
External: remove &block arg, use block_given?
Update history to reflect merge of #4936 [ci skip]
lib/jekyll.rb: require document_drop to ease our pain
Sort the results of the require_all glob.
Rubocop fixes
Reset {{ layout }} between each render & merge layout data properly
Add failing test for layout data inheritance bug (#4433 )
Add failing test for layout bug (#4897 )
Fix tests for plugins in configuration.
Define Drop#each so we can use the new frozen/duping behavior
Don't default 'include' and 'exclude' to an empty array
Fix some minor things in the tests
Freeze configuration defaults & duplicate in deep_merge_hashes if need be.
Remove merge conflicts I forgot to fix.
...
2016-05-25 15:55:47 -07:00
jekyllbot
cf810a88fa
Merge pull request #4942 from pathawks/fp/configuration-from-permalink-fix
...
Merge pull request 4942
2016-05-25 15:42:05 -07: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
cc0c5ea19e
Rubocop fixes
2016-05-24 19:01:35 -05:00
Parker Moore
7641971d7e
Fix tests for plugins in configuration.
2016-05-24 18:49:06 -05:00
Parker Moore
de5970ae55
Fix some minor things in the tests
2016-05-24 18:49:05 -05:00
Parker Moore
ad59b6e62a
Remove merge conflicts I forgot to fix.
2016-05-24 18:49:02 -05:00
Parker Moore
37b93f10dd
Add missing 'end' to test/helper.rb
2016-05-24 18:47:15 -05:00
Parker Moore
59346eb228
Remove call to #backwards_compatibilize in Configuration.from
2016-05-24 18:47:15 -05:00
Parker Moore
4e06f07ad4
Add tests for Configuration#add_default_collections
2016-05-24 18:47:14 -05:00
Parker Moore
dbcbf809ff
Refactor some tests to prevent manipulation of Jekyll::Config::DEFAULTS
2016-05-24 18:47:04 -05:00
Parker Moore
c69ca4c11e
Test#build_configs shouldn't overwrite default collections
2016-05-24 18:40:19 -05:00
Pat Hawks
48f16974ce
Rubocop fixes
2016-05-24 18:27:37 -05:00
Parker Moore
7d3f8ac75d
excerpt drop should give access to document's layout
2016-05-24 17:35:03 -05:00
Parker Moore
3896f6d5d8
Use require_relative
2016-05-24 17:32:33 -05:00
Parker Moore
b019234007
Add ExcerptDrop and remove excerpt's ability to refer to itself in Liquid
2016-05-24 17:30:03 -05:00
Brint O'Hearn
6db5272528
Splitting args onto own lines in test/test_static_file.rb
...
For functions where the character limit was exceeded
and line wrapping was needed, this commit just splits
each arg into it's own line.
2016-05-20 21:24:34 -05:00
Brint O'Hearn
8f07affe2a
Rubocop fixes for test/test_related_posts.rb
2016-05-20 21:23:29 -05:00
Brint O'Hearn
a9f110b861
Rubocop fixes for test/test_sass.rb
2016-05-20 21:23:29 -05:00
Brint O'Hearn
16c1146b4f
Rubocop fixes for test/test_static_file.rb
2016-05-20 21:23:29 -05:00
Brint O'Hearn
1380836a4b
Rubocop fixes for test/test_theme.rb
2016-05-20 21:23:29 -05:00
Brint O'Hearn
013e2f159d
Rubocop fixes for test/test_url.rb
2016-05-20 21:23:29 -05:00
Pat Hawks
f7714add15
Add normalize_whitepace filter
2016-05-19 19:59:22 -07:00
Brint O'Hearn
ce9a8cb0f2
Moving url to local var for better readability
2016-05-16 20:42:59 -05:00
Brint O'Hearn
df585aa5c6
Moving expected output into variable to make asserts more readable
2016-05-16 20:13:50 -05:00
Brint O'Hearn
b006810f17
Moving .with down one line 4x times
2016-05-16 19:59:13 -05:00
Brint O'Hearn
98eef8af95
Aligning hashes per 2caff75
2016-05-16 19:48:04 -05:00
Brint O'Hearn
211c16003e
test/test_exerpt.rb variable assignment cleanup
2016-05-16 19:39:43 -05: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
6ef54393c2
Rubocop fixes for test/test_redcarpet.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
de5d773a6a
Rubocop fixes for test/test_rdiscount.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
df7992c626
Rubocop fixes for test/test_plugin_manager.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
df01b6825e
Rubocop fixes for test/test_path_sanitization.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
c76b458dd5
Rubocop fixes for test/test_new_command.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
ad98883843
Rubocop fixes for test/test_log_adapter.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
5a1a8c9c82
Rubocop fixes for test/test_liquid_extensions.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
271a8aebfb
Rubocop fixes for test/test_layout_reader.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
0635bbba06
Rubocop fixes for test/test_generated_site.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
555b2fbe72
Rubocop fixes for test/test_front_matter_defaults.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
c8cae38da6
Rubocop fixes for test/test_excerpt.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
cfe6cf7ca1
Rubocop fixes for test/test_doctor_command.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
454a1e415c
Rubocop fixes for test/test_convertible.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
5034cc377a
Rubocop fixes for test/simplecov_custom_profile.rb
2016-05-16 19:26:53 -05:00
Brint O'Hearn
aad587ca2f
Rubocop fixes for test/helper.rb
2016-05-16 19:26:53 -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
Jordon Bedwell
3751b47c50
Cleanup EntryFilter and make it far more robust.
...
* Allow users to filter directories by ending their path with "/"
* Allow users to filter with a Regexp, some scenariors can really require it.
* Use Pathutil#in_path? for Symlink verification, it real/expand.
This also requires some downstream work in "jekyll-watch" which at this time is
not very robust, it doesn't recognize the difference either, and should probably
start doing so (what I mean is detecting "/" and using the full path.)
2016-05-10 20:01:02 -05:00
jekyllbot
1d788203df
Merge pull request #4710 from fenollp/safe-symlinks
...
Merge pull request 4710
2016-04-21 17:38:00 -07: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
57ccbe08ea
Ensure symlinks work as expected (and secured).
2016-04-21 16:32:52 -07:00
Parker Moore
d5dd423bfd
Add cucumber specs.
2016-04-21 16:09:23 -07:00
Parker Moore
42cc2445a5
Merge branch 'master' into themes
...
* master: (58 commits)
Update history to reflect merge of #4792 [ci skip]
Update history to reflect merge of #4793 [ci skip]
Update history to reflect merge of #4804 [ci skip]
Update history to reflect merge of #4754 [ci skip]
Update history to reflect merge of #4813 [ci skip]
Added missing single quote on rsync client side command
Add v3.0.4 and v3.1.3 to the history.
Fixed typo
Add jekyll-autoprefixer plugin
Explicitly require Filters rather than implicitly.
Update history to reflect merge of #4786 [ci skip]
Update history to reflect merge of #4789 [ci skip]
updates example domain in config template
Globalize Jekyll's Filters.
Update JRuby to 9.0.5.0; Drop the double digit test.
Update Rack-Jekyll Heroku deployment blog post url
convertible: use Document::YAML_FRONT_MATTER_REGEXP to parse transformable files
Update history to reflect merge of #4734 [ci skip]
Update history to reflect merge of #4478 [ci skip]
Fix rubocop warning.
...
2016-04-21 11:43:35 -07:00
Parker Moore
655ffd45be
Use source_dir instead of my own computer's path
2016-04-21 11:26:33 -07:00