Class: Pod::Installer::Analyzer

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-tj/native/analyzer.rb,
lib/cocoapods-tj/native/sandbox_analyzer.rb

Defined Under Namespace

Classes: SandboxAnalyzer

Instance Method Summary collapse

Instance Method Details

#old_update_repositoriesObject



10
# File 'lib/cocoapods-tj/native/analyzer.rb', line 10

alias old_update_repositories update_repositories

#update_repositoriesObject



11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/cocoapods-tj/native/analyzer.rb', line 11

def update_repositories
  if installation_options.update_source_with_multi_processes

    Parallel.each(sources.uniq(&:url), in_processes: 4) do |source|
      if source.git?
        config.sources_manager.update(source.name, true)
      else
      end
    end
    @specs_updated = true
  else
    old_update_repositories
  end
end