 25db60ebbb
			
		
	
	
		25db60ebbb
		
			
		
	
	
	
	
		
			
			Make the Homebrew/cask and Homebrew/homebrew-core style more closely match the rest of Homebrew. To accomplish this: - Run `brew cask style` to ensure we don't break style there when making changes or upgrading RuboCop in Homebrew/brew. - Fix the HomepageMatchesUrl cop to better handle weird input. - Remove the now unneeded `.rubocop_shared.yml` - Fix the cask fixtures with `brew cask style --fix`. - Share more style between Homebrew/brew, casks and formulae.
		
			
				
	
	
		
			19 lines
		
	
	
		
			287 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			287 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| cask "with-languages" do
 | |
|   version "1.2.3"
 | |
| 
 | |
|   language "zh" do
 | |
|     sha256 "abc123"
 | |
|     "zh-CN"
 | |
|   end
 | |
| 
 | |
|   language "en-US", default: true do
 | |
|     sha256 "xyz789"
 | |
|     "en-US"
 | |
|   end
 | |
| 
 | |
|   url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
 | |
|   homepage "https://brew.sh/"
 | |
| 
 | |
|   app "Caffeine.app"
 | |
| end
 |