diff --git a/lib/tasks/download_archival_files.rake b/lib/tasks/download_archival_files.rake index 8f44ad5..bfc6ded 100644 --- a/lib/tasks/download_archival_files.rake +++ b/lib/tasks/download_archival_files.rake @@ -11,12 +11,12 @@ namespace :datacore do desc "Download archival files" task download_archival_files: :environment do - DataCore::DownloadArchivalFilesTask.new.run + Datacore::DownloadArchivalFilesTask.new.run end end -module DataCore +module Datacore class DownloadArchivalFilesTask include ActionView::Helpers::NumberHelper diff --git a/lib/tasks/ingest_files.rake b/lib/tasks/ingest_files.rake index 2370b70..84f9de0 100644 --- a/lib/tasks/ingest_files.rake +++ b/lib/tasks/ingest_files.rake @@ -5,12 +5,12 @@ namespace :datacore do desc "Ingest dataset files from directory for previously created datasets." task ingest_directory: :environment do - DataCore::IngestFilesFromDirectoryTask.new.run + Datacore::IngestFilesFromDirectoryTask.new.run end end -module DataCore +module Datacore class IngestFilesFromDirectoryTask include ActionView::Helpers::NumberHelper