jekyll 4.3.1 → 4.3.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 347e7eea42afb6073288ca30a52df201c93ba8cb11883e07f7d02790516f4a0c
|
4
|
+
data.tar.gz: e319f9f8183ac7712a5c215f0fbf083c7a84c06f8c716b3170ae17f6e96c8fb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b146b2b681d7e3735faaa93f87ea00ba7500a1789820238d5883ff17f353207c987d70a2fbbd4bbe1f56ff784c7f9d3198b4232b48f2f5920a6664e45511cd0
|
7
|
+
data.tar.gz: 55ad809278c2624d4b13316ec7436022e71fcf543cf84c1bd4d04fc3660efc948951ed3f13b487bddb8041be80e885aa6fd24ad1165795b08752f5210c35b152
|
File without changes
|
@@ -15,16 +15,12 @@ module Jekyll
|
|
15
15
|
|
16
16
|
private
|
17
17
|
|
18
|
-
# rubocop:disable Metrics/AbcSize
|
19
18
|
def data_for_table(num_of_rows)
|
20
19
|
sorted = @stats.sort_by { |_, file_stats| -file_stats[:time] }
|
21
20
|
sorted = sorted.slice(0, num_of_rows)
|
22
21
|
|
23
22
|
table = [header_labels]
|
24
|
-
totals = Hash.new { |hash, key| hash[key] = 0 }
|
25
|
-
|
26
23
|
sorted.each do |filename, file_stats|
|
27
|
-
GAUGES.each { |gauge| totals[gauge] += file_stats[gauge] }
|
28
24
|
row = []
|
29
25
|
row << filename
|
30
26
|
row << file_stats[:count].to_s
|
@@ -33,14 +29,8 @@ module Jekyll
|
|
33
29
|
table << row
|
34
30
|
end
|
35
31
|
|
36
|
-
|
37
|
-
footer << "TOTAL (for #{sorted.size} files)"
|
38
|
-
footer << totals[:count].to_s
|
39
|
-
footer << format_bytes(totals[:bytes])
|
40
|
-
footer << format("%.3f", totals[:time])
|
41
|
-
table << footer
|
32
|
+
table
|
42
33
|
end
|
43
|
-
# rubocop:enable Metrics/AbcSize
|
44
34
|
|
45
35
|
def header_labels
|
46
36
|
GAUGES.map { |gauge| gauge.to_s.capitalize }.unshift("Filename")
|
data/lib/jekyll/profiler.rb
CHANGED
@@ -33,18 +33,14 @@ module Jekyll
|
|
33
33
|
|
34
34
|
def profile_process
|
35
35
|
profile_data = { "PHASE" => "TIME" }
|
36
|
-
total_time = 0
|
37
36
|
|
38
37
|
[:reset, :read, :generate, :render, :cleanup, :write].each do |method|
|
39
38
|
start_time = Time.now
|
40
39
|
@site.send(method)
|
41
40
|
end_time = (Time.now - start_time).round(4)
|
42
41
|
profile_data[method.to_s.upcase] = format("%.4f", end_time)
|
43
|
-
total_time += end_time
|
44
42
|
end
|
45
43
|
|
46
|
-
profile_data["TOTAL TIME"] = format("%.4f", total_time)
|
47
|
-
|
48
44
|
Jekyll.logger.info "\nBuild Process Summary:"
|
49
45
|
Jekyll.logger.info Profiler.tabulate(Array(profile_data))
|
50
46
|
|
data/lib/jekyll/site.rb
CHANGED
@@ -360,15 +360,9 @@ module Jekyll
|
|
360
360
|
end
|
361
361
|
|
362
362
|
def each_site_file
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
next if seen_files.include?(item)
|
367
|
-
|
368
|
-
yield item
|
369
|
-
seen_files << item
|
370
|
-
end
|
371
|
-
end
|
363
|
+
pages.each { |page| yield page }
|
364
|
+
static_files.each { |file| yield(file) if file.write? }
|
365
|
+
collections.each_value { |coll| coll.docs.each { |doc| yield(doc) if doc.write? } }
|
372
366
|
end
|
373
367
|
|
374
368
|
# Returns the FrontmatterDefaults or creates a new FrontmatterDefaults
|
data/lib/jekyll/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
8
8
|
- Parker Moore
|
9
9
|
- Matt Rogers
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-01-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: addressable
|
@@ -268,7 +268,7 @@ files:
|
|
268
268
|
- exe/jekyll
|
269
269
|
- lib/blank_template/_config.yml
|
270
270
|
- lib/blank_template/_layouts/default.html
|
271
|
-
- lib/blank_template/_sass/
|
271
|
+
- lib/blank_template/_sass/base.scss
|
272
272
|
- lib/blank_template/assets/css/main.scss
|
273
273
|
- lib/blank_template/index.md
|
274
274
|
- lib/jekyll.rb
|
@@ -394,7 +394,7 @@ metadata:
|
|
394
394
|
bug_tracker_uri: https://github.com/jekyll/jekyll/issues
|
395
395
|
changelog_uri: https://github.com/jekyll/jekyll/releases
|
396
396
|
homepage_uri: https://jekyllrb.com
|
397
|
-
post_install_message:
|
397
|
+
post_install_message:
|
398
398
|
rdoc_options:
|
399
399
|
- "--charset=UTF-8"
|
400
400
|
require_paths:
|
@@ -411,7 +411,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
411
411
|
version: 2.7.0
|
412
412
|
requirements: []
|
413
413
|
rubygems_version: 3.1.6
|
414
|
-
signing_key:
|
414
|
+
signing_key:
|
415
415
|
specification_version: 4
|
416
416
|
summary: A simple, blog aware, static site generator.
|
417
417
|
test_files: []
|