Sha256: 6e8e46d9c654bd1f2aed65e11f03976b9af3b30eb5d9eebeb526065b83438c6e

Contents?: true

Size: 1.09 KB

Versions: 11

Compression:

Stored size: 1.09 KB

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 :comment_replies do

    desc "Run comment inbox crawler and process incoming emails"
    task :run => :environment do
      require "fat_free_crm/mail_processor/comment_replies"
      FatFreeCRM::MailProcessor::CommentReplies.new.run(dry_run = false)
    end
    namespace :run do
      desc "[Dry run] - Run comment inbox crawler and process incoming emails"
      task :dry => :environment do
        require "fat_free_crm/mail_processor/comment_replies"
        FatFreeCRM::MailProcessor::CommentReplies.new.run(dry_run = true)
      end
    end

    desc "Set up comment inbox based on currently loaded settings"
    task :setup => :environment do
      require "fat_free_crm/mail_processor/comment_replies"
      FatFreeCRM::MailProcessor::CommentReplies.new.setup
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fat_free_crm-0.13.6 lib/tasks/ffcrm/comment_replies.rake
fat_free_crm-0.13.5 lib/tasks/ffcrm/comment_replies.rake
fat_free_crm-0.13.4 lib/tasks/ffcrm/comment_replies.rake
fat_free_crm-0.13.3 lib/tasks/ffcrm/comment_replies.rake
fat_free_crm-0.13.2 lib/tasks/ffcrm/comment_replies.rake
fat_free_crm-0.12.3 lib/tasks/ffcrm/comment_replies.rake
fat_free_crm-0.12.2 lib/tasks/ffcrm/comment_replies.rake
fat_free_crm-0.13.1 lib/tasks/ffcrm/comment_replies.rake
fat_free_crm-0.12.1 lib/tasks/ffcrm/comment_replies.rake
fat_free_crm-0.13.0 lib/tasks/ffcrm/comment_replies.rake
fat_free_crm-0.12.0 lib/tasks/ffcrm/comment_replies.rake