diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-26 20:25:24 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-26 20:25:24 +0000 |
commit | 09f89c4abf7a3cbff79426f2446bfc05fd1b18a6 (patch) | |
tree | 09d1c337121b1440a46ec897390524e20d666edf /railties/lib/rails_generator | |
parent | 1215d54c2f31c4d19b2432ab05751fe2eaec0319 (diff) | |
download | rails-09f89c4abf7a3cbff79426f2446bfc05fd1b18a6.tar.gz rails-09f89c4abf7a3cbff79426f2446bfc05fd1b18a6.tar.bz2 rails-09f89c4abf7a3cbff79426f2446bfc05fd1b18a6.zip |
Added -r/--repeat option to script/process/spawner that offers the same loop protection as the spinner did. This deprecates the script/process/spinner, so it's no longer included in the default Rails skeleton, but still available for backwards compatibility (closes #3461) [ror@andreas-s.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb index b421c5df74..f6544e7ced 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -47,7 +47,7 @@ class AppGenerator < Rails::Generator::Base m.file "environments/test.rb", "config/environments/test.rb" # Scripts - %w( about breakpointer console destroy generate performance/benchmarker performance/profiler process/reaper process/spawner process/spinner runner server plugin ).each do |file| + %w( about breakpointer console destroy generate performance/benchmarker performance/profiler process/reaper process/spawner runner server plugin ).each do |file| m.file "bin/#{file}", "script/#{file}", script_options end |