[Action Pack] `rubocop -a --only Layout/EmptyLineAfterMagicComment`

This commit is contained in:
Koichi ITO 2017-07-10 22:47:31 +09:00
parent aa28c5ca65
commit d2901bd517
16 changed files with 16 additions and 0 deletions

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require "stringio" require "stringio"
require "active_support/inflector" require "active_support/inflector"

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require "active_support/core_ext/module/attribute_accessors" require "active_support/core_ext/module/attribute_accessors"
module ActionDispatch module ActionDispatch

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require "action_controller/metal/exceptions" require "action_controller/metal/exceptions"
module ActionDispatch module ActionDispatch

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require "strscan" require "strscan"
module ActionDispatch module ActionDispatch

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
module ActionDispatch module ActionDispatch
# :stopdoc: # :stopdoc:
module Journey module Journey

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require_relative "../http/request" require_relative "../http/request"
require_relative "exception_wrapper" require_relative "exception_wrapper"
require_relative "../routing/inspector" require_relative "../routing/inspector"

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
module ActionDispatch module ActionDispatch
# This middleware is added to the stack when `config.force_ssl = true`, and is passed # 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 # the options set in `config.ssl_options`. It does three jobs to enforce secure HTTP

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require "rack/utils" require "rack/utils"
require "active_support/core_ext/uri" require "active_support/core_ext/uri"

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require "active_support/core_ext/hash/slice" require "active_support/core_ext/hash/slice"
require "active_support/core_ext/enumerable" require "active_support/core_ext/enumerable"
require "active_support/core_ext/array/extract_options" require "active_support/core_ext/array/extract_options"

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require_relative "../journey" require_relative "../journey"
require "active_support/core_ext/object/to_query" require "active_support/core_ext/object/to_query"
require "active_support/core_ext/hash/slice" require "active_support/core_ext/hash/slice"

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
$:.unshift File.expand_path("lib", __dir__) $:.unshift File.expand_path("lib", __dir__)
$:.unshift File.expand_path("fixtures/helpers", __dir__) $:.unshift File.expand_path("fixtures/helpers", __dir__)
$:.unshift File.expand_path("fixtures/alternate_helpers", __dir__) $:.unshift File.expand_path("fixtures/alternate_helpers", __dir__)

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require "abstract_unit" require "abstract_unit"
require "controller/fake_controllers" require "controller/fake_controllers"
require "active_support/core_ext/object/with_options" require "active_support/core_ext/object/with_options"

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require "abstract_unit" require "abstract_unit"
class DebugExceptionsTest < ActionDispatch::IntegrationTest class DebugExceptionsTest < ActionDispatch::IntegrationTest

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require "abstract_unit" require "abstract_unit"
require "rack/test" require "rack/test"
require "rails/engine" require "rails/engine"

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require "abstract_unit" require "abstract_unit"
require "zlib" require "zlib"

View File

@ -1,4 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
require "abstract_unit" require "abstract_unit"
module ActionDispatch module ActionDispatch