Sha256: 2487a37d6376109524b9e34f380e15feb430fab7b738a48776cf5da2f5c8e8aa

Contents?: true

Size: 713 Bytes

Versions: 17

Compression:

Stored size: 713 Bytes

Contents

module Pageflow
  module Generators
    class ResqueGenerator < Rails::Generators::Base
      desc "Configure resque for pageflow."

      source_root File.expand_path("../templates", __FILE__)

      def create_initializers
        template 'resque.rb', 'config/initializers/resque.rb'
        template 'resque_mailer.rb', 'config/initializers/resque_mailer.rb'
        template 'resque_logger.rb', 'config/initializers/resque_logger.rb'
        template 'resque_enqueue_after_commit_patch.rb', 'config/initializers/resque_enqueue_after_commit_patch.rb'
        template 'devise_async.rb', 'config/initializers/devise_async.rb'
        template 'resque.rake', 'lib/tasks/resque.rake'
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
pageflow-0.10.0 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.9.2 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.9.1 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.9.0 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.8.2 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.8.1 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.8.0 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.7.2 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.7.1 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.7.0 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.6.0 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.5.0 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.4.0 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.3.0 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.2.1 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.2.0 lib/generators/pageflow/resque/resque_generator.rb
pageflow-0.1.0 lib/generators/pageflow/resque/resque_generator.rb