lib/generators/plugin_generator/plugin_generator.rb in mack-0.4.5 vs lib/generators/plugin_generator/plugin_generator.rb in mack-0.4.6

- old
+ new

@@ -21,12 +21,12 @@ directory(File.join(plugin_dir, "lib")) # create vendor/plugins/<name>/lib/tasks directory(File.join(plugin_dir, "lib", "tasks")) # create vendor/plugins/<name>/init.rb - template(File.join(template_dir, "init.rb.template"), File.join(plugin_dir, "init.rb")) + template(File.join(template_dir, "init.rb.template"), File.join(plugin_dir, "init.rb"), :force => param(:force)) # create vendor/plugins/<name>/lib/<name>.rb - template(File.join(template_dir, "lib", "plugin.rb.template"), File.join(plugin_dir, "lib", "#{param(:name).downcase}.rb")) + template(File.join(template_dir, "lib", "plugin.rb.template"), File.join(plugin_dir, "lib", "#{param(:name).downcase}.rb"), :force => param(:force)) end end \ No newline at end of file