Module: Pod::Installer::Shared

Included in:
Pod::Installer, TargetInstaller
Defined in:
lib/cocoapods/installer.rb

Instance Method Summary collapse

Instance Method Details

#build_specificationsObject



10
11
12
# File 'lib/cocoapods/installer.rb', line 10

def build_specifications
  dependent_specification_sets.reject(&:only_part_of_other_pod?).map(&:specification)
end

#dependent_specification_setsObject



6
7
8
# File 'lib/cocoapods/installer.rb', line 6

def dependent_specification_sets
  @dependent_specification_sets ||= Resolver.new(@podfile, @definition ? @definition.dependencies : nil).resolve
end

#download_only_specificationsObject



14
15
16
# File 'lib/cocoapods/installer.rb', line 14

def download_only_specifications
  dependent_specification_sets.select(&:only_part_of_other_pod?).map(&:specification)
end