Sha256: ba6024bdbc7c66e88d22e4ba1c425e3d05500e9df27301e047396bd14b82f517

Contents?: true

Size: 284 Bytes

Versions: 17

Compression:

Stored size: 284 Bytes

Contents

require "rails/generators"

module Pghero
  module Generators
    class ConfigGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
pghero-2.2.1 lib/generators/pghero/config_generator.rb
pghero-2.2.0 lib/generators/pghero/config_generator.rb
pghero-2.1.1 lib/generators/pghero/config_generator.rb
pghero-2.1.0 lib/generators/pghero/config_generator.rb
pghero-2.0.8 lib/generators/pghero/config_generator.rb
pghero-2.0.7 lib/generators/pghero/config_generator.rb
pghero-2.0.6 lib/generators/pghero/config_generator.rb
pghero-2.0.5 lib/generators/pghero/config_generator.rb
pghero-2.0.4 lib/generators/pghero/config_generator.rb
pghero-2.0.3 lib/generators/pghero/config_generator.rb
pghero-2.0.2 lib/generators/pghero/config_generator.rb
pghero-2.0.1 lib/generators/pghero/config_generator.rb
pghero-2.0.0 lib/generators/pghero/config_generator.rb
pghero-1.7.0 lib/generators/pghero/config_generator.rb
pghero-1.6.5 lib/generators/pghero/config_generator.rb
pghero-1.6.4 lib/generators/pghero/config_generator.rb
pghero-1.6.3 lib/generators/pghero/config_generator.rb