PageRenderTime 53ms CodeModel.GetById 49ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/tools/Ruby/lib/ruby/gems/1.8/gems/configatron-2.8.2/generators/configatron_generator.rb

http://github.com/agross/netopenspace
Ruby | 20 lines | 18 code | 2 blank | 0 comment | 0 complexity | 3205f9d5d729e5b25c149a1ca9928d83 MD5 | raw file
 1require 'rails_generator'
 2class ConfigatronGenerator < Rails::Generator::Base # :nodoc:
 3  
 4  def manifest
 5    record do |m|
 6      m.directory 'config/configatron'
 7      m.directory 'config/configatron/development'
 8      m.directory 'config/configatron/test'
 9      m.directory 'config/configatron/production'
10      m.directory 'config/configatron/cucumber'
11      m.file 'initializers/configatron.rb', 'config/initializers/configatron.rb'
12      m.file 'configatron/development.rb', 'config/configatron/development.rb'
13      m.file 'configatron/production.rb', 'config/configatron/production.rb'
14      m.file 'configatron/test.rb', 'config/configatron/test.rb'
15      m.file 'configatron/cucumber.rb', 'config/configatron/cucumber.rb'
16      m.file 'configatron/defaults.rb', 'config/configatron/defaults.rb'
17    end
18  end
19  
20end # ConfigatronGenerator