jekyll 3.9.3 → 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: 10ada5abfe77a61887f4915b1b5230a0b654d812bc8a6b628907e1bbc62c2b2a
4
- data.tar.gz: 85f09cb1ecafab016ea53e305af4b774e9c14d78f4309830f1e99dcf59b19d7c
3
+ metadata.gz: 4d0dcd7e6260c561ffaf442af06fed55f674e93572e7f4dfb9e084fdc6872abb
4
+ data.tar.gz: f7b4864f530285c5957837df2a437e25eac8452509563a6983aa0b89c9fd526b
5
5
  SHA512:
6
- metadata.gz: c351db7593dd51d91404472a9a0acaa499a03e8f4512694bc7867c3b290b913a22d61aa04858ee6cc96d31d85f4b3c102d3ad1e055f0c2a4a45ca5d6960e21e6
7
- data.tar.gz: 80ee7476d928d1f4d3ab88af5ee951026ee017fb3769a915136d25b097fccaef916705299588cd9718290e7bc852ecf1fb5bc8b492bb4e60e40c1f923d0eb38c
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
@@ -3,13 +3,10 @@
3
3
  module Jekyll
4
4
  class Stevenson < ::Logger
5
5
  def initialize
6
- @progname = nil
7
- @level = DEBUG
8
- @default_formatter = Formatter.new
9
- @logdev = $stdout
10
- @formatter = proc do |_, _, _, msg|
6
+ formatter = proc do |_, _, _, msg|
11
7
  msg.to_s
12
8
  end
9
+ super($stdout, :formatter => formatter)
13
10
  end
14
11
 
15
12
  def add(severity, message = nil, progname = nil)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jekyll
4
- VERSION = "3.9.3".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.3
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-01-30 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