Sha256: f73c23c445faffb91740dcf5a0a249afc4f91bb82959dfe9b2b84020faf03d46

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

require 'rails/generators'

module Proselytism
  class ConfigGenerator < Rails::Generators::Base

    self.source_paths << File.join(File.dirname(__FILE__), 'templates')

    desc "Generate Proselytism config file load before rails initialize"
    def create_config_file
      template 'config.yml', 'config/proselytism.yml'
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
proselytism-0.0.3 lib/generators/proselytism/config_generator.rb
proselytism-0.0.2 lib/generators/proselytism/config_generator.rb
proselytism-0.0.1 lib/generators/proselytism/config_generator.rb