Class: HeadSoftwareSpec

Inherits:
SoftwareSpec show all
Defined in:
software_spec.rb

Constant Summary

Constants inherited from SoftwareSpec

SoftwareSpec::PREDEFINED_OPTIONS

Instance Attribute Summary

Attributes inherited from SoftwareSpec

#bottle_specification, #build, #compiler_failures, #dependency_collector, #deprecated_flags, #deprecated_options, #full_name, #name, #options, #owner, #patches, #resources

Attributes included from Downloadable

#checksum, #mirrors, #url

Instance Method Summary collapse

Methods inherited from SoftwareSpec

#add_dep_option, #bottle, #bottle_defined?, #bottle_tag?, #bottled?, #declared_deps, #depends_on, #deprecated_option, #deps, #download_type, #fails_with, #freeze, #go_resource, #initialize_dup, #needs, #option, #option_defined?, #patch, #recursive_dependencies, #recursive_requirements, #requirements, #resource, #resource_defined?, #url, #uses_from_macos

Methods included from OnSystem::MacOSAndLinux

included

Methods included from Downloadable

#cached_download, #clear_cache, #download_name, #download_strategy, #download_type, #downloaded?, #downloader, #fetch, #freeze, #initialize_dup, #name, #version

Methods included from Context

current, current=, #debug?, #quiet?, #verbose?, #with_context

Constructor Details

#initialize(flags: []) ⇒ HeadSoftwareSpec

Returns a new instance of HeadSoftwareSpec.



289
290
291
292
# File 'software_spec.rb', line 289

def initialize(flags: [])
  super
  @resource.version(Version.new("HEAD"))
end

Instance Method Details

#verify_download_integrity(_filename) ⇒ Object



294
295
296
# File 'software_spec.rb', line 294

def verify_download_integrity(_filename)
  # no-op
end