diff options
author | Koichi ITO <koic.ito@gmail.com> | 2017-07-10 22:47:31 +0900 |
---|---|---|
committer | Koichi ITO <koic.ito@gmail.com> | 2017-07-11 13:12:32 +0900 |
commit | d2901bd517ec3e9efa6ac727bbe4984376e726ba (patch) | |
tree | 0d0f4c0977f8373abbd221712c3a3a9af8c921a3 /actionpack/lib/action_dispatch/middleware | |
parent | aa28c5ca65e230e0946261db0aa58a067e7032df (diff) | |
download | rails-d2901bd517ec3e9efa6ac727bbe4984376e726ba.tar.gz rails-d2901bd517ec3e9efa6ac727bbe4984376e726ba.tar.bz2 rails-d2901bd517ec3e9efa6ac727bbe4984376e726ba.zip |
[Action Pack] `rubocop -a --only Layout/EmptyLineAfterMagicComment`
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/debug_exceptions.rb | 1 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/ssl.rb | 1 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/static.rb | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb index 18852b0a57..3006cd97ce 100644 --- a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb +++ b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + require_relative "../http/request" require_relative "exception_wrapper" require_relative "../routing/inspector" diff --git a/actionpack/lib/action_dispatch/middleware/ssl.rb b/actionpack/lib/action_dispatch/middleware/ssl.rb index e79404c993..fb2bfbb41e 100644 --- a/actionpack/lib/action_dispatch/middleware/ssl.rb +++ b/actionpack/lib/action_dispatch/middleware/ssl.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + module ActionDispatch # This middleware is added to the stack when `config.force_ssl = true`, and is passed # the options set in `config.ssl_options`. It does three jobs to enforce secure HTTP diff --git a/actionpack/lib/action_dispatch/middleware/static.rb b/actionpack/lib/action_dispatch/middleware/static.rb index 6f4a97da3e..23492e14eb 100644 --- a/actionpack/lib/action_dispatch/middleware/static.rb +++ b/actionpack/lib/action_dispatch/middleware/static.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + require "rack/utils" require "active_support/core_ext/uri" |