homebrew-cask-versions/test/cask
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
..
artifact bugfix: make uninstall :script accept a hash 2014-01-11 12:20:59 -05:00
cli remove colon and add quotes to search not found message 2013-12-19 12:14:50 -05:00
container use absolute paths for all commands 2013-12-14 08:48:40 -06:00
audit_test.rb Check no_checksum if version is latest 2013-12-30 20:46:11 +08:00
cli_test.rb Improved the name of a test 2013-12-14 09:51:46 +01:00
download_strategy_test.rb some refactoring around the new download strategy 2013-12-15 13:18:47 -06:00
dsl_test.rb make method_missing message much more explicit 2013-12-15 14:16:22 -06:00
installer_test.rb remove empty app dirs from caskroom on uninstall 2013-11-10 14:48:16 -06:00
link_checker_test.rb fixes to pkg uninstaller to prevent madness 2013-10-24 14:56:29 -05:00
pkg_test.rb use absolute paths for all commands 2013-12-14 08:48:40 -06:00
scopes_test.rb support non-ruby-backed casks 2013-12-05 20:10:19 -06:00
underscore_supporting_uri_test.rb fix: Allow for underscores in urls 2013-10-07 20:03:44 -05:00