Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							5b3bbb76c9 
							
						 
					 
					
						
						
							
							Separate staging from download.  
						
						
						
						
					 
					
						2018-07-12 10:39:27 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							459e2bfa48 
							
						 
					 
					
						
						
							
							Merge pull request  #4455  from reitermarkus/heredocs  
						
						... 
						
						
						
						Use more descriptive heredoc names. 
						
						
					 
					
						2018-07-12 09:30:35 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							7762ce32aa 
							
						 
					 
					
						
						
							
							Use more descriptive heredoc names.  
						
						
						
						
					 
					
						2018-07-11 18:15:30 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							37f3a603ce 
							
						 
					 
					
						
						
							
							Use env utility instead of with_env.  
						
						
						
						
					 
					
						2018-07-11 16:46:33 +02:00 
						 
				 
			
				
					
						
							
							
								Claudia 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3dbb735f3c 
							
						 
					 
					
						
						
							
							Fix PKG installer environment  
						
						... 
						
						
						
						This commit solves an issue where the environment handed to
`/usr/sbin/installer` is not the same as the environment used by the
graphical PKG installer.
This is evident in some post-install scripts, e. g. the
`component-10.pkg/Scripts/postinstall` script in the `dymo-label`
cask. The code says:
```
USER_ID=`id -u ${USER}`
launchctl bootstrap gui/$USER_ID /Library/LaunchAgents/com.dymo.dls.webservice.plist
```
The graphical installer will export e. g. `USER=alice`, and
everything works as intended.
However, `brew cask install` does not override `sudo`’s default,
which is `USER=ROOT`. This violates the assumptions in the script.
This commit fixes the issue by configuring `sudo` to override the
following environment variables with the proper user name:
- `LOGNAME`
- `USER`
- `USERNAME` 
						
						
					 
					
						2018-07-06 09:38:00 +02:00 
						 
				 
			
				
					
						
							
							
								commitay 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							44a78a12a9 
							
						 
					 
					
						
						
							
							Merge pull request  #4344  from commitay/cask-audit-all-appcasts  
						
						... 
						
						
						
						cask audit: check for devmate and hockeyapp appcasts 
						
						
					 
					
						2018-07-04 11:13:40 +10:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							98bc356a59 
							
						 
					 
					
						
						
							
							Use Pathname#/.  
						
						
						
						
					 
					
						2018-07-04 02:26:36 +02:00 
						 
				 
			
				
					
						
							
							
								commitay 
							
						 
					 
					
						
						
						
						
							
						
						
							b12498159b 
							
						 
					 
					
						
						
							
							cask audit: check for devmate and hockeyapp appcasts  
						
						
						
						
					 
					
						2018-06-28 23:17:05 +10:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							18e46b3ec2 
							
						 
					 
					
						
						
							
							Fix usage of HOMEBREW_LOAD_PATH.  
						
						
						
						
					 
					
						2018-06-18 16:23:35 +02:00 
						 
				 
			
				
					
						
							
							
								commitay 
							
						 
					 
					
						
						
						
						
							
						
						
							dbeed9e583 
							
						 
					 
					
						
						
							
							test fixtures: update/remove appcast checkpoints  
						
						
						
						
					 
					
						2018-06-11 13:15:32 +10:00 
						 
				 
			
				
					
						
							
							
								commitay 
							
						 
					 
					
						
						
						
						
							
						
						
							c68526ac09 
							
						 
					 
					
						
						
							
							audit: remove appcast checkpoints  
						
						
						
						
					 
					
						2018-06-11 13:14:00 +10:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							1d27c5f79a 
							
						 
					 
					
						
						
							
							Don't create Caskroom.path for tests.  
						
						
						
						
					 
					
						2018-06-09 11:32:49 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							b2f67c6d77 
							
						 
					 
					
						
						
							
							Remove the need for ensure_cache_exists.  
						
						
						
						
					 
					
						2018-06-09 11:13:37 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							12ab263784 
							
						 
					 
					
						
						
							
							Remove Hbc.default_tap.  
						
						
						
						
					 
					
						2018-06-09 10:13:28 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							fee2b56e14 
							
						 
					 
					
						
						
							
							Rename Cask tap for specs.  
						
						
						
						
					 
					
						2018-06-09 10:03:21 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							3d423b0587 
							
						 
					 
					
						
						
							
							Add path method to Caskroom and Cache.  
						
						
						
						
					 
					
						2018-06-09 09:52:48 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							42e34db562 
							
						 
					 
					
						
						
							
							Always add cask/lib to $LOAD_PATH.  
						
						
						
						
					 
					
						2018-06-07 18:42:30 +02:00 
						 
				 
			
				
					
						
							
							
								commitay 
							
						 
					 
					
						
						
						
						
							
						
						
							f012b5acf8 
							
						 
					 
					
						
						
							
							cask audit: check for sourceforge appcast  
						
						
						
						
					 
					
						2018-06-05 16:42:19 +10:00 
						 
				 
			
				
					
						
							
							
								Dominyk Tiller 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9391ac01a9 
							
						 
					 
					
						
						
							
							test: add symlink for macOS Mojave bottle  
						
						
						
						
					 
					
						2018-06-04 19:48:16 +01:00 
						 
				 
			
				
					
						
							
							
								Vítor Galvão 
							
						 
					 
					
						
						
						
						
							
						
						
							81d467abba 
							
						 
					 
					
						
						
							
							with-languages.rb: remove trailing whitespace  
						
						
						
						
					 
					
						2018-05-29 11:42:05 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5c3ec3e7ca 
							
						 
					 
					
						
						
							
							Merge pull request  #4174  from reitermarkus/cask-tap-migration  
						
						... 
						
						
						
						Add compatibility layer for handling Cask Tap migration. 
						
						
					 
					
						2018-05-21 14:45:14 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							b4de801a01 
							
						 
					 
					
						
						
							
							Support both Homebrew and caskroom for now.  
						
						
						
						
					 
					
						2018-05-21 01:43:49 +02:00 
						 
				 
			
				
					
						
							
							
								commitay 
							
						 
					 
					
						
						
						
						
							
						
						
							1ae2cf9709 
							
						 
					 
					
						
						
							
							cask audit: installer and pkg require uninstall  
						
						
						
						
					 
					
						2018-05-19 12:38:52 +10:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							791af7e910 
							
						 
					 
					
						
						
							
							Move invalid Cask fixtures into sub-directories.  
						
						
						
						
					 
					
						2018-04-14 11:44:19 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							9fca172d03 
							
						 
					 
					
						
						
							
							Fix HOMEBREW_RUBY_WARNINGS="-w"  
						
						... 
						
						
						
						Fix various circular requirements, method redefinitions, etc. 
						
						
					 
					
						2018-04-07 20:28:56 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0f4e22e28d 
							
						 
					 
					
						
						
							
							Merge pull request  #3981  from MikeMcQuaid/rspec-cleanup  
						
						... 
						
						
						
						test: rubocop-rspec style auto-corrects. 
						
						
					 
					
						2018-03-28 11:51:44 +01:00 
						 
				 
			
				
					
						
							
							
								commitay 
							
						 
					 
					
						
						
						
						
							
						
						
							2373ee6168 
							
						 
					 
					
						
						
							
							cask audit: check for :latest with appcast  
						
						
						
						
					 
					
						2018-03-27 20:56:05 +10:00 
						 
				 
			
				
					
						
							
							
								commitay 
							
						 
					 
					
						
						
						
						
							
						
						
							4020f50c14 
							
						 
					 
					
						
						
							
							cask audit: check for appcast if the cask uses github releases  
						
						
						
						
					 
					
						2018-03-27 16:17:37 +10:00 
						 
				 
			
				
					
						
							
							
								commitay 
							
						 
					 
					
						
						
						
						
							
						
						
							43244e7953 
							
						 
					 
					
						
						
							
							cask audit: check allow_untrusted  
						
						
						
						
					 
					
						2018-03-27 08:57:39 +10:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							5e1806e796 
							
						 
					 
					
						
						
							
							test: rubocop-rspec style auto-corrects.  
						
						... 
						
						
						
						There’s too many warnings to start enabling `rubocop-rspec` by default
