Sha256: c26bdff32174e807c26f0f9509bd64c8108ac8eb98e02c3500722475bca86fb1

Contents?: true

Size: 632 Bytes

Versions: 10

Compression:

Stored size: 632 Bytes

Contents

# require 'active_support/secure_random'

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

      desc "Creates a Devise initializer and copy locale files to your application."
      class_option :orm

      def copy_initializer
        template "cloudfuji.rb", "config/initializers/cloudfuji.rb"
      end

      # def copy_locale
      #   copy_file "../../../config/locales/en.yml", "config/locales/devise.en.yml"
      # end

      def show_readme
        readme "README" if behavior == :invoke
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cloudfuji-0.0.46 lib/generators/cloudfuji/install_generator.rb
cloudfuji-0.0.45 lib/generators/cloudfuji/install_generator.rb
cloudfuji-0.0.44 lib/generators/cloudfuji/install_generator.rb
cloudfuji-0.0.43 lib/generators/cloudfuji/install_generator.rb
cloudfuji-0.0.42 lib/generators/cloudfuji/install_generator.rb
cloudfuji-0.0.41 lib/generators/cloudfuji/install_generator.rb
cloudfuji-0.0.40 lib/generators/cloudfuji/install_generator.rb
cloudfuji-0.0.39 lib/generators/cloudfuji/install_generator.rb
cloudfuji-0.0.38 lib/generators/cloudfuji/install_generator.rb
cloudfuji-0.0.37 lib/generators/cloudfuji/install_generator.rb