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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: fd590fa00abc66e1aeafd4bdff3020bb88eff683f76f454cb3fdd95c5a07e2d4
4
- data.tar.gz: 41bed706beaf0e5ceed8aa6706233ab7e183b5d1409954a1c05e8cd09aeade93
2
+ SHA1:
3
+ metadata.gz: 870de62d5a0315a598dd5391eb89d50b178527de
4
+ data.tar.gz: 84d5a1fcc6968364871bcd968df1357b91efc465
5
5
  SHA512:
6
- metadata.gz: 43f920daab74a63b7ed8cd4cfb9d8c39b786863c815f36e8ac891e3568b063dd4c186eeb2267d79122ff63f04b9da5a8d6ad429915e7bd49d6079f96f6a6cdab
7
- data.tar.gz: 81e8e732a58e5accf834f343ec846dcf4333e3706ea669844324f1eacdda283a97b019c10d410a3447c76498bf19159d23ac153e3ac49d8e8130be609a8062d1
6
+ metadata.gz: a33ecc5e9012fcbc128343f55ccdf56261287033c81de211f51773152d2a2b0dfd99081d3e9a5644762be88d8255f137a3e30e6be8a96e8f77990e7eb614ce82
7
+ data.tar.gz: 0f53c1490f75ebae72b09df73cbac14461125b01580388904bfb6ec4dcda646bc8119e74d340d959a282a3973941d1ce3fba2d40103bd0369c435828243b71d7
@@ -210,12 +210,9 @@ module Jekyll
210
210
  private
211
211
 
212
212
  def read_document(full_path)
213
- docs << Document.new(full_path, :site => site, :collection => self).tap do |doc|
214
- doc.read
215
- if !site.publisher.publish?(doc) && site.publisher.hidden_in_the_future?(doc)
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
@@ -9,9 +9,12 @@ module Jekyll
9
9
  attr_writer :output
10
10
 
11
11
  def_delegators :@doc, :site, :name, :ext, :extname,
12
- :render_with_liquid?, :collection, :related_posts,
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jekyll
4
- VERSION = "3.8.0".freeze
4
+ VERSION = "3.8.1".freeze
5
5
  end
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.0
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-04-19 00:00:00.000000000 Z
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.7.3
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.