but let’s at least apply the cleanups it does automatically. 
						
						
					 
					
						2018-03-25 13:30:37 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							e03f07f302 
							
						 
					 
					
						
						
							
							Rubocop 0.53.0 automatic fixes.  
						
						
						
						
					 
					
						2018-03-08 14:10:02 +00:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							6760d26319 
							
						 
					 
					
						
						
							
							Create Hbc::Config class.  
						
						
						
						
					 
					
						2018-01-27 21:47:18 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							1f48e17f1b 
							
						 
					 
					
						
						
							
							rubocop: fix brew style warnings.  
						
						
						
						
					 
					
						2018-01-17 10:42:43 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							8ed1425ed7 
							
						 
					 
					
						
						
							
							tests: don't output seed multiple times.  
						
						... 
						
						
						
						This clutters up the output. Instead, hide it with a RSpec formatter and
generate and output it ourselves. 
						
						
					 
					
						2017-12-15 09:14:44 +00:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							a02ce4f8e9 
							
						 
					 
					
						
						
							
							Also remove writer method for Hbc.binarydir.  
						
						
						
						
					 
					
						2017-12-03 10:09:09 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							e4bb09dd40 
							
						 
					 
					
						
						
							
							Remove unused writer methods for Hbc.caskroom and Hbc.cache.  
						
						
						
						
					 
					
						2017-12-03 09:58:01 +01:00 
						 
				 
			
				
					
						
							
							
								L. E. Segovia 
							
						 
					 
					
						
						
						
						
							
						
						
							10a0662dc0 
							
						 
					 
					
						
						
							
							Test upgrade for Casks with version :latest  
						
						
						
						
					 
					
						2017-11-28 00:29:45 +00:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f50ae44980 
							
						 
					 
					
						
						
							
							Merge pull request  #3396  from amyspark/hacktoberfest-upgrade  
						
						... 
						
						
						
						Implement `brew cask upgrade` 
						
						
					 
					
						2017-11-27 23:41:03 +01:00 
						 
				 
			
				
					
						
							
							
								Bob W. Hogg 
							
						 
					 
					
						
						
						
						
							
						
						
							3cd869651b 
							
						 
					 
					
						
						
							
							Add test fixtures for ELF executables  
						
						... 
						
						
						
						Add test/support/fixtures/elf/
