nanoc 4.12.12 → 4.12.13
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c54cc9af24e7f4350afe25d5f8b758d1730185996281473ed0191773237370bf
|
|
4
|
+
data.tar.gz: 58c7f45196d412cd2f33ee6b08b7a81f654c01d62b9f6c97281f9b2e14666b4e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57071824176e0733290e8966ffd0b6d64f91d0f68d23f4781ccdcb05c27f1a27fe067f56ea29630a928c443b2aaa6e4eabcf84060a4df7afd8748212926d11c4
|
|
7
|
+
data.tar.gz: 07c696a63925bddcbed3461ea201fd82351b9481b697eba2f17f2a92fd42494d13f32ce309857bf3c295816a04990657fb98502adbfe5792b343bb6c3419563e
|
data/NEWS.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Nanoc news
|
|
2
2
|
|
|
3
|
+
## 4.12.13 (2022-11-30)
|
|
4
|
+
|
|
5
|
+
Fixes:
|
|
6
|
+
|
|
7
|
+
- Prevented an issue where items could have two leading slashes in their identifier when using the `filesystem` data source’s `extra_files` option (#1622)
|
|
8
|
+
- Fixed an issue which would make `nanoc compile --watch` or `nanoc live` crash if the layouts directory does not exist (#1625, #1626)
|
|
9
|
+
- Fixed the usage of the `show-rules` command (it takes no arguments) (#1628)
|
|
10
|
+
- Fixed an issue which could make Nanoc crash with `Stopwatch::AlreadyRunningError` (#1631, #1633)
|
|
11
|
+
|
|
3
12
|
## 4.12.12 (2022-11-15)
|
|
4
13
|
|
|
5
14
|
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.13
|
|
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-
|
|
11
|
+
date: 2022-11-30 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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.
|