Issy Long 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3a83b5492c 
							
						 
					 
					
						
						
							
							rubocop: Clean up Style/BlockDelimiters excludes and autofix offenses  
						
						... 
						
						
						
						- The defaults of using "do ... end" for multi-line blocks everywhere is
  good, better than switching everything to braces everywhere. 
						
						
					 
					
						2023-03-08 23:54:22 +00:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							f39fb5d6b2 
							
						 
					 
					
						
						
							
							cask/config: new method for cask.config.explicit as string  
						
						
						
						
					 
					
						2021-02-01 10:44:19 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							24ae318a3d 
							
						 
					 
					
						
						
							
							Move type annotations into files.  
						
						
						
						
					 
					
						2020-10-10 14:59:39 +02:00 
						 
				 
			
				
					
						
							
							
								Claudia 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cad8be3278 
							
						 
					 
					
						
						
							
							Add broken test, revealing test helper flaw  
						
						... 
						
						
						
						This commit adds a broken test, which is meant to expose a flaw in the
constructor of `Cask::Config`.
That (broken) test still passes because there’s also a flaw in our
test helper code.
The helper flaw happens to neutralize the `Cask::Config` flaw. 
						
						
					 
					
						2020-04-27 15:00:22 +02:00 
						 
				 
			
				
					
						
							
							
								Claudia 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dd3267ece0 
							
						 
					 
					
						
						
							
							Add test for JSON-based cask config loader  
						
						... 
						
						
						
						Previously, the JSON-based cask config loader was untested.
This commit changes the interface to accept a string, making the loader
easier to test. The commit also adds a test. 
						
						
					 
					
						2020-04-27 14:54:56 +02:00 
						 
				 
			
				
					
						
							
							
								Claudia 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							374f788a3c 
							
						 
					 
					
						
						
							
							cask/config_spec: add failing test  
						
						... 
						
						
						
						We recently added a new global artifact and then updated a cask to
make use of that new artifact. This caused a number of `brew cask`
commands to fail for users who had the cask installed before the
artifact was added.
This commit adds test cases for that failure mode.
See also:
- https://github.com/Homebrew/brew/pull/7286#issuecomment-613376568 
- https://discourse.brew.sh/t/cask-definition-is-invalid-invalid-mdimporter-stanza-key-not-found-mdimporterdir  
						
						
					 
					
						2020-04-21 18:26:51 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							36dbad3922 
							
						 
					 
					
						
						
							
							Add frozen_string_literal to all files.  
						
						
						
						
					 
					
						2019-04-20 13:27:36 +09:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							707cb33346 
							
						 
					 
					
						
						
							
							Add tests for Cask::Config.  
						
						
						
						
					 
					
						2019-02-15 10:09:14 +01:00