Method: Pod::Specification::Set#specification_paths_for_version

Defined in:
lib/cocoapods-core/specification/set.rb

#specification_paths_for_version(version) ⇒ Array<String>

Returns the paths to specifications for the given version.

Returns:

  • (Array<String>)

    the paths to specifications for the given version



66
67
68
69
# File 'lib/cocoapods-core/specification/set.rb', line 66

def specification_paths_for_version(version)
  sources = @sources.select { |source| versions_by_source[source].include?(version) }
  sources.map { |source| source.specification_path(name, version) }
end