Sha256: 5ea50db608d958788f3844e737c5273254954ad0be53a20c6e21185df8b1de3d
Contents?: true
Size: 451 Bytes
Versions: 8
Compression:
Stored size: 451 Bytes
Contents
# frozen_string_literal: true module Nanoc module Int module OutdatednessRules class NotWritten < Nanoc::Int::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 end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems