nanoc 4.12.12 → 4.12.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +19 -0
- data/lib/nanoc/data_sources/filesystem/tools.rb +2 -2
- data/lib/nanoc/data_sources/filesystem.rb +4 -2
- data/lib/nanoc/orig_cli/commands/show-rules.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: a5a7dcb1ecfec89211b205f72543d5a42590eaf3bf523cdcdf9a6b6df1f5dee6
|
4
|
+
data.tar.gz: 4956cc6f8b8112c94c76d775c0b010c457a231448d26bb7f6e5606428264dbb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f735f068cfc0faf6dddd699dc9d858137662a65f336f69f4150a4f67d30ee317c3c50579a65da37774a012661a61684a1701d7ab301c8aebbe1961ef9c85c84
|
7
|
+
data.tar.gz: 0f87a9311a70947105540515a96530c6bd6d2cdfb49011e5ddbe78f43bcfffbb8e7714e99bc491d0e2942ea959a9187f8b3e77c0ca5f530b3a42ffdc19306892
|
data/NEWS.md
CHANGED
@@ -1,5 +1,24 @@
|
|
1
1
|
# Nanoc news
|
2
2
|
|
3
|
+
## 4.12.14 (2022-12-03)
|
4
|
+
|
5
|
+
Fixes:
|
6
|
+
|
7
|
+
- Fixed an issue which would cause `Invalid argument @ io_write` on larger sites (#1636)
|
8
|
+
|
9
|
+
Enhancements:
|
10
|
+
|
11
|
+
- Made Nanoc store temporary data (in `tmp/nanoc/`) in compressed form (#1637)
|
12
|
+
|
13
|
+
## 4.12.13 (2022-11-30)
|
14
|
+
|
15
|
+
Fixes:
|
16
|
+
|
17
|
+
- Prevented an issue where items could have two leading slashes in their identifier when using the `filesystem` data source’s `extra_files` option (#1622)
|
18
|
+
- Fixed an issue which would make `nanoc compile --watch` or `nanoc live` crash if the layouts directory does not exist (#1625, #1626)
|
19
|
+
- Fixed the usage of the `show-rules` command (it takes no arguments) (#1628)
|
20
|
+
- Fixed an issue which could make Nanoc crash with `Stopwatch::AlreadyRunningError` (#1631, #1633)
|
21
|
+
|
3
22
|
## 4.12.12 (2022-11-15)
|
4
23
|
|
5
24
|
Fixes:
|
@@ -111,9 +111,9 @@ class Nanoc::DataSources::Filesystem < Nanoc::DataSource
|
|
111
111
|
when nil
|
112
112
|
[]
|
113
113
|
when String
|
114
|
-
["#{dir_name}/#{extra_files}"]
|
114
|
+
["#{dir_name}/#{extra_files.dup.delete_prefix('/')}"]
|
115
115
|
when Array
|
116
|
-
extra_files.map { |extra_file| "#{dir_name}/#{extra_file}" }
|
116
|
+
extra_files.map { |extra_file| "#{dir_name}/#{extra_file.dup.delete_prefix('/')}" }
|
117
117
|
else
|
118
118
|
raise(
|
119
119
|
Nanoc::Core::TrivialError,
|
@@ -94,9 +94,11 @@ module Nanoc::DataSources
|
|
94
94
|
require 'listen'
|
95
95
|
|
96
96
|
Nanoc::Core::ChangesStream.new do |cl|
|
97
|
-
|
97
|
+
full_dir = dir ? File.expand_path(dir) : nil
|
98
|
+
|
99
|
+
if full_dir && File.directory?(full_dir)
|
98
100
|
listener =
|
99
|
-
Listen.to(
|
101
|
+
Listen.to(full_dir) do |_modifieds, _addeds, _deleteds|
|
100
102
|
cl.unknown
|
101
103
|
end
|
102
104
|
|
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.12.
|
4
|
+
version: 4.12.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -64,28 +64,28 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - '='
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 4.12.
|
67
|
+
version: 4.12.14
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - '='
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: 4.12.
|
74
|
+
version: 4.12.14
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: nanoc-core
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - '='
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: 4.12.
|
81
|
+
version: 4.12.14
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - '='
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 4.12.
|
88
|
+
version: 4.12.14
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: nanoc-deploying
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -250,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
250
250
|
- !ruby/object:Gem::Version
|
251
251
|
version: '0'
|
252
252
|
requirements: []
|
253
|
-
rubygems_version: 3.
|
253
|
+
rubygems_version: 3.4.0.dev
|
254
254
|
signing_key:
|
255
255
|
specification_version: 4
|
256
256
|
summary: A static-site generator with a focus on flexibility.
|