aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-07-10 22:48:09 +0900
committerKoichi ITO <koic.ito@gmail.com>2017-07-11 13:12:32 +0900
commitb427c461ef37419c5e4fd26f5b30bef1acec602c (patch)
treeb02f3c863cd186b7b546d6e5e6bfd6be42ca3ebb /actionview
parentd2901bd517ec3e9efa6ac727bbe4984376e726ba (diff)
downloadrails-b427c461ef37419c5e4fd26f5b30bef1acec602c.tar.gz
rails-b427c461ef37419c5e4fd26f5b30bef1acec602c.tar.bz2
rails-b427c461ef37419c5e4fd26f5b30bef1acec602c.zip
[Action View] `rubocop -a --only Layout/EmptyLineAfterMagicComment`
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/log_subscriber.rb1
-rw-r--r--actionview/lib/action_view/template.rb1
-rw-r--r--actionview/test/template/template_test.rb1
3 files changed, 3 insertions, 0 deletions
diff --git a/actionview/lib/action_view/log_subscriber.rb b/actionview/lib/action_view/log_subscriber.rb
index c8623f1e9f..d4ac77e10f 100644
--- a/actionview/lib/action_view/log_subscriber.rb
+++ b/actionview/lib/action_view/log_subscriber.rb
@@ -1,4 +1,5 @@
# frozen_string_literal: true
+
require "active_support/log_subscriber"
module ActionView
diff --git a/actionview/lib/action_view/template.rb b/actionview/lib/action_view/template.rb
index 80b294dc3d..e53c8356af 100644
--- a/actionview/lib/action_view/template.rb
+++ b/actionview/lib/action_view/template.rb
@@ -1,4 +1,5 @@
# frozen_string_literal: true
+
require "active_support/core_ext/object/try"
require "active_support/core_ext/kernel/singleton_class"
require "thread"
diff --git a/actionview/test/template/template_test.rb b/actionview/test/template/template_test.rb
index dd131f0246..d3c08634bc 100644
--- a/actionview/test/template/template_test.rb
+++ b/actionview/test/template/template_test.rb
@@ -1,4 +1,5 @@
# encoding: US-ASCII
+
require "abstract_unit"
require "logger"