lib/nanoc/base/services/outdatedness_rules/content_modified.rb in nanoc-4.11.8 vs lib/nanoc/base/services/outdatedness_rules/content_modified.rb in nanoc-4.11.9

- old
+ new

@@ -1,19 +1,19 @@ # frozen_string_literal: true module Nanoc module Int module OutdatednessRules - class ContentModified < Nanoc::Int::OutdatednessRule + class ContentModified < Nanoc::Core::OutdatednessRule affects_props :raw_content, :compiled_content def apply(obj, outdatedness_checker) obj = obj.item if obj.is_a?(Nanoc::Core::ItemRep) ch_old = outdatedness_checker.checksum_store.content_checksum_for(obj) ch_new = outdatedness_checker.checksums.content_checksum_for(obj) if ch_old != ch_new - Nanoc::Int::OutdatednessReasons::ContentModified + Nanoc::Core::OutdatednessReasons::ContentModified end end end end end