Changeset 4960
- Timestamp:
- 09/04/06 00:49:08 (2 years ago)
- Files:
-
- trunk/railties/CHANGELOG (modified) (1 diff)
- trunk/railties/lib/tasks/pre_namespace_aliases.rake (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/railties/CHANGELOG
r4913 r4960 1 1 *SVN* 2 3 * Formally Deprecate the old rake tasks. [Koz] 2 4 3 5 * Thoroughly test the FCGI dispatcher. #5970 [Kevin Clark] trunk/railties/lib/tasks/pre_namespace_aliases.rake
r3720 r4960 1 def deprecated_task(name, new_name) 2 task name=>new_name do 3 $stderr.puts "The rake task #{name} has been deprecated, please use the replacement version #{new_name}" 4 end 5 end 6 7 1 8 # clear 2 task :clear_logs =>"log:clear"9 deprecated_task :clear_logs, "log:clear" 3 10 4 11 # test 5 task :recent =>"test:recent"6 task :test_units =>"test:units"7 task :test_functional =>"test:functionals"8 task :test_plugins =>"test:plugins"12 deprecated_task :recent, "test:recent" 13 deprecated_task :test_units, "test:units" 14 deprecated_task :test_functional, "test:functionals" 15 deprecated_task :test_plugins, "test:plugins" 9 16 10 17 11 18 # doc 12 task :appdoc =>"doc:app"13 task :apidoc =>"doc:rails"14 task :plugindoc =>"doc:plugins"15 task :clobber_plugindoc =>"doc:clobber_plugins"19 deprecated_task :appdoc, "doc:app" 20 deprecated_task :apidoc, "doc:rails" 21 deprecated_task :plugindoc, "doc:plugins" 22 deprecated_task :clobber_plugindoc, "doc:clobber_plugins" 16 23 17 24 FileList['vendor/plugins/**'].collect { |plugin| File.basename(plugin) }.each do |plugin| 18 task :"#{plugin}_plugindoc" =>"doc:plugins:#{plugin}"25 deprecated_task :"#{plugin}_plugindoc", "doc:plugins:#{plugin}" 19 26 end 20 27 21 28 22 29 # rails 23 task :freeze_gems =>"rails:freeze:gems"24 task :freeze_edge =>"rails:freeze:edge"25 task :unfreeze_rails =>"rails:unfreeze"26 task :add_new_scripts =>"rails:update:scripts"27 task :update_javascripts =>"rails:update:javascripts"30 deprecated_task :freeze_gems, "rails:freeze:gems" 31 deprecated_task :freeze_edge, "rails:freeze:edge" 32 deprecated_task :unfreeze_rails, "rails:unfreeze" 33 deprecated_task :add_new_scripts, "rails:update:scripts" 34 deprecated_task :update_javascripts, "rails:update:javascripts" 28 35 29 36 30 37 # db 31 task :migrate =>"db:migrate"32 task :load_fixtures =>"db:fixtures:load"38 deprecated_task :migrate, "db:migrate" 39 deprecated_task :load_fixtures, "db:fixtures:load" 33 40 34 task :db_schema_dump =>"db:schema:dump"35 task :db_schema_import =>"db:schema:load"41 deprecated_task :db_schema_dump, "db:schema:dump" 42 deprecated_task :db_schema_import, "db:schema:load" 36 43 37 task :db_structure_dump =>"db:structure:dump"44 deprecated_task :db_structure_dump, "db:structure:dump" 38 45 39 task :purge_test_database =>"db:test:purge"40 task :clone_schema_to_test =>"db:test:clone"41 task :clone_structure_to_test =>"db:test:clone_structure"42 task :prepare_test_database =>"db:test:prepare"46 deprecated_task :purge_test_database, "db:test:purge" 47 deprecated_task :clone_schema_to_test, "db:test:clone" 48 deprecated_task :clone_structure_to_test, "db:test:clone_structure" 49 deprecated_task :prepare_test_database, "db:test:prepare" 43 50 44 task :create_sessions_table =>"db:sessions:create"45 task :drop_sessions_table =>"db:sessions:drop"46 task :purge_sessions_table =>"db:sessions:recreate"51 deprecated_task :create_sessions_table, "db:sessions:create" 52 deprecated_task :drop_sessions_table, "db:sessions:drop" 53 deprecated_task :purge_sessions_table, "db:sessions:recreate"