nanoc 4.11.17 → 4.11.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/NEWS.md +37 -0
- data/lib/nanoc/data_sources/filesystem.rb +3 -3
- data/lib/nanoc/extra/link_collector.rb +1 -1
- data/lib/nanoc/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e50a3956e945523aa46e49815e26a64e256bd4e979aa8378d511308e73786314
|
|
4
|
+
data.tar.gz: b3e7f8d2843f2a9fe98560d09b5e6710d46fd5c0b0dc37b8bb707d7a8e9876fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cfb2145f65bd338b5ea4dc33498ee3f690cc29ef0d7f9796ef10b8fc85b91b37bcb954b72a2b6378c09dd0ccd10aa02a575fbe243ca62b5d4637d334374b4bfe
|
|
7
|
+
data.tar.gz: 7dda591b1dc1568c9ff4dcc3fd601ab70e59772e7bb0276a1b2472a45c02e8832788931033fbbe63dab591c8873999dbe07c34ca6f5895804ca7baf099139913
|
data/NEWS.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# Nanoc news
|
|
2
2
|
|
|
3
|
+
## 4.11.22 (2021-01-01)
|
|
4
|
+
|
|
5
|
+
Changes:
|
|
6
|
+
|
|
7
|
+
- Dropped support for Ruby 2.4 (EOL)
|
|
8
|
+
|
|
9
|
+
Fixes:
|
|
10
|
+
|
|
11
|
+
- Added support for Ruby 3.0
|
|
12
|
+
|
|
13
|
+
## 4.11.21 (2020-12-18)
|
|
14
|
+
|
|
15
|
+
Fixes:
|
|
16
|
+
|
|
17
|
+
- Made clonefile usage optional
|
|
18
|
+
|
|
19
|
+
You can add `clonefile` to your Gemfile to let Nanoc make use of your filesystem’s copy-on-write functionality (if available), which is not only faster but also more space-efficient. In the previous release, 4.11.20, clonefile was mandatory, even though it won’t properly compile on older operating systems.
|
|
20
|
+
|
|
21
|
+
## 4.11.20 (2020-12-18)
|
|
22
|
+
|
|
23
|
+
Enhancements:
|
|
24
|
+
|
|
25
|
+
- Made Nanoc use copy-on-write when available (preferred over hardlinking/copying) (#1509, #1511) [Daniel Aleksandersen]
|
|
26
|
+
|
|
27
|
+
## 4.11.19 (2020-10-16)
|
|
28
|
+
|
|
29
|
+
Fixes:
|
|
30
|
+
|
|
31
|
+
- Fixed an issue which could cause compiled pages to contain the content of another page (#1501, #1510)
|
|
32
|
+
|
|
33
|
+
## 4.11.18 (2020-06-17)
|
|
34
|
+
|
|
35
|
+
Fixes:
|
|
36
|
+
|
|
37
|
+
- Fixed a `Encoding::CompatibilityError` that would be thrown e.g. when using the `contracts` library (#1502, #1505) [Ethan Crawford]
|
|
38
|
+
- Fixed an issue which could cause Nanoc not to compile all items on Ruby 2.7 (#1501, #1507)
|
|
39
|
+
|
|
3
40
|
## 4.11.17 (2020-06-12)
|
|
4
41
|
|
|
5
42
|
Fixes:
|
|
@@ -362,9 +362,9 @@ module Nanoc::DataSources
|
|
|
362
362
|
|
|
363
363
|
regex =
|
|
364
364
|
if /(^|\/)index(\.[^\/]+)?$/.match?(filename)
|
|
365
|
-
allow_periods_in_identifiers? ? /\/?(index)?(\.[
|
|
365
|
+
allow_periods_in_identifiers? ? /\/?(index)?(\.[^\/.]+)?$/ : /\/?index(\.[^\/]+)?$/
|
|
366
366
|
else
|
|
367
|
-
allow_periods_in_identifiers? ? /\.[
|
|
367
|
+
allow_periods_in_identifiers? ? /\.[^\/.]+$/ : /\.[^\/]+$/
|
|
368
368
|
end
|
|
369
369
|
Nanoc::Core::Identifier.new(filename.sub(regex, ''), type: :legacy)
|
|
370
370
|
end
|
|
@@ -390,7 +390,7 @@ module Nanoc::DataSources
|
|
|
390
390
|
# @return [Regex]
|
|
391
391
|
def extension_regex
|
|
392
392
|
if allow_periods_in_identifiers?
|
|
393
|
-
/(\.[
|
|
393
|
+
/(\.[^\/.]+$)/
|
|
394
394
|
else
|
|
395
395
|
/(\.[^\/]+$)/
|
|
396
396
|
end
|
data/lib/nanoc/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nanoc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.11.
|
|
4
|
+
version: 4.11.22
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Denis Defreyne
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-01-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|
|
@@ -58,28 +58,28 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - '='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 4.11.
|
|
61
|
+
version: 4.11.22
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - '='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 4.11.
|
|
68
|
+
version: 4.11.22
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: nanoc-core
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - '='
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 4.11.
|
|
75
|
+
version: 4.11.22
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - '='
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 4.11.
|
|
82
|
+
version: 4.11.22
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: nanoc-deploying
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -228,23 +228,23 @@ homepage: https://nanoc.ws/
|
|
|
228
228
|
licenses:
|
|
229
229
|
- MIT
|
|
230
230
|
metadata: {}
|
|
231
|
-
post_install_message:
|
|
231
|
+
post_install_message:
|
|
232
232
|
rdoc_options: []
|
|
233
233
|
require_paths:
|
|
234
234
|
- lib
|
|
235
235
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
236
236
|
requirements:
|
|
237
|
-
- - "
|
|
237
|
+
- - ">="
|
|
238
238
|
- !ruby/object:Gem::Version
|
|
239
|
-
version: '2.
|
|
239
|
+
version: '2.5'
|
|
240
240
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
241
241
|
requirements:
|
|
242
242
|
- - ">="
|
|
243
243
|
- !ruby/object:Gem::Version
|
|
244
244
|
version: '0'
|
|
245
245
|
requirements: []
|
|
246
|
-
rubygems_version: 3.
|
|
247
|
-
signing_key:
|
|
246
|
+
rubygems_version: 3.2.3
|
|
247
|
+
signing_key:
|
|
248
248
|
specification_version: 4
|
|
249
249
|
summary: A static-site generator with a focus on flexibility.
|
|
250
250
|
test_files: []
|