brew/Library/Homebrew/head_software_spec.rb
Mike McQuaid 2b737f0423
Split up SoftwareSpec
This came up in the AGM and has bothered me for years: let's actually
split out `software_spec.rb` into one file per class, as is more typical
in Ruby.

This will make these classes easier to find.
2025-02-04 16:27:39 +00:00

16 lines
295 B
Ruby

# typed: true # rubocop:todo Sorbet/StrictSigil
# frozen_string_literal: true
require "software_spec"
class HeadSoftwareSpec < SoftwareSpec
def initialize(flags: [])
super
@resource.version(Version.new("HEAD"))
end
def verify_download_integrity(_filename)
# no-op
end
end