lib/nanoc/base/repos/compiled_content_cache.rb in nanoc-4.8.12 vs lib/nanoc/base/repos/compiled_content_cache.rb in nanoc-4.8.13

- old
+ new

@@ -6,12 +6,12 @@ # # @api private class CompiledContentCache < ::Nanoc::Int::Store include Nanoc::Int::ContractsSupport - contract C::KeywordArgs[site: Nanoc::Int::Site, items: C::IterOf[Nanoc::Int::Item]] => C::Any - def initialize(site:, items:) - super(Nanoc::Int::Store.tmp_path_for(site: site, store_name: 'compiled_content'), 2) + contract C::KeywordArgs[config: Nanoc::Int::Configuration, items: C::IterOf[Nanoc::Int::Item]] => C::Any + def initialize(config:, items:) + super(Nanoc::Int::Store.tmp_path_for(config: config, store_name: 'compiled_content'), 2) @items = items @cache = {} end