nanoc 4.12.12 → 4.12.14

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: 8d784425d3333d0b8354e8909ba82685f7897f116762f9afc2b06a8c57c7806b
4
- data.tar.gz: 82ed84b2f93cff85a340a8caf3cc0cd58d2990aaacf3e877308402284855075c
3
+ metadata.gz: a5a7dcb1ecfec89211b205f72543d5a42590eaf3bf523cdcdf9a6b6df1f5dee6
4
+ data.tar.gz: 4956cc6f8b8112c94c76d775c0b010c457a231448d26bb7f6e5606428264dbb3
5
5
  SHA512:
6
- metadata.gz: ee3a85d5463c7aa2ba03f41ebd99a9ccb525fb60fefcd3c916f9b1902b4bacb83b5486a203cfbe5c33306b67eaa7dde3bee4b7a08e92dafdf936718a50bcbc24
7
- data.tar.gz: 5415a8bff2a825775f323cd2bce3bc0cc2f2bdc4be7137b8418596492a3a4df853ff0cb1cfcf38c3fe1ebd61986242c32ee6aa8a69052b8b8a025e417dad4f26
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
- if dir
97
+ full_dir = dir ? File.expand_path(dir) : nil
98
+
99
+ if full_dir && File.directory?(full_dir)
98
100
  listener =
99
- Listen.to(File.expand_path(dir)) do |_modifieds, _addeds, _deleteds|
101
+ Listen.to(full_dir) do |_modifieds, _addeds, _deleteds|
100
102
  cl.unknown
101
103
  end
102
104
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- usage 'show-rules [thing]'
3
+ usage 'show-rules'
4
4
  aliases :explain
5
5
  summary 'describe the rules for each item'
6
6
  description "
data/lib/nanoc/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nanoc
4
4
  # The current Nanoc version.
5
- VERSION = '4.12.12'
5
+ VERSION = '4.12.14'
6
6
  end
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.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-15 00:00:00.000000000 Z
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.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.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.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.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.3.25
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.