Sha256: c91c4fb850d112a3f180d508131e780df6cab7c3571a0898c697e768d09b482a

Contents?: true

Size: 730 Bytes

Versions: 3

Compression:

Stored size: 730 Bytes

Contents

module Pod
  class Installer
    # Analyzes the Podfile, the Lockfile, and the sandbox manifest to generate
    # the information relative to a CocoaPods installation.
    #
    class Analyzer
      alias origin_update_repositories update_repositories
      def update_repositories
        threads = []
        sources.each do |source|
          threads << Thread.new {
            if source.updateable?
              sources_manager.update(source.name, true)
            else
              UI.message "Skipping `#{source.name}` update because the repository is not an updateable repository."
            end
          }
        end
        threads.each {|thr| thr.join}
        @specs_updated = true
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cocoapods-pdk8-0.0.3 lib/cocoapods-pdk8/hook/analyzer.rb
cocoapods-pdk8-0.0.2 lib/cocoapods-pdk8/hook/analyzer.rb
cocoapods-pdk8-0.0.1 lib/cocoapods-pdk8/hook/analyzer.rb