Jack Nagel d1ce5bafc9 Raise when given an invalid download strategy spec
When DownloadStrategyDetector.detect is given a second argument, and
that argument is not a symbol or an AbstractDownloadStrategy subclass,
it is silently ignored, and we fall back to guessing the strategy based
on the URL.

This means I can do

  url 'http://foo.com/bar.tar.gz', :using => Class.new

and things will appear to work, even though I have clearly passed an
invalid value for :using.

A more useful behavior is to raise an exception for unknown strategy
specifications.
2013-09-26 17:00:00 -05:00
2013-09-24 20:43:34 -07:00
2013-04-06 17:32:47 +01:00
2013-06-04 20:41:53 +01:00
2013-09-03 18:06:13 +01:00

Homebrew

Features, usage and installation instructions are summarized on the homepage.

What Packages Are Available?

  1. You can browse the Formula directory on GitHub.
  2. Or type brew search for a list.
  3. Or run brew server to browse packages off of a local web server.
  4. Or visit braumeister.org to browse packages online.

More Documentation

brew help or man brew or check our wiki.

Who Are You?

I'm Max Howell and I'm a splendid chap.

License

Code is under the BSD 2 Clause (NetBSD) license.

Description
🍺 The missing package manager for macOS (or Linux)
Readme 144 MiB
4.6.25 Latest
2025-09-16 21:53:50 +00:00
Languages
Ruby 92%
Shell 5.2%
Roff 2.1%
HTML 0.5%