1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove deprecated tasks in railties

This commit is contained in:
Rafael Mendonça França 2017-01-03 19:57:11 -05:00
parent 7563bf7b46
commit f7782812f7
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948
2 changed files with 5 additions and 12 deletions

View file

@ -1,3 +1,8 @@
* Remove deprecated tasks: `rails:update`, `rails:template`, `rails:template:copy`,
`rails:update:configs` and `rails:update:bin`.
*Rafael Mendonça França*
* Remove deprecated file `rails/rack/debugger`.
*Rafael Mendonça França*

View file

@ -73,15 +73,3 @@ namespace :app do
end
end
end
namespace :rails do
%i(update template templates:copy update:configs update:bin).each do |task_name|
task "#{task_name}" do
ActiveSupport::Deprecation.warn(<<-MSG.squish)
Running #{task_name} with the rails: namespace is deprecated in favor of app: namespace.
Run bin/rails app:#{task_name} instead.
MSG
Rake.application.invoke_task("app:#{task_name}")
end
end
end