Class: Omnibus::NullFetcher
- Inherits:
-
Fetcher
- Object
- Fetcher
- Omnibus::NullFetcher
show all
- Defined in:
- lib/omnibus/fetchers/null_fetcher.rb
Constant Summary
Constants included
from Util
Util::SHELLOUT_OPTIONS
Instance Attribute Summary
Attributes inherited from Fetcher
#software
Instance Method Summary
collapse
Methods inherited from Fetcher
#initialize
Methods included from Util
#copy_file, #create_directory, #create_file, #create_link, included, #remove_directory, #remove_file, #shellout, #shellout!, #windows_safe_path
Methods included from Logging
included
Methods included from Digestable
#digest, #digest_directory
Instance Method Details
#clean ⇒ false
36
37
38
|
# File 'lib/omnibus/fetchers/null_fetcher.rb', line 36
def clean
false
end
|
#fetch ⇒ void
43
44
45
46
47
48
|
# File 'lib/omnibus/fetchers/null_fetcher.rb', line 43
def fetch
log.info(log_key) { "Fetching `#{software.name}' (nothing to fetch)" }
create_required_directories
nil
end
|
#fetch_required? ⇒ false
22
23
24
|
# File 'lib/omnibus/fetchers/null_fetcher.rb', line 22
def fetch_required?
true
end
|
#version_for_cache ⇒ String
53
54
55
|
# File 'lib/omnibus/fetchers/null_fetcher.rb', line 53
def version_for_cache
nil
end
|
#version_guid ⇒ nil
29
30
31
|
# File 'lib/omnibus/fetchers/null_fetcher.rb', line 29
def version_guid
nil
end
|