Class: Pod::Downloader::Subversion
- Inherits:
-
Base
- Object
- Base
- Pod::Downloader::Subversion
show all
- Defined in:
- lib/cocoapods-downloader/subversion.rb
Instance Attribute Summary
Attributes inherited from Base
#options, #target_path, #url
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#download, #download_head, executable, #head_supported?, #initialize, #name, preprocess_options, user_agent_string, #validate_input
#expose_api
Class Method Details
.options ⇒ Object
4
5
6
|
# File 'lib/cocoapods-downloader/subversion.rb', line 4
def self.options
[:revision, :tag, :folder, :externals, :checkout]
end
|
Instance Method Details
#checkout_options ⇒ Object
12
13
14
15
16
17
18
19
|
# File 'lib/cocoapods-downloader/subversion.rb', line 12
def checkout_options
Dir.chdir(target_path) do
options = {}
options[:svn] = url
options[:revision] = @exported_revision
options
end
end
|
#options_specific? ⇒ Boolean
8
9
10
|
# File 'lib/cocoapods-downloader/subversion.rb', line 8
def options_specific?
!(options[:revision] || options[:tag]).nil?
end
|