 2b737f0423
			
		
	
	
		2b737f0423
		
			
		
	
	
	
	
		
			
			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.
		
			
				
	
	
		
			16 lines
		
	
	
		
			295 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			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
 |