Sha256: 3d93a4155ea59710f6e17826bb44a420c4e783962aa616f04c1779668c437e5d

Contents?: true

Size: 379 Bytes

Versions: 5

Compression:

Stored size: 379 Bytes

Contents

module Nanoc::Int::Compiler::Stages
  class ForgetOutdatedDependencies
    include Nanoc::Int::ContractsSupport

    def initialize(dependency_store:)
      @dependency_store = dependency_store
    end

    contract C::IterOf[Nanoc::Int::Item] => C::Any
    def run(outdated_items)
      outdated_items.each { |i| @dependency_store.forget_dependencies_for(i) }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nanoc-4.7.9 lib/nanoc/base/services/compiler/stages/forget_outdated_dependencies.rb
nanoc-4.7.8 lib/nanoc/base/services/compiler/stages/forget_outdated_dependencies.rb
nanoc-4.7.7 lib/nanoc/base/services/compiler/stages/forget_outdated_dependencies.rb
nanoc-4.7.6 lib/nanoc/base/services/compiler/stages/forget_outdated_dependencies.rb
nanoc-4.7.5 lib/nanoc/base/services/compiler/stages/forget_outdated_dependencies.rb