lib/generators/siringa/install_generator.rb in siringa-0.0.4 vs lib/generators/siringa/install_generator.rb in siringa-0.0.5
- old
+ new
@@ -1,15 +1,8 @@
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
+ desc "Creates tmp/dumps folder to store Siringa dumps"
def create_dumps_folder
empty_directory "tmp/dumps"
end
end