Sha256: 4096c2a32c38dd80dc3c2a233dd6631ffe4812affe09e71cb3c2de1e672326b6
Contents?: true
Size: 614 Bytes
Versions: 8
Compression:
Stored size: 614 Bytes
Contents
# frozen_string_literal: true module Nanoc module Int module OutdatednessRules class ItemCollectionExtended < Nanoc::Int::OutdatednessRule affects_props :raw_content contract Nanoc::Core::ItemCollection, C::Named['Nanoc::Int::OutdatednessChecker'] => C::Maybe[Nanoc::Int::OutdatednessReasons::Generic] def apply(_obj, outdatedness_checker) new_items = outdatedness_checker.dependency_store.new_items if new_items.any? Nanoc::Int::OutdatednessReasons::ItemCollectionExtended.new(new_items) end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems