Class: HeadSoftwareSpec

Inherits:
SoftwareSpec show all
Defined in:
software_spec.rb,
sorbet/rbi/dsl/head_software_spec.rbi

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?, #cached_download, #checksum, #clear_cache, #declared_deps, #depends_on, #deprecated_option, #deps, #download_name, #download_type, #downloader, #fails_with, #fetch, #freeze, #go_resource, #initialize_dup, #mirror, #mirrors, #needs, #option, #option_defined?, #patch, #recursive_dependencies, #recursive_requirements, #requirements, #resource, #resource_defined?, #sha256, #source_modified_time, #specs, #stage, #url, #uses_from_macos, #using, #version

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