lib/nanoc/base/services/compiler_loader.rb in nanoc-4.8.9 vs lib/nanoc/base/services/compiler_loader.rb in nanoc-4.8.10
- old
+ new
@@ -12,16 +12,14 @@
objects = site.items.to_a + site.layouts.to_a + site.code_snippets + [site.config]
checksum_store =
Nanoc::Int::ChecksumStore.new(site: site, objects: objects)
- item_rep_repo = Nanoc::Int::ItemRepRepo.new
-
action_provider ||= Nanoc::Int::ActionProvider.named(:rule_dsl).for(site)
outdatedness_store =
- Nanoc::Int::OutdatednessStore.new(site: site, reps: item_rep_repo)
+ Nanoc::Int::OutdatednessStore.new(site: site)
compiled_content_cache =
Nanoc::Int::CompiledContentCache.new(
site: site,
items: site.items,
@@ -30,10 +28,9 @@
params = {
compiled_content_cache: compiled_content_cache,
checksum_store: checksum_store,
action_sequence_store: action_sequence_store,
dependency_store: dependency_store,
- reps: item_rep_repo,
action_provider: action_provider,
outdatedness_store: outdatedness_store,
}
Nanoc::Int::Compiler.new(site, params)