lib/tasks/download.rb in buildr-0.18.0 vs lib/tasks/download.rb in buildr-0.19.0
- old
+ new
@@ -1,8 +1,13 @@
require "tempfile"
+require "core/transports"
module Buildr
+ # :call-seq:
+ # download(url_or_uri) => task
+ # download(path=>url_or_uri) =>task
+ #
# Create a task that will download a file from a URL.
#
# Takes a single argument, a hash with one pair. The key is the file being
# created, the value if the URL to download. The task executes only if the
# file does not exist; the URL is not checked for updates.