jekyll 3.8.0 → 3.8.1
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 +5 -5
- data/lib/jekyll/collection.rb +3 -6
- data/lib/jekyll/excerpt.rb +8 -1
- data/lib/jekyll/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 870de62d5a0315a598dd5391eb89d50b178527de
|
4
|
+
data.tar.gz: 84d5a1fcc6968364871bcd968df1357b91efc465
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a33ecc5e9012fcbc128343f55ccdf56261287033c81de211f51773152d2a2b0dfd99081d3e9a5644762be88d8255f137a3e30e6be8a96e8f77990e7eb614ce82
|
7
|
+
data.tar.gz: 0f53c1490f75ebae72b09df73cbac14461125b01580388904bfb6ec4dcda646bc8119e74d340d959a282a3973941d1ce3fba2d40103bd0369c435828243b71d7
|
data/lib/jekyll/collection.rb
CHANGED
@@ -210,12 +210,9 @@ module Jekyll
|
|
210
210
|
private
|
211
211
|
|
212
212
|
def read_document(full_path)
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
Jekyll.logger.debug "Skip Publishing:", "#{doc.relative_path} has a future date"
|
217
|
-
end
|
218
|
-
end
|
213
|
+
doc = Document.new(full_path, :site => site, :collection => self)
|
214
|
+
doc.read
|
215
|
+
docs << doc unless doc.data["published"] == false
|
219
216
|
end
|
220
217
|
|
221
218
|
private
|
data/lib/jekyll/excerpt.rb
CHANGED
@@ -9,9 +9,12 @@ module Jekyll
|
|
9
9
|
attr_writer :output
|
10
10
|
|
11
11
|
def_delegators :@doc, :site, :name, :ext, :extname,
|
12
|
-
:
|
12
|
+
:collection, :related_posts,
|
13
|
+
:coffeescript_file?, :yaml_file?,
|
13
14
|
:url, :next_doc, :previous_doc
|
14
15
|
|
16
|
+
private :coffeescript_file?, :yaml_file?
|
17
|
+
|
15
18
|
# Initialize this Excerpt instance.
|
16
19
|
#
|
17
20
|
# doc - The Document.
|
@@ -84,6 +87,10 @@ module Jekyll
|
|
84
87
|
false
|
85
88
|
end
|
86
89
|
|
90
|
+
def render_with_liquid?
|
91
|
+
!(coffeescript_file? || yaml_file? || !Utils.has_liquid_construct?(content))
|
92
|
+
end
|
93
|
+
|
87
94
|
protected
|
88
95
|
|
89
96
|
# Internal: Extract excerpt from the content
|
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.8.
|
4
|
+
version: 3.8.1
|
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: 2018-
|
11
|
+
date: 2018-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -328,7 +328,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
328
328
|
version: '0'
|
329
329
|
requirements: []
|
330
330
|
rubyforge_project:
|
331
|
-
rubygems_version: 2.
|
331
|
+
rubygems_version: 2.6.14
|
332
332
|
signing_key:
|
333
333
|
specification_version: 2
|
334
334
|
summary: A simple, blog aware, static site generator.
|