app_generators/newgem/newgem_generator.rb in newgem-0.22.2 vs app_generators/newgem/newgem_generator.rb in newgem-0.23.0
- old
+ new
@@ -46,24 +46,20 @@
BASEDIRS.each { |path| m.directory path }
m.directory "lib/#{gem_name}"
# Root
- m.template_copy_each %w( History.txt License.txt Rakefile README.txt )
+ m.template_copy_each %w( History.txt License.txt Rakefile README.txt PostInstall.txt )
m.file_copy_each %w( setup.rb )
# Default module for app
m.template "module.rb", "lib/#{gem_name}.rb"
m.template "version.rb", "lib/#{gem_name}/version.rb"
# Config
m.template_copy_each %w( hoe.rb requirements.rb ), "config"
- %w(debug).each { |file|
- m.file "empty_log", "log/#{file}.log", :chmod => 0666
- }
-
# Tasks
m.file_copy_each %w( deployment.rake environment.rake website.rake ), "tasks"
# Selecting a test framework
case test_framework
@@ -166,10 +162,9 @@
# created so don't sweat their absence here.
BASEDIRS = %w(
config
doc
lib
- log
script
tasks
test
tmp
)