Sha256: e04865bfd7702a0c0183a45e09c64ead6864af9cd64dfe1bc53f926c4571fda9
Contents?: true
Size: 541 Bytes
Versions: 38
Compression:
Stored size: 541 Bytes
Contents
# frozen_string_literal: true module Nanoc::Int::OutdatednessRules class ItemCollectionExtended < Nanoc::Int::OutdatednessRule affects_props :raw_content contract Nanoc::Int::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
Version data entries
38 entries across 38 versions & 1 rubygems