jekyll 3.9.4 → 3.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1344210bae099d62452e56e1ca7d98e09eb16d1675c7f534196f31d737891cf
4
- data.tar.gz: e8fa6f02525c70611498b3936d35ac2358577df24a0cb9d0a3ad730a744bd231
3
+ metadata.gz: 4d0dcd7e6260c561ffaf442af06fed55f674e93572e7f4dfb9e084fdc6872abb
4
+ data.tar.gz: f7b4864f530285c5957837df2a437e25eac8452509563a6983aa0b89c9fd526b
5
5
  SHA512:
6
- metadata.gz: 2f2a38311b5f0b12c422dc8d06e2e10ae95aeba498e8cefc8f10dfadee649a11f15c7d5a7cb1a4fd858589887daa846f0f50586a07d736f97043e19b79ef35c8
7
- data.tar.gz: c313608e75f7398b390d6abdd1dc0b6c23da2fea8a519ddc3d83dbe90b3017af98a001affef8dcd9ced1f440ce09c7c4ac7a4a7356fc357830a972d835ed7ff9
6
+ metadata.gz: f78d21824e5f149c20759da609df16fd60986d05dc4e1c2df54213e61be4da8b903456326d9ecc9f9f835f160fc1cf7c2b69b29ddd24502f630e8e9f7b3e2e42
7
+ data.tar.gz: d9e2ca819866b85b4e27568196d06f1a26d75cc28a2b108f999646748352b2cf5c57d7c4beb2436f3fc3afc0ca036d6d23204c3fed8809937620fcd4fd4e4d11
data/lib/jekyll/page.rb CHANGED
@@ -183,5 +183,20 @@ module Jekyll
183
183
  def write?
184
184
  true
185
185
  end
186
+
187
+ # The Page excerpt_separator, from the YAML Front-Matter or site
188
+ # default excerpt_separator value
189
+ #
190
+ # Returns the document excerpt_separator
191
+ def excerpt_separator
192
+ (data["excerpt_separator"] || site.config["excerpt_separator"]).to_s
193
+ end
194
+
195
+ # Whether to generate an excerpt
196
+ #
197
+ # Returns true if the excerpt separator is configured.
198
+ def generate_excerpt?
199
+ !excerpt_separator.empty?
200
+ end
186
201
  end
187
202
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jekyll
4
- VERSION = "3.9.4".freeze
4
+ VERSION = "3.10.0".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.9.4
4
+ version: 3.10.0
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: 2023-12-28 00:00:00.000000000 Z
11
+ date: 2024-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: csv
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: em-websocket
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -176,6 +190,20 @@ dependencies:
176
190
  - - "~>"
177
191
  - !ruby/object:Gem::Version
178
192
  version: '1.0'
193
+ - !ruby/object:Gem::Dependency
194
+ name: webrick
195
+ requirement: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: '1.0'
200
+ type: :runtime
201
+ prerelease: false
202
+ version_requirements: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: '1.0'
179
207
  - !ruby/object:Gem::Dependency
180
208
  name: kramdown
181
209
  requirement: !ruby/object:Gem::Requirement