Sha256: 3a0b2bf71205ec53f901905439f3cebe76ea09c6254e3f2a24ee4a89b9256d19

Contents?: true

Size: 559 Bytes

Versions: 5

Compression:

Stored size: 559 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 :active_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

5 entries across 5 versions & 1 rubygems

Version Path
carrierwave_backgrounder-1.0.2 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-1.0.1 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-1.0.0 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-1.0.0.beta.2 lib/generators/carrierwave_backgrounder/install_generator.rb
carrierwave_backgrounder-1.0.0.beta lib/generators/carrierwave_backgrounder/install_generator.rb