lib/rake_dependencies/tasks/fetch.rb in rake_dependencies-1.16.0 vs lib/rake_dependencies/tasks/fetch.rb in rake_dependencies-1.17.0.pre.1
- old
+ new
@@ -2,10 +2,12 @@
module RakeDependencies
module Tasks
class Fetch < RakeFactory::Task
default_name :fetch
- default_description ->(t) { "Fetch #{t.dependency}" }
+ default_description RakeFactory::DynamicValue.new { |t|
+ "Fetch #{t.dependency}"
+ }
parameter :dependency, required: true
parameter :download_task_name, default: :download
parameter :extract_task_name, default: :extract