Remove default value from bottle_url options parameter

To construct a URL, we need options to pass to bottle_filename, so this
method should error out if none are given.
This commit is contained in:
Jack Nagel 2014-07-13 19:29:36 -05:00
parent 272cb4db26
commit 08891e77b6

View File

@ -34,7 +34,7 @@ def bottle_native_regex
/(\.#{bottle_tag}\.bottle\.(\d+\.)?tar\.gz)$/o /(\.#{bottle_tag}\.bottle\.(\d+\.)?tar\.gz)$/o
end end
def bottle_url(root_url, filename_options={}) def bottle_url(root_url, filename_options)
"#{root_url}/#{bottle_filename(filename_options)}" "#{root_url}/#{bottle_filename(filename_options)}"
end end