and test/support/fixtures/tarballs/testball-0.1-linux.tbz 
						
						
					 
					
						2017-11-26 08:37:57 -08:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							48ed28a154 
							
						 
					 
					
						
						
							
							Change the generic bottle tag to processor-system  
						
						
						
						
					 
					
						2017-11-22 23:06:26 -08:00 
						 
				 
			
				
					
						
							
							
								L. E. Segovia 
							
						 
					 
					
						
						
						
						
							
						
						
							36fe355159 
							
						 
					 
					
						
						
							
							Add tests for upgrade recovery  
						
						
						
						
					 
					
						2017-11-13 08:46:08 -03:00 
						 
				 
			
				
					
						
							
							
								L. E. Segovia 
							
						 
					 
					
						
						
						
						
							
						
						
							522a229dbb 
							
						 
					 
					
						
						
							
							Fix upgrade tests and some upgrade? leftovers  
						
						
						
						
					 
					
						2017-11-08 08:33:33 -03:00 
						 
				 
			
				
					
						
							
							
								L. E. Segovia 
							
						 
					 
					
						
						
						
						
							
						
						
							c636be07f9 
							
						 
					 
					
						
						
							
							Separate do end into multiple lines  
						
						
						
						
					 
					
						2017-10-31 09:54:30 -03:00 
						 
				 
			
				
					
						
							
							
								L. E. Segovia 
							
						 
					 
					
						
						
						
						
							
						
						
							917c138eeb 
							
						 
					 
					
						
						
							
							Add tests for uninstall_* and zap stanzas  
						
						
						
						
					 
					
						2017-10-30 20:47:40 -03:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							8aa697363b 
							
						 
					 
					
						
						
							
							test.flac: add flac fixture.  
						
						
						
						
					 
					
						2017-10-27 09:33:37 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							7e970216a3 
							
						 
					 
					
						
						
							
							Refactor and fix RuboCop specs.  
						
						
						
						
					 
					
						2017-10-24 19:39:40 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							9bee9ca575 
							
						 
					 
					
						
						
							
							Use “squiggly” heredocs.  
						
						
						
						
					 
					
						2017-10-18 14:39:09 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							97333df4cb 
							
						 
					 
					
						
						
							
							Add helper method for Cask fixture paths and refactor CaskLoader.  
						
						
						
						
					 
					
						2017-10-07 16:11:25 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							ec0d8fa7ba 
							
						 
					 
					
						
						
							
							Merge pull request  #3220  from yzguy/yzguy/cask_available_languages_to_info  
						
						... 
						
						
						
						add available languages to cask info command 
						
						
					 
					
						2017-10-03 08:31:56 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Smith 
							
						 
					 
					
						
						
						
						
							
						
						
							270bf0506a 
							
						 
					 
					
						
						
							
							stylistic changes for cask info tests  
						
						
						
						
					 
					
						2017-10-02 11:34:50 -07:00