roll back stricter version check
This commit is contained in:
		
							parent
							
								
									cef5429f93
								
							
						
					
					
						commit
						715f808421
					
				@ -52,7 +52,9 @@ class Formula
 | 
			
		||||
    set_instance_variable 'version'
 | 
			
		||||
    # Otherwise detect the version from the URL
 | 
			
		||||
    @version ||= @spec_to_use.detect_version
 | 
			
		||||
    validate_variable :version
 | 
			
		||||
    # Only validate if a version was set; GitHubGistFormula needs to get
 | 
			
		||||
    # the URL to determine the version
 | 
			
		||||
    validate_variable :version if @version
 | 
			
		||||
 | 
			
		||||
    CHECKSUM_TYPES.each { |type| set_instance_variable type }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user