nanoc 4.12.10 → 4.12.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +13 -1
- data/lib/nanoc/rule_dsl/action_recorder.rb +6 -4
- data/lib/nanoc/rule_dsl/action_sequence_calculator.rb +2 -2
- 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: 8d784425d3333d0b8354e8909ba82685f7897f116762f9afc2b06a8c57c7806b
|
4
|
+
data.tar.gz: 82ed84b2f93cff85a340a8caf3cc0cd58d2990aaacf3e877308402284855075c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee3a85d5463c7aa2ba03f41ebd99a9ccb525fb60fefcd3c916f9b1902b4bacb83b5486a203cfbe5c33306b67eaa7dde3bee4b7a08e92dafdf936718a50bcbc24
|
7
|
+
data.tar.gz: 5415a8bff2a825775f323cd2bce3bc0cc2f2bdc4be7137b8418596492a3a4df853ff0cb1cfcf38c3fe1ebd61986242c32ee6aa8a69052b8b8a025e417dad4f26
|
data/NEWS.md
CHANGED
@@ -1,10 +1,22 @@
|
|
1
1
|
# Nanoc news
|
2
2
|
|
3
|
+
## 4.12.12 (2022-11-15)
|
4
|
+
|
5
|
+
Fixes:
|
6
|
+
|
7
|
+
- Fixed a bug that could incorrectly raise compilation dependency cycle errors (#1620)
|
8
|
+
|
9
|
+
## 4.12.11 (2022-11-12)
|
10
|
+
|
11
|
+
Enhancements:
|
12
|
+
|
13
|
+
- Further improved compilation speed, especially for partial recompilation (#1609, #1612, #1613, #1615)
|
14
|
+
|
3
15
|
## 4.12.10 (2022-10-18)
|
4
16
|
|
5
17
|
Enhancements:
|
6
18
|
|
7
|
-
- Improved compilation speed, especially for partial
|
19
|
+
- Improved compilation speed, especially for partial recompilation (#1602, #1603, #1604)
|
8
20
|
|
9
21
|
## 4.12.9 (2022-10-08)
|
10
22
|
|
@@ -6,8 +6,10 @@ module Nanoc
|
|
6
6
|
include Nanoc::Core::ContractsSupport
|
7
7
|
|
8
8
|
contract Nanoc::Core::ItemRep => C::Any
|
9
|
-
def initialize(
|
10
|
-
@
|
9
|
+
def initialize(item_rep)
|
10
|
+
@item_rep = item_rep
|
11
|
+
|
12
|
+
@action_sequence_builder = Nanoc::Core::ActionSequenceBuilder.new
|
11
13
|
|
12
14
|
@any_layouts = false
|
13
15
|
@last_snapshot = false
|
@@ -30,7 +32,7 @@ module Nanoc
|
|
30
32
|
|
31
33
|
unless any_layouts?
|
32
34
|
@pre_snapshot = true
|
33
|
-
@action_sequence_builder.add_snapshot(:pre, nil)
|
35
|
+
@action_sequence_builder.add_snapshot(:pre, nil, @item_rep)
|
34
36
|
end
|
35
37
|
|
36
38
|
@action_sequence_builder.add_layout(layout_identifier, extra_filter_args)
|
@@ -51,7 +53,7 @@ module Nanoc
|
|
51
53
|
path.to_s
|
52
54
|
end
|
53
55
|
|
54
|
-
@action_sequence_builder.add_snapshot(snapshot_name, path)
|
56
|
+
@action_sequence_builder.add_snapshot(snapshot_name, path, @item_rep)
|
55
57
|
case snapshot_name
|
56
58
|
when :last
|
57
59
|
@last_snapshot = true
|
@@ -84,7 +84,7 @@ module Nanoc::RuleDSL
|
|
84
84
|
raise NoActionSequenceForLayoutException.new(layout)
|
85
85
|
end
|
86
86
|
|
87
|
-
Nanoc::Core::ActionSequenceBuilder.build
|
87
|
+
Nanoc::Core::ActionSequenceBuilder.build do |b|
|
88
88
|
b.add_filter(res[0], res[1])
|
89
89
|
end
|
90
90
|
end
|
@@ -98,7 +98,7 @@ module Nanoc::RuleDSL
|
|
98
98
|
actions << action
|
99
99
|
end
|
100
100
|
end
|
101
|
-
Nanoc::Core::ActionSequence.new(
|
101
|
+
Nanoc::Core::ActionSequence.new(actions: actions)
|
102
102
|
end
|
103
103
|
|
104
104
|
def copy_paths_from_routing_rules(seq, snapshots_for_which_to_skip_routing_rule, rep:)
|
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.12
|
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-11-15 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.12
|
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.12
|
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.12
|
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.12
|
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.
|
253
|
+
rubygems_version: 3.3.25
|
254
254
|
signing_key:
|
255
255
|
specification_version: 4
|
256
256
|
summary: A static-site generator with a focus on flexibility.
|