lib/nanoc/base/services/compiler_loader.rb in nanoc-4.8.12 vs lib/nanoc/base/services/compiler_loader.rb in nanoc-4.8.13
- old
+ new
@@ -2,27 +2,27 @@
module Nanoc::Int
# @api private
class CompilerLoader
def load(site, action_provider: nil)
- action_sequence_store = Nanoc::Int::ActionSequenceStore.new(site: site)
+ action_sequence_store = Nanoc::Int::ActionSequenceStore.new(config: site.config)
dependency_store =
- Nanoc::Int::DependencyStore.new(site.items, site.layouts, site.config, site: site)
+ Nanoc::Int::DependencyStore.new(site.items, site.layouts, site.config)
objects = site.items.to_a + site.layouts.to_a + site.code_snippets + [site.config]
checksum_store =
- Nanoc::Int::ChecksumStore.new(site: site, objects: objects)
+ Nanoc::Int::ChecksumStore.new(config: site.config, objects: objects)
action_provider ||= Nanoc::Int::ActionProvider.named(:rule_dsl).for(site)
outdatedness_store =
- Nanoc::Int::OutdatednessStore.new(site: site)
+ Nanoc::Int::OutdatednessStore.new(config: site.config)
compiled_content_cache =
Nanoc::Int::CompiledContentCache.new(
- site: site,
+ config: site.config,
items: site.items,
)
params = {
compiled_content_cache: compiled_content_cache,