lib/nanoc/base/services/outdatedness_checker.rb in nanoc-4.11.4 vs lib/nanoc/base/services/outdatedness_checker.rb in nanoc-4.11.5
- old
+ new
@@ -113,11 +113,11 @@
C_OBJ = C::Or[Nanoc::Core::Item, Nanoc::Core::ItemRep, Nanoc::Core::Configuration, Nanoc::Core::Layout, Nanoc::Core::ItemCollection]
C_ITEM_OR_REP = C::Or[Nanoc::Core::Item, Nanoc::Core::ItemRep]
C_ACTION_SEQUENCES = C::HashOf[C_OBJ => Nanoc::Core::ActionSequence]
- contract C::KeywordArgs[site: Nanoc::Int::Site, checksum_store: Nanoc::Int::ChecksumStore, checksums: Nanoc::Core::ChecksumCollection, dependency_store: Nanoc::Int::DependencyStore, action_sequence_store: Nanoc::Int::ActionSequenceStore, action_sequences: C_ACTION_SEQUENCES, reps: Nanoc::Int::ItemRepRepo] => C::Any
+ contract C::KeywordArgs[site: Nanoc::Core::Site, checksum_store: Nanoc::Int::ChecksumStore, checksums: Nanoc::Core::ChecksumCollection, dependency_store: Nanoc::Int::DependencyStore, action_sequence_store: Nanoc::Int::ActionSequenceStore, action_sequences: C_ACTION_SEQUENCES, reps: Nanoc::Int::ItemRepRepo] => C::Any
def initialize(site:, checksum_store:, checksums:, dependency_store:, action_sequence_store:, action_sequences:, reps:)
@site = site
@checksum_store = checksum_store
@checksums = checksums
@dependency_store = dependency_store
@@ -183,10 +183,10 @@
# Done
is_outdated
end
- contract Nanoc::Int::Dependency => C::Bool
+ contract Nanoc::Core::Dependency => C::Bool
def dependency_causes_outdatedness?(dependency)
return true if dependency.from.nil?
status = basic.outdatedness_status_for(dependency.from)