Sha256: 7c45520c5e0de194dac9216407fee02601b1ad2913b0fe41aa3c8a0badd8d26c
Contents?: true
Size: 457 Bytes
Versions: 3
Compression:
Stored size: 457 Bytes
Contents
module Siringa module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../../templates", __FILE__) desc "Creates Siringa initializer for your application" def copy_initializer template "siringa_initializer.rb", "config/initializers/siringa.rb" puts "Install complete!" end def create_dumps_folder empty_directory "tmp/dumps" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
siringa-0.0.4 | lib/generators/siringa/install_generator.rb |
siringa-0.0.3 | lib/generators/siringa/install_generator.rb |
siringa-0.0.1 | lib/generators/siringa/install_generator.rb |