Class: PodPrebuild::PodfileChangesCacheValidator

Inherits:
BaseCacheValidator show all
Defined in:
lib/cocoapods-binary-cache/cache/validator_with_podfile.rb

Instance Attribute Summary

Attributes inherited from BaseCacheValidator

#generated_framework_path, #pod_lockfile, #podfile, #prebuilt_lockfile, #validate_prebuilt_settings

Instance Method Summary collapse

Methods inherited from BaseCacheValidator

#changes_of_prebuilt_lockfile_vs_podfile, #incompatible_build_settings, #incompatible_pod, #initialize, #load_metadata, #read_prebuilt_build_settings, #read_source_hash, #validate_pods, #validate_with_podfile

Constructor Details

This class inherits a constructor from PodPrebuild::BaseCacheValidator

Instance Method Details

#validateObject



3
4
5
6
7
# File 'lib/cocoapods-binary-cache/cache/validator_with_podfile.rb', line 3

def validate(*)
  return PodPrebuild::CacheValidationResult.new if @prebuilt_lockfile.nil? || @podfile.nil?

  validate_with_podfile
end