Sha256: 43f12970382ec2d4b8a1ea53d41320fb3e44cab01e45a54c8a6441f133322824

Contents?: true

Size: 298 Bytes

Versions: 6

Compression:

Stored size: 298 Bytes

Contents

require "rails/generators"

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pgbouncerhero-2.0.0 lib/generators/pgbouncerhero/config_generator.rb
pgbouncerhero-1.0.3 lib/generators/pgbouncerhero/config_generator.rb
pgbouncerhero-1.0.1 lib/generators/pgbouncerhero/config_generator.rb
pgbouncerhero-1.0.0 lib/generators/pgbouncerhero/config_generator.rb
pgbouncerhero-0.1.1 lib/generators/pgbouncerhero/config_generator.rb
pgbouncerhero-0.1.0 lib/generators/pgbouncerhero/config_generator.rb