lib/nanoc/base/compilation/checksum_store.rb in nanoc-3.8.0 vs lib/nanoc/base/compilation/checksum_store.rb in nanoc-4.0.0a1
- old
+ new
@@ -1,14 +1,14 @@
# encoding: utf-8
-module Nanoc
+module Nanoc::Int
# Stores checksums for objects in order to be able to detect whether a file
# has changed since the last site compilation.
#
# @api private
- class ChecksumStore < ::Nanoc::Store
- # @option params [Nanoc::Site] site The site where this checksum store
+ class ChecksumStore < ::Nanoc::Int::Store
+ # @option params [Nanoc::Int::Site] site The site where this checksum store
# belongs to
def initialize(params = {})
super('tmp/checksums', 1)
@site = params[:site] if params.key?(:site)
@@ -33,10 +33,10 @@
# @param [String] checksum The checksum
def []=(obj, checksum)
@checksums[obj.reference] = checksum
end
- # @see Nanoc::Store#unload
+ # @see Nanoc::Int::Store#unload
def unload
@checksums = {}
end
protected