Parker Moore
8fc463bdce
Add Utils::Internet.connected? to determine whether host machine has internet connection. ( #5870 )
...
Merge pull request 5870
2017-11-02 16:54:42 -04:00
Angelika Tyborska
8dbe5de66b
Raise when theme root directory is not available ( #6455 )
...
Merge pull request 6455
2017-10-28 11:34:38 -04:00
jekyllbot
e7f1ce2e2b
Update Rubocop to 0.51.0 ( #6444 )
...
Merge pull request 6444
2017-10-19 14:22:36 -04:00
Frank Taillandier
363bd6c7eb
Problematic UTF+bom files ( #6322 )
...
Merge pull request 6322
2017-10-17 23:15:26 -04:00
Alexey Pelykh
a78b518f83
Scope path glob ( #6268 )
...
Merge pull request 6268
2017-10-09 06:52:19 -04:00
ashmaroli
00bad8bfe5
Bump rubocop to use `v0.50.x` ( #6368 )
...
Merge pull request 6368
2017-09-22 09:06:32 -04:00
Florian Thomas
47bcbfb654
skip adding binary files as posts ( #6344 )
...
Merge pull request 6344
2017-09-21 16:30:23 -04:00
Ben Balter
a5fd0c0b26
Mutable drops should fallback to their own methods when a mutation isn't present ( #6350 )
...
Merge pull request 6350
2017-09-21 15:57:24 -04:00
Ben Balter
1637f29d6c
Alias Drop#invoke_drop to Drop#[] ( #6338 )
...
Merge pull request 6338
2017-09-06 12:52:34 -04:00
Parker Moore
232ec4679a
Allow `yield` to logger methods & bail early on no-op messages ( #6315 )
...
Merge pull request 6315
2017-08-18 12:45:23 -04:00
Parker Moore
4c15b9e5e4
[WIP] Add shim that works for both Rouge 1 and Rouge 2 ( #5919 )
...
Merge pull request 5919
2017-08-17 11:16:18 -04:00
Parker Moore
3f0c77cfd5
Add a quick test for DataReader ( #6284 )
...
Merge pull request 6284
2017-08-10 16:27:14 -04:00
Ben Balter
045226f160
Guard against type error in absolute url ( #6280 )
...
Merge pull request 6280
2017-08-10 11:14:52 -04:00
Parker Moore
bd31986ad6
Fix Drop#key? so it can handle a nil argument ( #6281 )
...
Merge pull request 6281
2017-08-08 23:10:38 -04:00
ashmaroli
c8eee7ffcb
Access custom config array throughout session ( #6200 )
...
Merge pull request 6200
2017-08-07 12:13:33 -04:00
Florian Thomas
39631db0bd
make flakey test more robust ( #6277 )
...
Merge pull request 6277
2017-08-06 10:49:01 -04:00
Kyle Zhao
a99186fe0a
delegate `StaticFile#to_json` to `StaticFile#to_liquid` for a more ( #6273 )
...
Merge pull request 6273
2017-08-05 11:01:40 -04:00
Parker Moore
7cf5f51ca2
Enforce Style/FrozenStringLiteralComment. ( #6265 )
...
Merge pull request 6265
2017-08-03 21:27:32 -04:00
Ben Balter
b35c0d8607
Call to_s on site.url before attempting to concatenate strings ( #6253 )
...
Merge pull request 6253
2017-07-30 15:12:42 -04:00
Parker Moore
143367c5ca
kramdown: symbolize keys in-place ( #6247 )
...
Merge pull request 6247
2017-07-28 12:05:43 -04:00
Bogdan
8f1959bbc4
Define path with __dir__ ( #6087 )
...
Merge pull request 6087
2017-07-25 19:20:20 -04:00
ashmaroli
00a1d70e8f
fix tests ( #6240 )
...
Merge pull request 6240
2017-07-25 06:28:17 -04:00
ashmaroli
026f8280e0
Ignore final newline in folded YAML string ( #6054 )
...
Merge pull request 6054
2017-07-18 03:29:33 -04:00
Ben Balter
9f7815786b
Always normalize the result of the relative_url filter ( #6185 )
...
Merge pull request 6185
2017-06-30 21:58:25 -04:00
Ben Balter
f91b614793
Static files contain front matter default keys when to_liquid'd ( #6162 )
...
Merge pull request 6162
2017-06-30 21:51:55 -04:00
Ben Balter
69e97fa06f
Add strip_index filter ( #6075 )
...
Merge pull request 6075
2017-06-15 14:28:41 -04:00
Anatoliy Yastreb
d3b00cb84c
Bump Rubocop to 0.49.1 ( #6093 )
...
Merge pull request 6093
2017-06-15 08:29:35 -04:00
David Zhang
551d2ea858
Add test for uri_escape on reserved characters ( #6086 )
...
Merge pull request 6086
2017-06-14 16:36:40 -04:00
Martin Desrumaux
e031ac9b27
Allow filters to sort & select based on subvalues ( #5622 )
...
Merge pull request 5622
2017-06-14 16:18:07 -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
fcde83431e
Address reading non-binary static files in themes ( #5918 )
...
Merge pull request 5918
2017-06-14 15:38:38 -04:00
Florian Thomas
b76b4a4e8a
add test to use variable in where_exp condition
2017-06-14 15:22:26 -04:00
ashmaroli
2a4d33e615
patch URLFilters to prevent `//` ( #6058 )
...
Merge pull request 6058
2017-06-14 15:06:55 -04:00
Anatoliy Yastreb
2cfcb23a49
Fix layout front-matter variables rendering. #6071 ( #6073 )
...
Merge pull request 6073
2017-06-14 15:05:38 -04:00
Jonathan Hooper
308ba550ef
Add option to fail a build with front matter syntax errors ( #5832 )
...
Merge pull request 5832
2017-05-09 20:17:36 -04:00
Frank Taillandier
3a36fde240
Fix CI after #6040 ( #6044 )
...
Merge pull request 6044
2017-04-22 16:22:26 -04:00
Florian Thomas
0108b22f3c
create configuration from options only once in the boot process ( #5487 )
...
Merge pull request 5487
2017-04-19 14:50:25 -04:00
Florian Thomas
ccb133fd33
add `plugins` config key as replacement for `gems` ( #5130 )
...
Merge pull request 5130
2017-04-17 07:46:33 -04:00
ashmaroli
7d7a312b33
Bump Rubocop to v0.48 ( #5997 )
...
Merge pull request 5997
2017-04-09 07:24:45 -04:00
jekyllbot
768d2bb5a3
absolute_url should not mangle URL if called more than once ( #5789 )
...
Merge pull request 5789
2017-04-05 16:16:55 -04:00
jekyllbot
52ac75b484
Date filters should never raise an exception ( #5722 )
...
Merge pull request 5722
2017-04-04 19:47:11 -04:00
Frank Taillandier
a4c4388b8d
Don't raise an error if URL contains a colon ( #5889 )
...
Merge pull request 5889
2017-03-31 01:48:54 -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
Pat Hawks
6bc9f71050
Rename test for clarity
2017-03-16 07:59:13 -05:00
Pat Hawks
ec5b45cd7c
Allow colons in `uri_escape` filter
...
Fixes #5954
2017-03-16 07:54:13 -05:00
jekyllbot
9a740bc447
Merge pull request #5934 from ashmaroli/appease-classifier
...
Merge pull request 5934
2017-03-06 20:58:51 -05:00
Ashwin Maroli
635e3365cc
appease classifier-reborn
2017-03-04 23:29:04 +05:30
Parker Moore
3e4dbc83e3
Attempt to alleviate strange Windows encoding error.
...
Error:
TestGeneratedSite#test_: generated sites should render latest post's content. :
Encoding::CompatibilityError: incompatible character encodings: IBM437 and UTF-8
C:/projects/jekyll/test/test_generated_site.rb:22:in `include?'
C:/projects/jekyll/test/test_generated_site.rb:22:in `block (2 levels) in <class:TestGeneratedSite>'
C:/projects/jekyll/test/test_generated_site.rb:34:in `instance_exec'
C:/projects/jekyll/test/test_generated_site.rb:34:in `block in create_test_from_should_hash'
2017-03-01 22:36:25 -05:00
Parker Moore
ca87c99a3c
Fix fmt issues in test for 'include a post with a abbreviated dates'
2017-03-01 22:08:21 -05:00
Parker Moore
8a0c0727ea
Failing test: abbreviated post dates are no longer read.
...
This is a regression introduced by https://github.com/jekyll/jekyll/pull/5609 .
2017-03-01 21:38:55 -05:00
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