nanoc 4.11.15 → 4.11.20
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 +789 -753
- data/lib/nanoc/data_sources/filesystem.rb +3 -3
- data/lib/nanoc/extra/link_collector.rb +1 -1
- data/lib/nanoc/filters/colorize_syntax/colorizers.rb +1 -1
- data/lib/nanoc/filters/sass/functions.rb +1 -1
- data/lib/nanoc/version.rb +1 -1
- metadata +7 -7
@@ -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.20
|
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.20
|
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.20
|
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.20
|
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.20
|
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.
|