Sha256: 350443627bd287a0b946d2b8a2393af471284cb258a88efafaa5f72340e05b8d

Contents?: true

Size: 273 Bytes

Versions: 30

Compression:

Stored size: 273 Bytes

Contents

require "rails/generators"

module Pghero
  module Generators
    class ConfigGenerator < Rails::Generators::Base
      source_root File.join(__dir__, "templates")

      def create_initializer
        template "config.yml", "config/pghero.yml"
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
pghero-3.6.1 lib/generators/pghero/config_generator.rb
pghero-3.6.0 lib/generators/pghero/config_generator.rb
pghero-3.4.1 lib/generators/pghero/config_generator.rb
pghero-3.4.0 lib/generators/pghero/config_generator.rb
pghero-3.3.4 lib/generators/pghero/config_generator.rb
pghero-3.3.3 lib/generators/pghero/config_generator.rb
pghero-3.3.2 lib/generators/pghero/config_generator.rb
pghero-3.3.1 lib/generators/pghero/config_generator.rb
pghero-3.3.0 lib/generators/pghero/config_generator.rb
pghero-3.2.0 lib/generators/pghero/config_generator.rb
pghero-3.1.0 lib/generators/pghero/config_generator.rb
pghero-3.0.1 lib/generators/pghero/config_generator.rb
pghero-3.0.0 lib/generators/pghero/config_generator.rb
pghero-2.8.3 lib/generators/pghero/config_generator.rb
pghero-2.8.2 lib/generators/pghero/config_generator.rb
pghero-2.8.1 lib/generators/pghero/config_generator.rb
pghero-2.8.0 lib/generators/pghero/config_generator.rb
pghero-2.7.4 lib/generators/pghero/config_generator.rb
pghero_fork-2.7.3 lib/generators/pghero/config_generator.rb
pghero-2.7.3 lib/generators/pghero/config_generator.rb