nanoc 4.11.16 → 4.11.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +33 -0
- data/lib/nanoc/data_sources/filesystem.rb +3 -3
- data/lib/nanoc/extra/link_collector.rb +1 -1
- data/lib/nanoc/filters/sass/functions.rb +1 -1
- data/lib/nanoc/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 929e8bcc6da40902741c981887eaea68f71d183e8d2d14fe4ab35b3eb00d2bf9
|
4
|
+
data.tar.gz: 9a2834a886ae2c37c0cf79c334d27e293ae47f234a7e387bcea7a96a5c171e61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bd48c74e3a9af02ec5a7efb9d737463aa60e0d64599f80684588c37ec630a5e6bc955ceebdf143a5637e1603258e3140e053b93f75427acf031514bc6f4f377
|
7
|
+
data.tar.gz: 8b4e231ebb7524fcdbb5e6e56f23aaf41d6ac4360eddb3796b0b74525096dc82cb3cb1436ab61c2c9e076f3c13010b402b2f92bcc80e1391ec05cedaf3b66201
|
data/NEWS.md
CHANGED
@@ -1,5 +1,38 @@
|
|
1
1
|
# Nanoc news
|
2
2
|
|
3
|
+
## 4.11.21 (2020-12-18)
|
4
|
+
|
5
|
+
Fixes:
|
6
|
+
|
7
|
+
- Made clonefile usage optional
|
8
|
+
|
9
|
+
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.
|
10
|
+
|
11
|
+
## 4.11.20 (2020-12-18)
|
12
|
+
|
13
|
+
Enhancements:
|
14
|
+
|
15
|
+
- Made Nanoc use copy-on-write when available (preferred over hardlinking/copying) (#1509, #1511) [Daniel Aleksandersen]
|
16
|
+
|
17
|
+
## 4.11.19 (2020-10-16)
|
18
|
+
|
19
|
+
Fixes:
|
20
|
+
|
21
|
+
- Fixed an issue which could cause compiled pages to contain the content of another page (#1501, #1510)
|
22
|
+
|
23
|
+
## 4.11.18 (2020-06-17)
|
24
|
+
|
25
|
+
Fixes:
|
26
|
+
|
27
|
+
- Fixed a `Encoding::CompatibilityError` that would be thrown e.g. when using the `contracts` library (#1502, #1505) [Ethan Crawford]
|
28
|
+
- Fixed an issue which could cause Nanoc not to compile all items on Ruby 2.7 (#1501, #1507)
|
29
|
+
|
30
|
+
## 4.11.17 (2020-06-12)
|
31
|
+
|
32
|
+
Fixes:
|
33
|
+
|
34
|
+
- Fixed issue which could cause Nanoc to throw a timeout exception (#1503)
|
35
|
+
|
3
36
|
## 4.11.16 (2020-04-26)
|
4
37
|
|
5
38
|
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.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-18 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.21
|
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.21
|
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.21
|
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.21
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: nanoc-deploying
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
- !ruby/object:Gem::Version
|
244
244
|
version: '0'
|
245
245
|
requirements: []
|
246
|
-
rubygems_version: 3.
|
246
|
+
rubygems_version: 3.2.2
|
247
247
|
signing_key:
|
248
248
|
specification_version: 4
|
249
249
|
summary: A static-site generator with a focus on flexibility.
|