From f3e682943f53a6018bc194ee4f51d5e1e81df050 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Fri, 23 Jan 2009 14:36:03 -0800 Subject: [PATCH] Better names for tasks --- lib/tasks/data.rake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/tasks/data.rake b/lib/tasks/data.rake index 62bc2b1..980d310 100644 --- a/lib/tasks/data.rake +++ b/lib/tasks/data.rake @@ -1,7 +1,7 @@ namespace :rate_plugin do namespace :budget do - desc "Export the values of the Budget plugin to a file" - task :pre => :environment do + desc "Export the values of the Budget plugin to a file before installing the rate plugin" + task :pre_install_export => :environment do unless Redmine::Plugin.registered_plugins[:budget_plugin].version == "0.1.0" puts "ERROR: This task is only needed when upgrading from version 0.1.0 to version 0.2.0" @@ -39,7 +39,7 @@ namespace :rate_plugin do end desc "Check the values of the export" - task :post => :environment do + task :post_install_check => :environment do unless Redmine::Plugin.registered_plugins[:budget_plugin].version == "0.2.0" puts "ERROR: Please upgrade the budget_plugin to 0.2.0 now"