Sha256: 36ccc1615c06a2aa9aae31a6b2fe04ff0a92951dce43d1898942e5151e960297

Contents?: true

Size: 1017 Bytes

Versions: 9

Compression:

Stored size: 1017 Bytes

Contents

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
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(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(true)
      end
    end

    desc "Set up email dropbox based on currently loaded settings"
    task setup: :environment do
      require "fat_free_crm/mail_processor/dropbox"
      FatFreeCRM::MailProcessor::Dropbox.new.setup
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fat_free_crm-0.15.2 lib/tasks/ffcrm/dropbox.rake
fat_free_crm-0.16.4 lib/tasks/ffcrm/dropbox.rake
fat_free_crm-0.15.1 lib/tasks/ffcrm/dropbox.rake
fat_free_crm-0.16.3 lib/tasks/ffcrm/dropbox.rake
fat_free_crm-0.16.2 lib/tasks/ffcrm/dropbox.rake
fat_free_crm-0.16.1 lib/tasks/ffcrm/dropbox.rake
fat_free_crm-0.16.0 lib/tasks/ffcrm/dropbox.rake
fat_free_crm-0.15.0 lib/tasks/ffcrm/dropbox.rake
fat_free_crm-0.15.0.beta.2 lib/tasks/ffcrm/dropbox.rake