Sha256: 163bcdaa4133f22d0743f8daa1893cff84de249b0a869d5beac7c7cd218b2422

Contents?: true

Size: 560 Bytes

Versions: 13

Compression:

Stored size: 560 Bytes

Contents

module CarrierwaveBackgrounder
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)

      def copy_config
        template "config/initializers/carrierwave_backgrounder.rb"
      end

      def info_config
        puts <<-EOF

        \e[33mBy default :delayed_job is used as the backend for carrierwave_backgrounder with :carrierwave as the queue name.
        To change this, edit config/initializers/carrierwave_backgrounder.rb.\e[0m

        EOF
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
carrierwave_backgrounder-0.4.3 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder_revived-1.0.0 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-0.4.2 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-0.4.1 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-0.4.0 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-0.3.0 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-0.2.2 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-0.2.1 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-0.2.0 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-0.1.5 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-0.1.4 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-0.1.3 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-0.1.2 lib/generators/carrierwave_backgrounder/install_generator.rb