Class: HeadSoftwareSpec
- Inherits:
-
SoftwareSpec
- Object
- SoftwareSpec
- HeadSoftwareSpec
- Defined in:
- head_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
Instance Method Summary collapse
- #initialize(flags: []) ⇒ void constructor private
- #verify_download_integrity(_filename) ⇒ nil private
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, #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, #on_arch_conditional, #on_macos, #on_system_conditional
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: []) ⇒ void
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
8 9 10 11 |
# File 'head_software_spec.rb', line 8 def initialize(flags: []) super @resource.version(Version.new("HEAD")) end |
Instance Method Details
#verify_download_integrity(_filename) ⇒ nil
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
14 15 16 |
# File 'head_software_spec.rb', line 14 def verify_download_integrity(_filename) # no-op end |