homebrew-cask/test
Roland Walker 81744a038d bugfix: make uninstall :script accept a hash
The indentation in CONTRIBUTING.md implies that :script accepts a hash.
But that is not the case. Instead :script accesses the entire hash defined
by uninstall.  Unrelated install keys such as :quit leak through to
@command.run! when attempting to exec :script.  Result: contrary to docs,
:script cannot be combined with other uninstall keys.

This PR makes uninstall :script accept a hash.  When :args or :input are not
needed, :script can still accept a plain string, so many Casks require no
alteration.

In addition
- adds key :executable, required when using hash argument to :script
- keys to :script are validated and sanitized before being passed to
  @command.run!
- adds :quit to with-installable.rb test to protect against regression
  on leaky keys
2014-01-11 12:20:59 -05:00
..
Casks add audits into the build process 2013-04-07 14:30:09 -05:00
cask bugfix: make uninstall :script accept a hash 2014-01-11 12:20:59 -05:00
plist more robust plist parsing, and better error handling 2013-11-03 13:07:18 -06:00
support bugfix: make uninstall :script accept a hash 2014-01-11 12:20:59 -05:00
cask_test.rb fix test cruft introduced by #2304 2014-01-04 13:16:16 -05:00
test_helper.rb Test qlplugindir auto-creation. 2013-11-29 12:01:11 -05:00