homebrew-cask/lib
Claudia f348f74157 Introduce optional block syntax for `url` stanza
This commit amends the `url` stanza to accept an optional
block

The block is only evaluated when needed, for example on
download time or when auditing a Cask. It is never evaluated
when loading a Cask.

The return value of the block is either a `String`, or a
`String, Hash` tuple; the latter case is for additional
options such as `referer`.

Implementation note: Rolled my own delegate logic because
`SimpleDelegator` turns out to take too much of a
performance hit.
2016-06-18 21:32:39 +02:00
..
hbc Introduce optional block syntax for `url` stanza 2016-06-18 21:32:39 +02:00
vendor Replace `and`/`or`/`not` keywords with `&&`/`||`/`!` (#22041) 2016-06-18 00:43:50 -04:00
hbc.rb Change default Caskroom path (#21857) 2016-06-12 10:09:03 +01:00