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 +4 -4
- data/lib/jekyll/page.rb +15 -0
- data/lib/jekyll/stevenson.rb +2 -5
- data/lib/jekyll/version.rb +1 -1
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d0dcd7e6260c561ffaf442af06fed55f674e93572e7f4dfb9e084fdc6872abb
|
4
|
+
data.tar.gz: f7b4864f530285c5957837df2a437e25eac8452509563a6983aa0b89c9fd526b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/jekyll/stevenson.rb
CHANGED
@@ -3,13 +3,10 @@
|
|
3
3
|
module Jekyll
|
4
4
|
class Stevenson < ::Logger
|
5
5
|
def initialize
|
6
|
-
|
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)
|
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.
|
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:
|
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
|