lib/tasks/ffcrm/dropbox.rake in fat_free_crm-0.15.0.beta vs lib/tasks/ffcrm/dropbox.rake in fat_free_crm-0.15.0.beta.2
- old
+ new
@@ -6,17 +6,17 @@
namespace :ffcrm do
namespace :dropbox do
desc "Run dropbox crawler and process incoming emails"
task run: :environment do
require "fat_free_crm/mail_processor/dropbox"
- FatFreeCRM::MailProcessor::Dropbox.new.run(dry_run = false)
+ FatFreeCRM::MailProcessor::Dropbox.new.run(false)
end
namespace :run do
desc "[Dry run] - Run dropbox crawler and process incoming emails"
task dry: :environment do
require "fat_free_crm/mail_processor/dropbox"
- FatFreeCRM::MailProcessor::Dropbox.new.run(dry_run = true)
+ FatFreeCRM::MailProcessor::Dropbox.new.run(true)
end
end
desc "Set up email dropbox based on currently loaded settings"
task setup: :environment do