Sha256: 47385e839b382c38ad682d9106732804fe5ea97ae9351dbc0e1f98febc83decb
Contents?: true
Size: 857 Bytes
Versions: 29
Compression:
Stored size: 857 Bytes
Contents
require_relative "base" module PodPrebuild class IntegrationDiagnosis < BaseDiagnosis def run should_be_integrated = if PodPrebuild.config.prebuild_job? \ then @cache_validation.hit + @cache_validation.missed \ else @cache_validation.hit \ end should_be_integrated = should_be_integrated.map { |name| name.split("/")[0] }.to_set unintegrated = should_be_integrated.reject do |name| module_name = spec(name)&.module_name || name framework_path = \ @standard_sandbox.pod_dir(name) + \ PodPrebuild.config.prebuilt_path(path: "#{module_name}.framework") framework_path.exist? end return [] if unintegrated.empty? [[:error, "Unintegrated frameworks: #{unintegrated}"]] end end end
Version data entries
29 entries across 29 versions & 4 rubygems