From 8ad552a112098372793d7b21b90cadfaae9556ff Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 14 Oct 2005 21:21:56 +0000 Subject: [PATCH] Moving perform to performance git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/Rakefile | 2 +- railties/bin/{perform => performance}/benchmark | 0 railties/bin/{perform => performance}/profile | 0 railties/lib/commands/{perform => performance}/benchmark.rb | 0 railties/lib/commands/{perform => performance}/profile.rb | 0 .../generators/applications/app/app_generator.rb | 2 +- 6 files changed, 2 insertions(+), 2 deletions(-) rename railties/bin/{perform => performance}/benchmark (100%) rename railties/bin/{perform => performance}/profile (100%) rename railties/lib/commands/{perform => performance}/benchmark.rb (100%) rename railties/lib/commands/{perform => performance}/profile.rb (100%) diff --git a/railties/Rakefile b/railties/Rakefile index a0b1f5b325..0a879580da 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -38,7 +38,7 @@ HTML_FILES = %w( 404.html 500.html index.html robots.txt favicon.ico javascripts/prototype.js javascripts/scriptaculous.js javascripts/effects.js javascripts/dragdrop.js javascripts/controls.js javascripts/util.js javascripts/slider.js ) -BIN_FILES = %w( breakpointer console destroy generate perform/benchmark perform/profile process/reaper process/spawner process/spinner runner server ) +BIN_FILES = %w( breakpointer console destroy generate performance/benchmarker performance/profiler process/reaper process/spawner process/spinner runner server ) VENDOR_LIBS = %w( actionpack activerecord actionmailer activesupport actionwebservice railties ) diff --git a/railties/bin/perform/benchmark b/railties/bin/performance/benchmark similarity index 100% rename from railties/bin/perform/benchmark rename to railties/bin/performance/benchmark diff --git a/railties/bin/perform/profile b/railties/bin/performance/profile similarity index 100% rename from railties/bin/perform/profile rename to railties/bin/performance/profile diff --git a/railties/lib/commands/perform/benchmark.rb b/railties/lib/commands/performance/benchmark.rb similarity index 100% rename from railties/lib/commands/perform/benchmark.rb rename to railties/lib/commands/performance/benchmark.rb diff --git a/railties/lib/commands/perform/profile.rb b/railties/lib/commands/performance/profile.rb similarity index 100% rename from railties/lib/commands/perform/profile.rb rename to railties/lib/commands/performance/profile.rb 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 73348f51d3..0e3549cd62 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -44,7 +44,7 @@ class AppGenerator < Rails::Generator::Base m.file "environments/test.rb", "config/environments/test.rb" # Scripts - %w( breakpointer console destroy generate perform/benchmark perform/profile process/reaper process/spawner process/spinner runner server ).each do |file| + %w( breakpointer console destroy generate performance/benchmarker performance/profiler process/reaper process/spawner process/spinner runner server ).each do |file| m.file "bin/#{file}", "script/#{file}", script_options end