lib/generators/puffer/install/install_generator.rb in puffer-0.0.3 vs lib/generators/puffer/install/install_generator.rb in puffer-0.0.4
- old
+ new
@@ -1,3 +1,12 @@
class Puffer::InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
+
+ def generate_files
+ directory 'puffer', 'public/puffer'
+ end
+
+ def generate_config
+ copy_file 'puffer.rb', 'config/puffer.rb'
+ end
+
end