Sha256: 63cce30448754c2655524ed267de93dc4de2aa831e12162f85203b99988fc698

Contents?: true

Size: 335 Bytes

Versions: 4

Compression:

Stored size: 335 Bytes

Contents

# typed: strict
# frozen_string_literal: true

require "packwerk/cache_deprecated_references"

module Packwerk
  class DetectStaleDeprecatedReferences < CacheDeprecatedReferences
    extend T::Sig
    sig { returns(T::Boolean) }
    def stale_violations?
      @deprecated_references.values.any?(&:stale_violations?)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
packwerk-1.1.3 lib/packwerk/detect_stale_deprecated_references.rb
packwerk-1.1.2 lib/packwerk/detect_stale_deprecated_references.rb
packwerk-1.1.1 lib/packwerk/detect_stale_deprecated_references.rb
packwerk-1.1.0 lib/packwerk/detect_stale_deprecated_references.rb