Sha256: 434dd779939add02507a9b10a98f7674458893169fa5b814e0e282bea2793ca4

Contents?: true

Size: 259 Bytes

Versions: 6

Compression:

Stored size: 259 Bytes

Contents

require 'rails/generators'

module SlonikMigration
  class ConfigGenerator < Rails::Generators::Base
    source_root File.join(File.dirname(__FILE__), 'templates')

    def create_config_file
      template 'slonik.yml', 'config/slonik.yml'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slonik_migration-1.2.0 lib/generators/slonik_migration/config_generator.rb
slonik_migration-1.1.3 lib/generators/slonik_migration/config_generator.rb
slonik_migration-1.1.2 lib/generators/slonik_migration/config_generator.rb
slonik_migration-1.1.1 lib/generators/slonik_migration/config_generator.rb
slonik_migration-1.1.0 lib/generators/slonik_migration/config_generator.rb
slonik_migration-1.0.0 lib/generators/slonik_migration/config_generator.rb