nanoc 4.7.3 → 4.7.4
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/Gemfile.lock +5 -5
- data/NEWS.md +7 -0
- data/lib/nanoc/base/entities.rb +1 -1
- data/lib/nanoc/base/entities/{rule_memory.rb → action_sequence.rb} +19 -1
- data/lib/nanoc/base/entities/outdatedness_reasons.rb +12 -4
- data/lib/nanoc/base/entities/outdatedness_status.rb +1 -1
- data/lib/nanoc/base/repos.rb +1 -1
- data/lib/nanoc/base/repos/{rule_memory_store.rb → action_sequence_store.rb} +12 -12
- data/lib/nanoc/base/repos/checksum_store.rb +3 -3
- data/lib/nanoc/base/services/action_provider.rb +1 -9
- data/lib/nanoc/base/services/checksummer.rb +4 -2
- data/lib/nanoc/base/services/compiler.rb +11 -11
- data/lib/nanoc/base/services/compiler/phases/recalculate.rb +3 -3
- data/lib/nanoc/base/services/compiler/stages/cleanup.rb +1 -1
- data/lib/nanoc/base/services/compiler/stages/compile_reps.rb +3 -3
- data/lib/nanoc/base/services/compiler/stages/determine_outdatedness.rb +7 -2
- data/lib/nanoc/base/services/compiler_loader.rb +3 -3
- data/lib/nanoc/base/services/item_rep_builder.rb +4 -2
- data/lib/nanoc/base/services/item_rep_router.rb +7 -2
- data/lib/nanoc/base/services/outdatedness_checker.rb +30 -7
- data/lib/nanoc/base/services/outdatedness_rule.rb +7 -4
- data/lib/nanoc/base/services/outdatedness_rules.rb +9 -161
- data/lib/nanoc/base/services/outdatedness_rules/attributes_modified.rb +34 -0
- data/lib/nanoc/base/services/outdatedness_rules/code_snippets_modified.rb +26 -0
- data/lib/nanoc/base/services/outdatedness_rules/configuration_modified.rb +23 -0
- data/lib/nanoc/base/services/outdatedness_rules/content_modified.rb +15 -0
- data/lib/nanoc/base/services/outdatedness_rules/not_written.rb +11 -0
- data/lib/nanoc/base/services/outdatedness_rules/paths_modified.rb +20 -0
- data/lib/nanoc/base/services/outdatedness_rules/rules_modified.rb +13 -0
- data/lib/nanoc/base/services/outdatedness_rules/uses_always_outdated_filter.rb +20 -0
- data/lib/nanoc/rule_dsl.rb +1 -1
- data/lib/nanoc/rule_dsl/action_provider.rb +7 -11
- data/lib/nanoc/rule_dsl/{rule_memory_calculator.rb → action_sequence_calculator.rb} +21 -39
- data/lib/nanoc/rule_dsl/recording_executor.rb +7 -7
- data/lib/nanoc/spec.rb +7 -7
- data/lib/nanoc/version.rb +1 -1
- data/spec/nanoc/base/checksummer_spec.rb +20 -0
- data/spec/nanoc/base/compiler_spec.rb +7 -10
- data/spec/nanoc/base/entities/action_sequence_spec.rb +278 -0
- data/spec/nanoc/base/repos/checksum_store_spec.rb +22 -2
- data/spec/nanoc/base/services/compiler/stages/cleanup_spec.rb +2 -2
- data/spec/nanoc/base/services/compiler/stages/compile_reps_spec.rb +5 -9
- data/spec/nanoc/base/services/executor_spec.rb +5 -5
- data/spec/nanoc/base/services/item_rep_router_spec.rb +36 -18
- data/spec/nanoc/base/services/outdatedness_checker_spec.rb +74 -30
- data/spec/nanoc/base/services/outdatedness_rules_spec.rb +78 -18
- data/spec/nanoc/helpers/rendering_spec.rb +4 -4
- data/spec/nanoc/rule_dsl/{rule_memory_calculator_spec.rb → action_sequence_calculator_spec.rb} +6 -61
- data/spec/nanoc/rule_dsl/recording_executor_spec.rb +45 -45
- data/test/base/test_outdatedness_checker.rb +1 -1
- data/test/rule_dsl/test_action_provider.rb +3 -3
- metadata +15 -7
- data/spec/nanoc/base/entities/rule_memory_spec.rb +0 -167
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7edb702d8929a927c1451d25bfa2371a4464914
|
4
|
+
data.tar.gz: 1120a8323748658b9d26bb5ca10b500dfc162a31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a62949639c9c7ebb38ecaf5c1c4c60c1b03e73cdcc4791c300a811517e8fbf826b71079eee6dc5966ae4c25c7aea4e1eefe0ff589c3ec477e0a41f3b70717d16
|
7
|
+
data.tar.gz: 962038a9d13bb4d58395999e77f73a48fc6b3be78fc862e83135aa8fa82f894f01ffb8b696d2354dcaabc7b1b4983245a339bdc96d3cb98ac9bede5153cc0536
|
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
GIT
|
2
2
|
remote: https://github.com/bbatsov/rubocop.git
|
3
|
-
revision:
|
3
|
+
revision: d602d0a763da9f4f16b441f6205c6913eb99fbe4
|
4
4
|
specs:
|
5
5
|
rubocop (0.48.0)
|
6
6
|
parser (>= 2.3.3.1, < 3.0)
|
@@ -27,7 +27,7 @@ GIT
|
|
27
27
|
PATH
|
28
28
|
remote: .
|
29
29
|
specs:
|
30
|
-
nanoc (4.7.
|
30
|
+
nanoc (4.7.4)
|
31
31
|
cri (~> 2.3)
|
32
32
|
ddplugin (~> 1.0)
|
33
33
|
hamster (~> 3.0)
|
@@ -273,7 +273,7 @@ GEM
|
|
273
273
|
mocha (1.2.1)
|
274
274
|
metaclass (~> 0.0.1)
|
275
275
|
multi_json (1.12.1)
|
276
|
-
mustache (1.0.
|
276
|
+
mustache (1.0.5)
|
277
277
|
nenv (0.3.0)
|
278
278
|
nokogiri (1.7.1)
|
279
279
|
mini_portile2 (~> 2.1.0)
|
@@ -338,7 +338,7 @@ GEM
|
|
338
338
|
tilt (>= 1.3.3, < 2.1)
|
339
339
|
slop (3.6.0)
|
340
340
|
temple (0.7.7)
|
341
|
-
term-ansicolor (1.
|
341
|
+
term-ansicolor (1.5.0)
|
342
342
|
tins (~> 1.0)
|
343
343
|
thor (0.19.4)
|
344
344
|
tilt (2.0.7)
|
@@ -347,7 +347,7 @@ GEM
|
|
347
347
|
trollop (2.1.2)
|
348
348
|
typogruby (1.0.18)
|
349
349
|
rubypants
|
350
|
-
uglifier (3.1.
|
350
|
+
uglifier (3.1.11)
|
351
351
|
execjs (>= 0.3.0, < 3)
|
352
352
|
unicode-display_width (1.1.3)
|
353
353
|
url (0.3.2)
|
data/NEWS.md
CHANGED
data/lib/nanoc/base/entities.rb
CHANGED
@@ -16,7 +16,7 @@ require_relative 'entities/item_rep'
|
|
16
16
|
require_relative 'entities/layout'
|
17
17
|
require_relative 'entities/pattern'
|
18
18
|
require_relative 'entities/props'
|
19
|
-
require_relative 'entities/
|
19
|
+
require_relative 'entities/action_sequence'
|
20
20
|
require_relative 'entities/site'
|
21
21
|
require_relative 'entities/snapshot_def'
|
22
22
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Nanoc::Int
|
2
|
-
class
|
2
|
+
class ActionSequence
|
3
3
|
include Nanoc::Int::ContractsSupport
|
4
4
|
include Enumerable
|
5
5
|
|
@@ -83,6 +83,24 @@ module Nanoc::Int
|
|
83
83
|
self.class.new(@item_rep, actions: actions)
|
84
84
|
end
|
85
85
|
|
86
|
+
def snapshots_defs
|
87
|
+
is_binary = @item_rep.item.content.binary?
|
88
|
+
snapshot_defs = []
|
89
|
+
|
90
|
+
each do |action|
|
91
|
+
case action
|
92
|
+
when Nanoc::Int::ProcessingActions::Snapshot
|
93
|
+
action.snapshot_names.each do |snapshot_name|
|
94
|
+
snapshot_defs << Nanoc::Int::SnapshotDef.new(snapshot_name, binary: is_binary)
|
95
|
+
end
|
96
|
+
when Nanoc::Int::ProcessingActions::Filter
|
97
|
+
is_binary = Nanoc::Filter.named!(action.filter_name).to_binary?
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
snapshot_defs
|
102
|
+
end
|
103
|
+
|
86
104
|
private
|
87
105
|
|
88
106
|
def will_add_snapshot(name)
|
@@ -49,10 +49,18 @@ module Nanoc::Int
|
|
49
49
|
Props.new(raw_content: true, compiled_content: true),
|
50
50
|
)
|
51
51
|
|
52
|
-
AttributesModified
|
53
|
-
|
54
|
-
|
55
|
-
|
52
|
+
class AttributesModified < Generic
|
53
|
+
attr_reader :attributes
|
54
|
+
|
55
|
+
def initialize(attributes)
|
56
|
+
super(
|
57
|
+
'The attributes of this item have been modified since the last time the site was compiled.',
|
58
|
+
Props.new(attributes: true, compiled_content: true),
|
59
|
+
)
|
60
|
+
|
61
|
+
@attributes = attributes
|
62
|
+
end
|
63
|
+
end
|
56
64
|
|
57
65
|
PathsModified = Generic.new(
|
58
66
|
'One or more output paths of this item have been modified since the last time the site was compiled.',
|
data/lib/nanoc/base/repos.rb
CHANGED
@@ -7,7 +7,7 @@ require_relative 'repos/data_source'
|
|
7
7
|
require_relative 'repos/dependency_store'
|
8
8
|
require_relative 'repos/item_rep_repo'
|
9
9
|
require_relative 'repos/outdatedness_store'
|
10
|
-
require_relative 'repos/
|
10
|
+
require_relative 'repos/action_sequence_store'
|
11
11
|
require_relative 'repos/site_loader'
|
12
12
|
require_relative 'repos/snapshot_repo'
|
13
13
|
require_relative 'repos/in_mem_data_source'
|
@@ -1,43 +1,43 @@
|
|
1
1
|
module Nanoc::Int
|
2
|
-
# Stores
|
2
|
+
# Stores action sequences for objects that can be run through a rule (item
|
3
3
|
# representations and layouts).
|
4
4
|
#
|
5
5
|
# @api private
|
6
|
-
class
|
6
|
+
class ActionSequenceStore < ::Nanoc::Int::Store
|
7
7
|
def initialize(site: nil)
|
8
8
|
super(Nanoc::Int::Store.tmp_path_for(site: site, store_name: 'rule_memory'), 1)
|
9
9
|
|
10
|
-
@
|
10
|
+
@action_sequences = {}
|
11
11
|
end
|
12
12
|
|
13
13
|
# @param [Nanoc::Int::ItemRep, Nanoc::Int::Layout] obj The item representation or
|
14
|
-
# the layout to get the
|
14
|
+
# the layout to get the action sequence for
|
15
15
|
#
|
16
|
-
# @return [Array] The
|
16
|
+
# @return [Array] The action sequence for the given object
|
17
17
|
def [](obj)
|
18
|
-
@
|
18
|
+
@action_sequences[obj.reference]
|
19
19
|
end
|
20
20
|
|
21
21
|
# @param [Nanoc::Int::ItemRep, Nanoc::Int::Layout] obj The item representation or
|
22
|
-
# the layout to set the
|
22
|
+
# the layout to set the action sequence for
|
23
23
|
#
|
24
|
-
# @param [Array]
|
24
|
+
# @param [Array] action_sequence The new action sequence to be stored
|
25
25
|
#
|
26
26
|
# @return [void]
|
27
|
-
def []=(obj,
|
28
|
-
@
|
27
|
+
def []=(obj, action_sequence)
|
28
|
+
@action_sequences[obj.reference] = action_sequence
|
29
29
|
end
|
30
30
|
|
31
31
|
protected
|
32
32
|
|
33
33
|
# @see Nanoc::Int::Store#data
|
34
34
|
def data
|
35
|
-
@
|
35
|
+
@action_sequences
|
36
36
|
end
|
37
37
|
|
38
38
|
# @see Nanoc::Int::Store#data=
|
39
39
|
def data=(new_data)
|
40
|
-
@
|
40
|
+
@action_sequences = new_data
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|
@@ -28,7 +28,7 @@ module Nanoc::Int
|
|
28
28
|
def add(obj)
|
29
29
|
if obj.is_a?(Nanoc::Int::Document)
|
30
30
|
@checksums[[obj.reference, :content]] = Nanoc::Int::Checksummer.calc_for_content_of(obj)
|
31
|
-
@checksums[[obj.reference, :
|
31
|
+
@checksums[[obj.reference, :each_attribute]] = Nanoc::Int::Checksummer.calc_for_each_attribute_of(obj)
|
32
32
|
end
|
33
33
|
|
34
34
|
@checksums[obj.reference] = Nanoc::Int::Checksummer.calc(obj)
|
@@ -41,9 +41,9 @@ module Nanoc::Int
|
|
41
41
|
@checksums[[obj.reference, :content]]
|
42
42
|
end
|
43
43
|
|
44
|
-
contract c_obj => C::Maybe[String]
|
44
|
+
contract c_obj => C::Maybe[C::HashOf[Symbol, String]]
|
45
45
|
def attributes_checksum_for(obj)
|
46
|
-
@checksums[[obj.reference, :
|
46
|
+
@checksums[[obj.reference, :each_attribute]]
|
47
47
|
end
|
48
48
|
|
49
49
|
protected
|
@@ -11,18 +11,10 @@ module Nanoc::Int
|
|
11
11
|
raise NotImplementedError
|
12
12
|
end
|
13
13
|
|
14
|
-
def
|
14
|
+
def action_sequence_for(_rep)
|
15
15
|
raise NotImplementedError
|
16
16
|
end
|
17
17
|
|
18
|
-
def snapshots_defs_for(_rep)
|
19
|
-
raise NotImplementedError
|
20
|
-
end
|
21
|
-
|
22
|
-
def paths_for(rep)
|
23
|
-
memory_for(rep).paths
|
24
|
-
end
|
25
|
-
|
26
18
|
def need_preprocessing?
|
27
19
|
raise NotImplementedError
|
28
20
|
end
|
@@ -48,8 +48,10 @@ module Nanoc::Int
|
|
48
48
|
obj.content_checksum_data || obj.checksum_data || Nanoc::Int::Checksummer.calc(obj.content)
|
49
49
|
end
|
50
50
|
|
51
|
-
def
|
52
|
-
obj.
|
51
|
+
def calc_for_each_attribute_of(obj, digest_class = CompactDigest)
|
52
|
+
obj.attributes.each_with_object({}) do |(key, value), memo|
|
53
|
+
memo[key] = Nanoc::Int::Checksummer.calc(value, digest_class)
|
54
|
+
end
|
53
55
|
end
|
54
56
|
|
55
57
|
private
|
@@ -33,7 +33,7 @@ module Nanoc::Int
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def filter_name_and_args_for_layout(layout)
|
36
|
-
mem = @action_provider.
|
36
|
+
mem = @action_provider.action_sequence_for(layout)
|
37
37
|
if mem.nil? || mem.size != 1 || !mem[0].is_a?(Nanoc::Int::ProcessingActions::Filter)
|
38
38
|
raise Nanoc::Int::Errors::UndefinedFilterForLayout.new(layout)
|
39
39
|
end
|
@@ -84,7 +84,7 @@ module Nanoc::Int
|
|
84
84
|
attr_reader :checksum_store
|
85
85
|
|
86
86
|
# @api private
|
87
|
-
attr_reader :
|
87
|
+
attr_reader :action_sequence_store
|
88
88
|
|
89
89
|
# @api private
|
90
90
|
attr_reader :action_provider
|
@@ -104,12 +104,12 @@ module Nanoc::Int
|
|
104
104
|
# @api private
|
105
105
|
attr_reader :snapshot_repo
|
106
106
|
|
107
|
-
def initialize(site, compiled_content_cache:, checksum_store:,
|
107
|
+
def initialize(site, compiled_content_cache:, checksum_store:, action_sequence_store:, action_provider:, dependency_store:, outdatedness_checker:, reps:, outdatedness_store:)
|
108
108
|
@site = site
|
109
109
|
|
110
110
|
@compiled_content_cache = compiled_content_cache
|
111
111
|
@checksum_store = checksum_store
|
112
|
-
@
|
112
|
+
@action_sequence_store = action_sequence_store
|
113
113
|
@dependency_store = dependency_store
|
114
114
|
@outdatedness_checker = outdatedness_checker
|
115
115
|
@reps = reps
|
@@ -141,9 +141,9 @@ module Nanoc::Int
|
|
141
141
|
|
142
142
|
# TODO: rename to store_preprocessed_state
|
143
143
|
def store
|
144
|
-
# Calculate
|
144
|
+
# Calculate action sequence
|
145
145
|
(@reps.to_a + @site.layouts.to_a).each do |obj|
|
146
|
-
|
146
|
+
action_sequence_store[obj] = action_provider.action_sequence_for(obj).serialize
|
147
147
|
end
|
148
148
|
|
149
149
|
# Calculate checksums
|
@@ -153,7 +153,7 @@ module Nanoc::Int
|
|
153
153
|
|
154
154
|
# Store
|
155
155
|
checksum_store.store
|
156
|
-
|
156
|
+
action_sequence_store.store
|
157
157
|
end
|
158
158
|
|
159
159
|
def store_output_state
|
@@ -164,7 +164,7 @@ module Nanoc::Int
|
|
164
164
|
builder = Nanoc::Int::ItemRepBuilder.new(
|
165
165
|
site, action_provider, @reps
|
166
166
|
)
|
167
|
-
builder.run
|
167
|
+
@action_sequences = builder.run
|
168
168
|
end
|
169
169
|
|
170
170
|
def compilation_context
|
@@ -214,7 +214,7 @@ module Nanoc::Int
|
|
214
214
|
@_compile_reps_stage ||= Stages::CompileReps.new(
|
215
215
|
outdatedness_store: @outdatedness_store,
|
216
216
|
dependency_store: @dependency_store,
|
217
|
-
|
217
|
+
action_sequences: @action_sequences,
|
218
218
|
compilation_context: compilation_context,
|
219
219
|
compiled_content_cache: compiled_content_cache,
|
220
220
|
)
|
@@ -225,7 +225,7 @@ module Nanoc::Int
|
|
225
225
|
end
|
226
226
|
|
227
227
|
def determine_outdatedness
|
228
|
-
determine_outdatedness_stage.run do |outdated_items|
|
228
|
+
determine_outdatedness_stage.run(@action_sequences) do |outdated_items|
|
229
229
|
@outdated_items = outdated_items
|
230
230
|
end
|
231
231
|
end
|
@@ -241,7 +241,7 @@ module Nanoc::Int
|
|
241
241
|
checksum_store,
|
242
242
|
compiled_content_cache,
|
243
243
|
@dependency_store,
|
244
|
-
|
244
|
+
action_sequence_store,
|
245
245
|
@outdatedness_store,
|
246
246
|
]
|
247
247
|
end
|
@@ -4,10 +4,10 @@ module Nanoc::Int::Compiler::Phases
|
|
4
4
|
class Recalculate < Abstract
|
5
5
|
include Nanoc::Int::ContractsSupport
|
6
6
|
|
7
|
-
def initialize(
|
7
|
+
def initialize(action_sequences:, dependency_store:, compilation_context:)
|
8
8
|
super(wrapped: nil)
|
9
9
|
|
10
|
-
@
|
10
|
+
@action_sequences = action_sequences
|
11
11
|
@dependency_store = dependency_store
|
12
12
|
@compilation_context = compilation_context
|
13
13
|
end
|
@@ -21,7 +21,7 @@ module Nanoc::Int::Compiler::Phases
|
|
21
21
|
|
22
22
|
@compilation_context.snapshot_repo.set(rep, :last, rep.item.content)
|
23
23
|
|
24
|
-
actions = @
|
24
|
+
actions = @action_sequences[rep]
|
25
25
|
actions.each do |action|
|
26
26
|
case action
|
27
27
|
when Nanoc::Int::ProcessingActions::Filter
|
@@ -26,7 +26,7 @@ module Nanoc::Int::Compiler::Stages
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def cleanup_old_stores
|
29
|
-
%w(checksums compiled_content dependencies outdatedness
|
29
|
+
%w(checksums compiled_content dependencies outdatedness action_sequence).each do |fn|
|
30
30
|
full_fn = File.join('tmp', fn)
|
31
31
|
if File.file?(full_fn)
|
32
32
|
FileUtils.rm_f(full_fn)
|
@@ -1,9 +1,9 @@
|
|
1
1
|
module Nanoc::Int::Compiler::Stages
|
2
2
|
class CompileReps
|
3
|
-
def initialize(outdatedness_store:, dependency_store:,
|
3
|
+
def initialize(outdatedness_store:, dependency_store:, action_sequences:, compilation_context:, compiled_content_cache:)
|
4
4
|
@outdatedness_store = outdatedness_store
|
5
5
|
@dependency_store = dependency_store
|
6
|
-
@
|
6
|
+
@action_sequences = action_sequences
|
7
7
|
@compilation_context = compilation_context
|
8
8
|
@compiled_content_cache = compiled_content_cache
|
9
9
|
end
|
@@ -33,7 +33,7 @@ module Nanoc::Int::Compiler::Stages
|
|
33
33
|
def item_rep_compiler
|
34
34
|
@_item_rep_compiler ||= begin
|
35
35
|
recalculate_phase = Nanoc::Int::Compiler::Phases::Recalculate.new(
|
36
|
-
|
36
|
+
action_sequences: @action_sequences,
|
37
37
|
dependency_store: @dependency_store,
|
38
38
|
compilation_context: @compilation_context,
|
39
39
|
)
|
@@ -1,14 +1,19 @@
|
|
1
1
|
module Nanoc::Int::Compiler::Stages
|
2
2
|
class DetermineOutdatedness
|
3
|
+
include Nanoc::Int::ContractsSupport
|
4
|
+
|
3
5
|
def initialize(reps:, outdatedness_checker:, outdatedness_store:)
|
4
6
|
@reps = reps
|
5
7
|
@outdatedness_checker = outdatedness_checker
|
6
8
|
@outdatedness_store = outdatedness_store
|
7
9
|
end
|
8
10
|
|
9
|
-
|
11
|
+
C_OBJ = C::Or[Nanoc::Int::Item, Nanoc::Int::ItemRep, Nanoc::Int::Layout]
|
12
|
+
|
13
|
+
contract C::HashOf[C_OBJ => Nanoc::Int::ActionSequence], C::Func[C::IterOf[Nanoc::Int::Item] => C::Any] => C::Any
|
14
|
+
def run(action_sequences)
|
10
15
|
outdated_reps_tmp = @reps.select do |r|
|
11
|
-
@outdatedness_store.include?(r) || @outdatedness_checker.outdated?(r)
|
16
|
+
@outdatedness_store.include?(r) || @outdatedness_checker.outdated?(r, action_sequences)
|
12
17
|
end
|
13
18
|
|
14
19
|
outdated_items = outdated_reps_tmp.map(&:item).uniq
|
@@ -2,7 +2,7 @@ module Nanoc::Int
|
|
2
2
|
# @api private
|
3
3
|
class CompilerLoader
|
4
4
|
def load(site, action_provider: nil)
|
5
|
-
|
5
|
+
action_sequence_store = Nanoc::Int::ActionSequenceStore.new(site: site)
|
6
6
|
|
7
7
|
dependency_store =
|
8
8
|
Nanoc::Int::DependencyStore.new(site.items.to_a + site.layouts.to_a, site: site)
|
@@ -24,7 +24,7 @@ module Nanoc::Int
|
|
24
24
|
site: site,
|
25
25
|
checksum_store: checksum_store,
|
26
26
|
dependency_store: dependency_store,
|
27
|
-
|
27
|
+
action_sequence_store: action_sequence_store,
|
28
28
|
action_provider: action_provider,
|
29
29
|
reps: item_rep_repo,
|
30
30
|
)
|
@@ -38,7 +38,7 @@ module Nanoc::Int
|
|
38
38
|
params = {
|
39
39
|
compiled_content_cache: compiled_content_cache,
|
40
40
|
checksum_store: checksum_store,
|
41
|
-
|
41
|
+
action_sequence_store: action_sequence_store,
|
42
42
|
dependency_store: dependency_store,
|
43
43
|
outdatedness_checker: outdatedness_checker,
|
44
44
|
reps: item_rep_repo,
|