Sha256: 950ae017828eafbfefd5d7928764e0d39687843c7be87e1929b3511da1c459b1

Contents?: true

Size: 436 Bytes

Versions: 35

Compression:

Stored size: 436 Bytes

Contents

module PodPrebuild
  class ExclusionCacheValidator < AccumulatedCacheValidator
    def initialize(options)
      super(options)
      @ignored_pods = options[:ignored_pods] || Set.new
      @prebuilt_pod_names = options[:prebuilt_pod_names]
    end

    def validate(accumulated)
      validation = @prebuilt_pod_names.nil? ? accumulated : accumulated.keep(@prebuilt_pod_names)
      validation.discard(@ignored_pods)
    end
  end
end

Version data entries

35 entries across 35 versions & 4 rubygems

Version Path
cocoapods-binary-cache-next-0.1.16 lib/cocoapods-binary-cache/cache/validator_exclusion.rb
cocoapods-binary-cache-next-0.1.15 lib/cocoapods-binary-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.19 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.18 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.17 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.16 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.15 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.14 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.13 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.12 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.11 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.10 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.9 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-ht-1.0.0 lib/cocoapods-binary-ht/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.8 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.7 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.6 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.5 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.4 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb
cocoapods-binary-artifactory-cache-0.0.3 lib/cocoapods-binary-artifactory-cache/cache/validator_exclusion.rb