Sha256: 389f72d3f920a8002f18dd0168fa8fd0d67be2c74dc57428bc9d15525a1c9dce

Contents?: true

Size: 378 Bytes

Versions: 40

Compression:

Stored size: 378 Bytes

Contents

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

      desc "Creates turntable configuration file (config/turntable.yml)"
      class_option :orm

      def copy_locale
        copy_file "turntable.yml", "config/turntable.yml"
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
activerecord-turntable-4.4.1 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-4.4.0 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-4.3.0 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-4.2.0 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-4.1.0 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-4.0.0 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-3.1.0 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-3.0.1 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-3.0.0 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-2.5.0 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-3.0.0.alpha3 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-3.0.0.alpha2 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-2.4.0 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-3.0.0.alpha1 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-2.3.3 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-2.3.2 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-2.3.1 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-2.3.0 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-2.2.2 lib/generators/active_record/turntable/install_generator.rb
activerecord-turntable-2.2.1 lib/generators/active_record/turntable/install_generator.rb