formula: tweak to_hash bottle output.
Make some changes required to have `brew info --json=v1` whether there is any bottle block rather than a bottle checksum for the given system. This provides more consistent output.
This commit is contained in:
		
							parent
							
								
									7166289ad7
								
							
						
					
					
						commit
						a34c11874b
					
				@ -1526,7 +1526,7 @@ class Formula
 | 
			
		||||
      "aliases" => aliases,
 | 
			
		||||
      "versions" => {
 | 
			
		||||
        "stable" => stable&.version&.to_s,
 | 
			
		||||
        "bottle" => !bottle.nil?,
 | 
			
		||||
        "bottle" => !bottle_specification.checksums.empty?,
 | 
			
		||||
        "devel" => devel&.version&.to_s,
 | 
			
		||||
        "head" => head&.version&.to_s,
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user