Sha256: 59780e897e8b91ea5aaad8ff133bf1ef46c899a62f5aaa7c313a0ab3e3e2856a
Contents?: true
Size: 731 Bytes
Versions: 4
Compression:
Stored size: 731 Bytes
Contents
module PodPrebuild class DependenciesGraphCacheValidator < AccumulatedCacheValidator def validate(accumulated) return accumulated if library_evolution_supported? || @pod_lockfile.nil? dependencies_graph = DependenciesGraph.new(@pod_lockfile.lockfile) clients = dependencies_graph.get_clients(accumulated.missed.to_a) unless Pod::Podfile::DSL.dev_pods_enabled clients = clients.reject { |client| @pod_lockfile.dev_pods.keys.include?(client) } end missed = clients.map { |client| [client, "Dependencies were missed"] }.to_h accumulated.merge(PodPrebuild::CacheValidationResult.new(missed, Set.new)) end def library_evolution_supported? false end end end
Version data entries
4 entries across 4 versions & 1 rubygems