Ana María Martínez Gómez
bc84603017
Useless privates removed ( #6768 )
...
Merge pull request 6768
2018-05-19 15:49:54 -04:00
Ashwin Maroli
f8dfbd2f7b
Drop support for older versions of Rouge ( #6978 )
...
Merge pull request 6978
2018-05-03 10:03:55 -04:00
ashmaroli
23bb50c71c
Bypass rendering via Liquid unless required ( #6735 )
...
Merge pull request 6735
2018-02-28 11:06:08 -05:00
ashmaroli
017f032b4c
Do not hardcode locale unless certainly necessary ( #6791 )
...
Merge pull request 6791
2018-02-25 06:09:44 -05:00
Alex Wood
9d68b1b134
Add LiveReload functionality to Jekyll. ( #5142 )
...
Merge pull request 5142
2017-12-06 16:33:51 -05:00
Alex Tsui
93e3eb06d2
Add latin mode to slugify ( #6509 )
...
Merge pull request 6509
2017-11-02 23:07:25 -04:00
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
Frank Taillandier
363bd6c7eb
Problematic UTF+bom files ( #6322 )
...
Merge pull request 6322
2017-10-17 23:15:26 -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
7cf5f51ca2
Enforce Style/FrozenStringLiteralComment. ( #6265 )
...
Merge pull request 6265
2017-08-03 21:27:32 -04:00
Pat Hawks
0f2013114c
Merge branch 'master' into jekyll-utils-exec
2017-01-06 05:42:15 -06:00
Parker Moore
6e2449b482
Write Jekyll::Utils::Exec.run for running shell commands.
2016-12-07 17:38:22 -08:00
Ashwin Maroli
c4142c4c77
add a utility submodule to define 'TZ' on Windows
2016-12-06 15:38:18 +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
XhmikosR
5ca080ac6f
Whitespace cleanup.
2016-07-18 21:31:17 +03:00
Parker Moore
9278eb8fce
utils: check that the object is a hash when merging default_proc
...
Follow-up to #5026 .
2016-06-22 12:15:07 -07:00
Anatoliy Yastreb
08b883b268
rubocop: fix code style
2016-06-20 16:03:42 +03:00
Parker Moore
d84844c223
Freeze configuration defaults & duplicate in deep_merge_hashes if need be.
2016-05-24 18:49:05 -05:00
Jussi Kinnula
4c65772c44
One final "urlsafe" replaced with "ascii"
2016-03-29 10:01:08 +03:00
Jussi Kinnula
764a2c1b39
Change urlsafe to ascii also when actually slugifying
2016-03-29 09:46:42 +03:00
Jussi Kinnula
e823ac5180
Rename urlsafe to ascii, and document it (on utils.rb)
2016-03-29 09:07:12 +03:00
Jussi Kinnula
c0dec091a2
Add urlsafe to accepted slugify modes
2016-03-18 17:14:54 +02:00
Jussi Kinnula
36dc8c2169
Add urlsafe method for slugify
2016-03-18 11:13:06 +02:00
Parker Moore
97efa0f0ce
Clean up Tags::PostUrl a bit
2016-03-15 16:06:25 -07:00
atomicules
e4aa45b03f
Fix titleize_slug so already capitalized words are not dropped
...
Previously `titleize` used `capitalize!` which has the side effect of
returning `nil` for anything already starting with a capital letter. This
commit changes it to just `capitalize`.
Example, before:
A file "2016-01-01-This-is-a-title-with-Capitals.markdown" would return "Is A
Title With" for `post.title`
Example, after:
A file "2016-01-01-This-is-a-title-with-Capitals.markdown" will return "This Is A
Title With Capitals" for `post.title`
Tests added for `titleize_slug` in test_utils.rb
Fix problem introduced in 67f842546e
References #4525
2016-02-15 21:22:50 +00:00
Parker Moore
aad54c9a87
Add Utils.merged_file_read_opts to unify reading & strip the BOM
2016-01-26 17:08:54 -08:00
Parker Moore
8204e479c3
add Utils.strip_heredoc
2016-01-22 09:11:56 -08:00
Jordon Bedwell
67f842546e
Fix #4191 : Reduce Document#post_read complexity slightly.
2016-01-22 09:11:56 -08:00
Parker Moore
5d79c55b2c
Fix deep_merge_hashes! handling of drops and hashes
2016-01-15 11:22:39 -08:00
Parker Moore
3e81331af1
Utils: don't require mime/types
2016-01-15 10:00:45 -08:00
Parker Moore
b6c283a4ae
wip: allow custom extensions
2016-01-04 17:42:06 -08:00
Parker Moore
cb5bc1093e
utils: has_yaml_header? should accept files with extraneous spaces
...
Occasionally, extra spaces at the end of the YAML front matter prologue are
saved to a file and it goes missing without telling the user why. This
should simply accept those changes without any detriment to the user,
allowing anyone to add as many spaces as they like to the end of their
front matter prologues.
2016-01-04 14:09:30 -08:00
Pat Hawks
ab3d906e04
Rubocop: Style/ParenthesesAroundCondition
...
- Don't use parentheses around the condition of an if
2016-01-04 12:14:00 -08:00
Pat Hawks
f6fd9014ba
Rubocop: Style/CaseIndentation
...
- Indent when as deep as case
2016-01-04 11:15:37 -08:00
Pat Hawks
4c5d77a4b5
Rubocop: Style/EmptyLines
2016-01-04 11:08:18 -08:00
Pat Hawks
98a19cdf2b
Rubocop: Style/PercentLiteralDelimiters
...
- %w-literals should be delimited by ( and )
Rubocop: Style/WordArray
- Use %w or %W for array of words
2016-01-03 15:32:11 -08:00
Pat Hawks
fb0457bf3d
Rubocop: Style/AndOr
...
- Use && instead of and
- Use || instead of or
2016-01-03 15:30:26 -08:00
Parker Moore
5bf596b239
utils/drops: update Drop to support Utils.deep_merge_hashes
...
Fixes #4287
2015-12-27 08:06:37 -05:00
Parker Moore
d070a77716
url: fix issue with bad URL escaping when using Drop
2015-12-24 15:07:20 -05:00
Jordon Bedwell
28c568386d
Merge pull request #4220 from jekyll/pull/enable-codeclimate-platform
...
Fix : #4219 : Add CodeClimate Platform.
2015-12-04 12:08:00 -06:00
Jordon Bedwell
b6de905ee4
Fix : #4219 : Add CodeClimate Platform.
2015-12-04 11:42:52 -06:00
Parker Moore
6cbd06ea85
Merge pull request #4109 from jekyll/cleanup-kramdown-converter
...
Merge pull request 4109
2015-12-04 09:21:22 -08:00
Jordon Bedwell
3432fd2c2d
Modernize Kramdown for Markdown converter.
2015-12-04 08:09:08 -06:00
Parker Moore
b90f8e048a
Merge pull request #4150 from ducktyper/master
...
Merge pull request 4150
2015-11-30 19:57:01 -08:00
ducksan cho
e9f8b4df74
Add Windows support to Utils.safe_glob
2015-11-19 17:15:51 +13:00
Ducksan Cho
a168edae45
Add Utils.safe_glob method
...
which works the same way as Dir.glob but seperating the input
into two parts ('dir' + '/' + 'pattern') to make sure
the first part('dir') does not act as a pattern.
2015-11-19 00:46:46 +13:00
rebornix
6a98ab2a15
Make `:title` cased for backwards compability and add `:slug` for uncased usage.
2015-11-18 10:43:13 +08:00
Parker Moore
45f69bb8cd
Utils: deep_merge_hashes should also merge default_proc
...
If the target hash's default_proc isn't set, overwrite with the new hash's default_proc.
/cc #4064
2015-10-26 17:27:36 -07:00
Parker Moore
b89f943bf2
collections: posts as collection
2015-10-26 00:29:14 -07:00