Module: Pod::Installer::Shared
- Included in:
- Pod::Installer, TargetInstaller
- Defined in:
- lib/cocoapods/installer.rb
Instance Method Summary collapse
- #build_specifications ⇒ Object
- #dependent_specification_sets ⇒ Object
- #download_only_specifications ⇒ Object
Instance Method Details
#build_specifications ⇒ Object
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_sets ⇒ Object
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_specifications ⇒ Object
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 |