Ashwin Maroli
0f5e15811f
Remove warnings and fixes for deprecated config ( #7440 )
...
Merge pull request 7440
2019-08-04 08:37:45 -04:00
Ashwin Maroli
aea502745a
Utilize absolute paths of user-provided file paths ( #7450 )
...
Merge pull request 7450
2019-03-15 12:10:48 -04:00
Ashwin Maroli
091b5bd697
Always exclude certain paths from being processed ( #7188 )
...
Merge pull request 7188
2019-02-19 11:54:18 -05:00
Ashwin Maroli
eda9e2e4ef
Bump RuboCop to v0.61.x ( #7401 )
...
Merge pull request 7401
2018-12-05 11:21:48 -05:00
argv-minus-one
052dbf8b98
Automatically load _config.toml ( #7299 )
...
Merge pull request 7299
2018-10-05 09:43:06 -04:00
Ashwin Maroli
506c764e1e
fix incorrectly passed arguments to assert_equal ( #7134 )
...
Merge pull request 7134
2018-07-15 16:11:45 -04:00
Ashwin Maroli
9adac3a11e
Fix Rubocop offences in test files ( #7128 )
...
Merge pull request 7128
2018-07-12 10:21:23 -04:00
Jashank Jeremy
a9fe56830b
Switch to an actively-maintained TOML parser. ( #6652 )
...
Merge pull request 6652
2018-01-02 12:36:58 -05:00
jekyllbot
ba75c87f63
Remove paginate check ( #6606 )
...
Merge pull request 6606
2017-12-10 08:35:12 -05:00
ashmaroli
c8eee7ffcb
Access custom config array throughout session ( #6200 )
...
Merge pull request 6200
2017-08-07 12:13:33 -04:00
Parker Moore
7cf5f51ca2
Enforce Style/FrozenStringLiteralComment. ( #6265 )
...
Merge pull request 6265
2017-08-03 21:27:32 -04:00
ashmaroli
026f8280e0
Ignore final newline in folded YAML string ( #6054 )
...
Merge pull request 6054
2017-07-18 03:29:33 -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
Ashwin Maroli
2813b9c039
test exclusion of Gemfile
2017-02-05 01:49:38 +05:30
Pat Hawks
1d885911bc
Rubocop: Require consistent comma in multiline literals
2017-01-12 17:52:29 -06:00
Parker Moore
7bf4627046
Add vendor/gems to the list of excluded & do some refactoring.
2016-11-09 09:42:26 -08: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
eb88aa330c
Merge pull request #5060 from stomar/stringify-overrides
...
Merge pull request 5060
2016-07-15 17:26:14 -07: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
Marcus Stollsteimer
d4c87e3655
Remove useless statement from test
2016-07-07 15:30:59 +02:00
Parker Moore
2ef70fd348
Some weird stuff with Colorator on my machine & jruby.
2016-06-28 14:39:06 -07:00
Pat Hawks
fd75f0f7b1
Rubocop: test/test_configuration.rb
2016-05-25 21:59:23 -05:00
Parker Moore
de5970ae55
Fix some minor things in the tests
2016-05-24 18:49:05 -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
Florian Thomas
cf71c563ab
Handle empty config files
...
SafeYAML.load_file returns `false` when processing empty files so we
convert this into an empty hash for further processing.
fixes #4030
2015-10-28 22:31:42 +01:00
Parker Moore
b89f943bf2
collections: posts as collection
2015-10-26 00:29:14 -07:00
Fabio Niephaus
ac56e9dd16
Make _includes directory configurable; closes #2684
...
and rename `plugins`, `layouts` and `data_source` directories for consistency
2015-08-09 16:20:58 +01:00
Arthur Neves
67ba8ad0cb
Use rspec-mock instead of rr
2015-03-06 20:13:07 -05:00
ChaYoung You
7806f9ed52
Replace `File.exists?` with `File.exist?`
...
`File.exists?` is deprecated method. See
http://ruby-doc.org//core-2.2.0/File.html#exists-3F-method .
2015-03-05 18:21:52 +09:00
Parker Moore
7ad0597bff
Make our own Minitest::Test subclass for further subclassing
2015-02-21 00:33:47 -08:00
Parker Moore
4b59eb4175
Fix the test inheritance for the tests.
2015-02-20 13:35:02 -08:00
Parker Moore
65d43ef398
Move previous runtime dependencies to development dependencies.
2015-01-31 13:53:17 -08: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
Yihang Ho
658a4d0b47
Try to load _config.yaml if _config.yml is nonexistent.
2014-05-19 09:06:55 +08:00
Parker Moore
2aa8908948
Stevenson now uses symbols instead of integers to set log level
2014-05-06 13:03:56 -04:00
Parker Moore
7787d64bce
Rename those Utils functions.
2014-03-04 15:52:05 -05:00
Parker Moore
e2af1b547b
Extract core extensions into a Utils module
...
Fixes #2111
2014-03-03 22:13:03 -05:00
Parker Moore
dd3018ce02
Merge pull request #1988 from jekyll/maruku-to-kramdown
2014-02-08 17:07:54 -05: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
Dan Tao
fafacef0a0
added a test that YAML.load doesn't get clobbered
...
I THINK this is a good idea? I considered multiple approaches to testing this;
what I like about this dumb way (just try to deserialize a symbol) is that it's
nice and simple.
2014-01-23 17:42:14 -08:00
Dan Tao
4f0b1bdf6d
switched from YAML.safe_load* to SafeYAML.load*
2014-01-23 17:25:17 -08:00
Robin Dupret
4bf716c2ad
Set highlighter to pygments when upgrading
...
In case you are upgrading from 1.4.2 to 2.0 and the pygments option is
set to true, then the highlighter option will be set to pygments
automatically.
2013-12-22 18:45:46 +01:00
Parker Moore
3b0c8ad654
Add some unit tests for TOML integration.
2013-11-29 23:33:52 -05:00
Parker Moore
46b0d5037b
Add test for Configuration#fix_common_issues
2013-08-06 21:22:08 +02:00
Parker Moore
253fc8c506
Raise LoadError if the file doesn't exist but do not catch it. :)
2013-07-12 12:22:06 +02:00
Parker Moore
63dc563621
Add tests for exclude/include backwards-compatibility
2013-05-17 21:05:09 +02:00
Parker Moore
5bcce7a1f1
Fix unit tests for Configuration#backwards_compatibilize
2013-04-15 00:41:46 +02:00