diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-15 20:16:37 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-15 20:16:37 +0200 |
commit | b4ef958de6b16294094de28d00ba25fe2f48accc (patch) | |
tree | 89ccd25109c5095125faeab8d5fcc318fa94ceb2 /railties/lib/generators/rails/app/app_generator.rb | |
parent | baa4781ac7174e527c2471b4c86ea51c0f65cf6b (diff) | |
download | rails-b4ef958de6b16294094de28d00ba25fe2f48accc.tar.gz rails-b4ef958de6b16294094de28d00ba25fe2f48accc.tar.bz2 rails-b4ef958de6b16294094de28d00ba25fe2f48accc.zip |
Change false to :verbose => false as in new Thor version.
Diffstat (limited to 'railties/lib/generators/rails/app/app_generator.rb')
-rw-r--r-- | railties/lib/generators/rails/app/app_generator.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/railties/lib/generators/rails/app/app_generator.rb b/railties/lib/generators/rails/app/app_generator.rb index 88a52c60b0..eaeb49903a 100644 --- a/railties/lib/generators/rails/app/app_generator.rb +++ b/railties/lib/generators/rails/app/app_generator.rb @@ -100,13 +100,13 @@ module Rails::Generators inside "log" do %w( server production development test ).each do |file| create_file "#{file}.log" - chmod "#{file}.log", 0666, false + chmod "#{file}.log", 0666, :verbose => false end end end def create_public_files - directory "public", "public", false # Non-recursive. Do small steps, so anyone can overwrite it. + directory "public", "public", :recursive => false # Do small steps, so anyone can overwrite it. end def create_dispatch_files @@ -114,13 +114,13 @@ module Rails::Generators copy_file "dispatchers/config.ru", "config.ru" template "dispatchers/dispatch.rb", "public/dispatch.rb" - chmod "public/dispatch.rb", 0755, false + chmod "public/dispatch.rb", 0755, :verbose => false template "dispatchers/dispatch.rb", "public/dispatch.cgi" - chmod "public/dispatch.cgi", 0755, false + chmod "public/dispatch.cgi", 0755, :verbose => false template "dispatchers/dispatch.fcgi", "public/dispatch.fcgi" - chmod "public/dispatch.fcgi", 0755, false + chmod "public/dispatch.fcgi", 0755, :verbose => false end def create_public_image_files @@ -138,7 +138,7 @@ module Rails::Generators def create_script_files directory "script" - chmod "script", 0755, false + chmod "script", 0755, :verbose => false end def create_test_files |