aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-01-11 21:27:56 -0500
committerGitHub <noreply@github.com>2017-01-11 21:27:56 -0500
commit37f889b4a2d8862fb7c6939e5bd6be5897a587b1 (patch)
treeaa96cce6c596c3d00203e2fc9c65f0b23f668adf /railties/lib
parent6902ca51824d5bc81e6c187ec7a58f787dfe4728 (diff)
parent96d8521818a56b12dbbb2194b9edf55f1797807e (diff)
downloadrails-37f889b4a2d8862fb7c6939e5bd6be5897a587b1.tar.gz
rails-37f889b4a2d8862fb7c6939e5bd6be5897a587b1.tar.bz2
rails-37f889b4a2d8862fb7c6939e5bd6be5897a587b1.zip
Merge pull request #27652 from y-yagi/remove_unused_require
remove unused requires
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/application/configuration.rb2
-rw-r--r--railties/lib/rails/tasks/framework.rake2
-rw-r--r--railties/lib/rails/tasks/routes.rake2
3 files changed, 0 insertions, 6 deletions
diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb
index a9cc244869..b0d33f87a3 100644
--- a/railties/lib/rails/application/configuration.rb
+++ b/railties/lib/rails/application/configuration.rb
@@ -3,8 +3,6 @@ require "active_support/file_update_checker"
require "rails/engine/configuration"
require "rails/source_annotation_extractor"
-require "active_support/deprecation"
-
module Rails
class Application
class Configuration < ::Rails::Engine::Configuration
diff --git a/railties/lib/rails/tasks/framework.rake b/railties/lib/rails/tasks/framework.rake
index d42d001b1a..f5586b53f0 100644
--- a/railties/lib/rails/tasks/framework.rake
+++ b/railties/lib/rails/tasks/framework.rake
@@ -1,5 +1,3 @@
-require "active_support/deprecation"
-
namespace :app do
desc "Update configs and some other initially generated files (or use just update:configs or update:bin)"
task update: [ "update:configs", "update:bin", "update:upgrade_guide_info" ]
diff --git a/railties/lib/rails/tasks/routes.rake b/railties/lib/rails/tasks/routes.rake
index 04daaf4a83..215fb2ceb5 100644
--- a/railties/lib/rails/tasks/routes.rake
+++ b/railties/lib/rails/tasks/routes.rake
@@ -1,5 +1,3 @@
-require "active_support/deprecation"
-require "active_support/core_ext/string/strip" # for strip_heredoc
require "optparse"
desc "Print out all defined routes in match order, with names. Target specific controller with -c option, or grep routes using -g option"