Sha256: d235bafd0e0ce69135f27e2b29d50dcb60e444d4d30e5f4ea9461ef4c7f01c2a
Contents?: true
Size: 675 Bytes
Versions: 10
Compression:
Stored size: 675 Bytes
Contents
require 'rails' require 'rails/generators' class ConfigoroGenerator < Rails::Generators::Base desc "Installs example configuration files for use with Configoro" def create_yaml_files create_file "config/environments/common/example.yml", { 'common_setting' => true }.to_yaml create_file "config/environments/development/example.yml", { 'environment_name' => 'Development' }.to_yaml create_file "config/environments/test/example.yml", { 'environment_name' => 'Test' }.to_yaml create_file "config/environments/production/example.yml", { 'environment_name' => 'Production' }.to_yaml end end
Version data entries
10 entries across 10 versions & 1 rubygems