Class: Pod::ExternalSources::PathSource
- Inherits:
-
AbstractExternalSource
- Object
- AbstractExternalSource
- Pod::ExternalSources::PathSource
- Defined in:
- lib/cocoapods/external_sources.rb
Overview
Provides support for fetching a specification file from a path local to the machine running the installation.
Works with the LocalPod::LocalSourcedPod class.
Instance Attribute Summary
Attributes inherited from AbstractExternalSource
Helpers collapse
Methods inherited from AbstractExternalSource
Constructor Details
This class inherits a constructor from Pod::ExternalSources::AbstractExternalSource
Instance Method Details
#description ⇒ Object
334 335 336 |
# File 'lib/cocoapods/external_sources.rb', line 334 def description "from `#{params[:path] || params[:local]}`" end |
#fetch(sandbox) ⇒ Object
324 325 326 327 328 329 330 |
# File 'lib/cocoapods/external_sources.rb', line 324 def fetch(sandbox) UI.titled_section("Fetching podspec for `#{name}` #{description}", { :verbose_prefix => "-> " }) do podspec = podspec_path store_podspec(sandbox, podspec) sandbox.store_local_path(name, podspec.dirname) end end |