Sha256: be19593057a687ace311bd9337510ee31f936c3da7cc28dab0753b4e848199a9

Contents?: true

Size: 387 Bytes

Versions: 20

Compression:

Stored size: 387 Bytes

Contents

require 'generators/kapify/base'

module Kapify
  module Generators
    class PgGenerator < Kapify::Generators::Base
      desc "Create local database.yml.erb configuration files for customization"
      source_root File.expand_path('../templates', __FILE__)

      def copy_template
        copy_file "database.yml.erb", "#{templates_path}/database.yml.erb"
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
kapify-0.1.3 lib/generators/kapify/pg/pg_generator.rb
kapify-0.1.2 lib/generators/kapify/pg/pg_generator.rb
kapify-0.1.1 lib/generators/kapify/pg/pg_generator.rb
kapify-0.1.0 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.16 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.15 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.14 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.13 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.12 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.11 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.10 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.9 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.8 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.7 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.6 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.5 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.4 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.3 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.2 lib/generators/kapify/pg/pg_generator.rb
kapify-0.0.1 lib/generators/kapify/pg/pg_generator.rb