Sha256: 5a2352053206fd74ad8c7cd2194fcf0b798da1f0a7482fc6aee79cad2d82f784

Contents?: true

Size: 572 Bytes

Versions: 8

Compression:

Stored size: 572 Bytes

Contents

module PodPrebuild
  class PostInstallHook
    def initialize(installer_context)
      @installer_context = installer_context
    end

    def run
      diagnose if PodPrebuild::Env.integration_stage?
    end

    private

    def diagnose
      Pod::UI.title("Diagnosing cocoapods-binary-cache") do
        PodPrebuild::Diagnosis.new(
          cache_validation: PodPrebuild.state.cache_validation,
          standard_sandbox: @installer_context.sandbox,
          specs: @installer_context.umbrella_targets.map(&:specs).flatten
        ).run
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
cocoapods-binary-cache-next-0.1.16 lib/cocoapods-binary-cache/hooks/post_install.rb
cocoapods-binary-cache-next-0.1.15 lib/cocoapods-binary-cache/hooks/post_install.rb
cocoapods-binary-cache-0.1.14 lib/cocoapods-binary-cache/hooks/post_install.rb
cocoapods-binary-cache-0.1.13 lib/cocoapods-binary-cache/hooks/post_install.rb
cocoapods-binary-cache-0.1.12 lib/cocoapods-binary-cache/hooks/post_install.rb
cocoapods-binary-cache-0.1.11 lib/cocoapods-binary-cache/hooks/post_install.rb
cocoapods-binary-cache-0.1.10 lib/cocoapods-binary-cache/hooks/post_install.rb
cocoapods-binary-cache-0.1.9 lib/cocoapods-binary-cache/hooks/post_install.rb