homebrew-cask/spec
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
..
cask Introduce optional block syntax for `url` stanza 2016-06-18 21:32:39 +02:00
support Introduce optional block syntax for `url` stanza 2016-06-18 21:32:39 +02:00
spec_helper.rb Fix deadlock in `Hbc::SystemCommand` (#21665) 2016-06-03 21:01:34 -04:00