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

- old
+ new

@@ -1,15 +1,15 @@ # frozen_string_literal: true module Nanoc module Int module OutdatednessRules - class NotWritten < Nanoc::Int::OutdatednessRule + class NotWritten < Nanoc::Core::OutdatednessRule affects_props :raw_content, :attributes, :compiled_content, :path def apply(obj, _outdatedness_checker) if obj.raw_paths.values.flatten.compact.any? { |fn| !File.file?(fn) } - Nanoc::Int::OutdatednessReasons::NotWritten + Nanoc::Core::OutdatednessReasons::NotWritten end end end end end