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-05-20 22:34:53 -05:00
2013-07-22 11:41:47 -05:00
2013-07-01 01:06:44 -05:00
2013-08-15 22:46:56 -07:00
2013-08-19 17:21:13 -05:00
2013-09-01 13:19:13 -07:00
2013-06-26 09:45:32 -07:00