diff options
| author | Zog | 2018-02-20 09:49:23 +0100 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-02-20 09:50:28 +0100 | 
| commit | acefe872a387f58837ab80ace92d232abe02e733 (patch) | |
| tree | 7e6e17fcfb81ea187456f1540b487e6645a6b6ea /lib | |
| parent | 18d5cec602cd247fe763d810becdbe9626fa3232 (diff) | |
| download | chouette-core-acefe872a387f58837ab80ace92d232abe02e733.tar.bz2 | |
Regs #5924; Rename imports tasks
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/tasks/imports.rake | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/tasks/imports.rake b/lib/tasks/imports.rake index 6791bd877..b91ff7efb 100644 --- a/lib/tasks/imports.rake +++ b/lib/tasks/imports.rake @@ -48,7 +48,7 @@ namespace :import do    end    desc "import the given file with the corresponding importer in the given StopAreaReferential" -  task :import_stop_areas_in_referential, [:referential_id, :configuration_name, :filepath] => :environment do |t, args| +  task :import_in_stop_area_referential, [:referential_id, :configuration_name, :filepath] => :environment do |t, args|      referential = StopAreaReferential.find args[:referential_id]      importer = SimpleImporter.create configuration_name: args[:configuration_name], filepath: args[:filepath]      importer.configure do |config| @@ -88,7 +88,7 @@ namespace :import do    end    desc "import the given file with the corresponding importer in the given LineReferential" -  task :import_lines_in_referential, [:referential_id, :configuration_name, :filepath] => :environment do |t, args| +  task :import_in_line_referential, [:referential_id, :configuration_name, :filepath] => :environment do |t, args|      referential = LineReferential.find args[:referential_id]      importer = SimpleImporter.create configuration_name: args[:configuration_name], filepath: args[:filepath]      importer.configure do |config| | 
