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 23:07:01 +01:00
2013-09-19 23:36:15 -07:00
2013-09-17 13:58:34 -05:00
2013-06-22 21:40:26 -05:00
2013-06-23 14:31:43 +01:00
2013-04-07 20:59:49 -05:00
2013-09-01 13:19:13 -07:00
2013-02-07 19:02:20 -06:00
2013-09-11 22:05:26 -07:00
2013-09-19 23:10:09 -07:00
2013-08-15 22:46:56 -07:00
2013-08-24 16:42:29 -07:00
2013-05-23 12:50:31 -07:00
2013-08-19 17:21:13 -05:00
2013-09-01 13:19:13 -07:00
2013-09-17 06:44:25 -07:00