fauno
0dee66260f
Optimize `Jekyll::Utils.parse_date` ( #8425 )
...
Merge pull request 8425
2021-07-22 13:43:47 -04:00
Josh Soref
4fbbefeb7e
Spelling ( #8661 )
...
* spelling: always
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: apostrophe
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: articles
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: bajillion
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: bandwidth
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: compatibilize
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: congratulations
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: consistent
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: containing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: correspondents
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: debuggability
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: definitions
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: engine
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: expectations
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: framework
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: gallery
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: github
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: gitlab
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: hesitant
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: hesitate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: highlighter
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: installation
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: internal
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: kramdown
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: link
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: markdown
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: markdownify
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: metadata
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: multiple
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: object
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: overridden
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: paths
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: positions
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: powershell
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: proceeding
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: pygments settings
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: referencing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: retrieve
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: separating
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: several
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: specific
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: suppress
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: upgrading
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: variable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: variables
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: whitespace
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: with
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-05-14 21:18:13 +02:00
Ashwin Maroli
751b8f9c3c
Bump RuboCop to v0.85.x ( #8223 )
...
Merge pull request 8223
2020-06-01 14:07:43 -04:00
matt swanson
f8286b62a2
Switch slugify regex to support more Unicode character groups ( #8167 )
...
Merge pull request 8167
2020-05-14 02:20:20 -04:00
James Buckley
22a974200d
Rubocop version upgrade ( #7846 )
...
Merge pull request 7846
2019-10-16 03:21:04 -04:00
Ashwin Maroli
135ebe2660
Reduce Array objects generated from utility method ( #7749 )
...
Merge pull request 7749
2019-07-12 10:44:45 -04:00
Ashwin Maroli
4530721575
Replace `String#=~` with `String#match?` ( #7723 )
...
Merge pull request 7723
2019-06-27 13:16:27 -04:00
Ashwin Maroli
2090989fb3
Favor Ruby 2.3 squiggly-heredoc operator ( #7584 )
...
Merge pull request 7584
2019-03-22 12:18:58 -04:00
mo khan
2bdf1a53c4
Log a warning when the slug is empty ( #7357 )
...
Merge pull request 7357
2019-03-15 13:35:01 -04:00
jekyllbot
a28f54a59f
Bump Rubocop to v0.59.0 ( #7237 )
...
Merge pull request 7237
2018-09-09 18:14:46 -04:00
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