jekyll 3.6.1 → 3.6.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of jekyll might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -3
- data/lib/jekyll/commands/build.rb +1 -1
- data/lib/jekyll/configuration.rb +1 -1
- data/lib/jekyll/converters/markdown/redcarpet_parser.rb +1 -1
- data/lib/jekyll/renderer.rb +1 -1
- data/lib/jekyll/site.rb +1 -0
- data/lib/jekyll/utils.rb +3 -0
- data/lib/jekyll/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c8892e6c24d91e7bb872ababcdf1fc3c473fb2a
|
4
|
+
data.tar.gz: f65449e305df03d45e5981cd20758880e0d64e3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2bf3e0ff6ddbbe01bbe533598776c4080d905b43f01f01c059518afd39fa37ee0dcd9cfc1018137149e685260c2a23928428ba0afafd07f52b466c49bd93e20
|
7
|
+
data.tar.gz: 8effefaa97451ea446b29eec58e77dc04fed9626d960fdb2ce38455ba263d959f78cfafdd38f525cfdbadd3865a7477c21f7fdb9c792eb1f355a618b97508410
|
data/.rubocop.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
---
|
2
2
|
AllCops:
|
3
|
-
TargetRubyVersion: 2.
|
3
|
+
TargetRubyVersion: 2.1
|
4
4
|
Include:
|
5
5
|
- lib/**/*.rb
|
6
6
|
Exclude:
|
@@ -117,8 +117,6 @@ Style/Documentation:
|
|
117
117
|
- !ruby/regexp /features\/.*.rb$/
|
118
118
|
Style/DoubleNegation:
|
119
119
|
Enabled: false
|
120
|
-
Style/Encoding:
|
121
|
-
EnforcedStyle: when_needed
|
122
120
|
Style/GuardClause:
|
123
121
|
Enabled: false
|
124
122
|
Style/HashSyntax:
|
data/lib/jekyll/configuration.rb
CHANGED
@@ -206,7 +206,7 @@ module Jekyll
|
|
206
206
|
rescue ArgumentError => err
|
207
207
|
Jekyll.logger.warn "WARNING:", "Error reading configuration. " \
|
208
208
|
"Using defaults (and options)."
|
209
|
-
|
209
|
+
warn err
|
210
210
|
end
|
211
211
|
|
212
212
|
configuration.fix_common_issues.backwards_compatibilize.add_default_collections
|
data/lib/jekyll/renderer.rb
CHANGED
@@ -143,7 +143,7 @@ module Jekyll
|
|
143
143
|
# Returns String rendered content
|
144
144
|
def place_in_layouts(content, payload, info)
|
145
145
|
output = content.dup
|
146
|
-
layout = layouts[document.data["layout"]]
|
146
|
+
layout = layouts[document.data["layout"].to_s]
|
147
147
|
validate_layout(layout)
|
148
148
|
|
149
149
|
used = Set.new([layout])
|
data/lib/jekyll/site.rb
CHANGED
data/lib/jekyll/utils.rb
CHANGED
@@ -301,6 +301,9 @@ module Jekyll
|
|
301
301
|
# and a given param
|
302
302
|
def merged_file_read_opts(site, opts)
|
303
303
|
merged = (site ? site.file_read_opts : {}).merge(opts)
|
304
|
+
if merged[:encoding] && !merged[:encoding].start_with?("bom|")
|
305
|
+
merged[:encoding] = "bom|#{merged[:encoding]}"
|
306
|
+
end
|
304
307
|
if merged["encoding"] && !merged["encoding"].start_with?("bom|")
|
305
308
|
merged["encoding"] = "bom|#{merged["encoding"]}"
|
306
309
|
end
|
data/lib/jekyll/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|