Sha256: 5245224da3666f41ffdffadef2ddb4bf37550791a36783dc97ed401c9b4c9447

Contents?: true

Size: 437 Bytes

Versions: 7

Compression:

Stored size: 437 Bytes

Contents

module UniqIdentifier
  module Generators
    class InstallGenerator < Rails::Generators::Base

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

      desc <<DESC
description :
    copy uniq_identifier configuration to an initializer.
    rails generate uniq_identifier:install
DESC
      def copy_initializer_file
        template 'uniq_identifier.rb', "config/initializers/uniq_identifier.rb"
      end
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
uniq_identifier-0.1.1 lib/generators/uniq_identifier/install_generator.rb
uniq_identifier-0.0.7 lib/generators/uniq_identifier/install_generator.rb
uniq_identifier-0.0.6 lib/generators/uniq_identifier/install_generator.rb
uniq_identifier-0.0.5 lib/generators/uniq_identifier/install_generator.rb
uniq_identifier-0.0.4 lib/generators/uniq_identifier/install_generator.rb
uniq_identifier-0.0.3 lib/generators/uniq_identifier/install_generator.rb
uniq_identifier-0.0.2 lib/generators/uniq_identifier/install_generator.rb