Method: Pod::Source::Manager#aggregate_for_dependency
- Defined in:
- lib/cocoapods-core/source/manager.rb
#aggregate_for_dependency(dependency) ⇒ Source::Aggregate
Returns The aggregate of the sources from repos.
37 38 39 40 41 42 43 44 |
# File 'lib/cocoapods-core/source/manager.rb', line 37 def aggregate_for_dependency(dependency) return aggregate if dependency.podspec_repo.nil? source = source_with_url(dependency.podspec_repo) || source_with_name(dependency.podspec_repo) return aggregate if source.nil? aggregate_with_repos([source.repo]) end |