diff options
author | Kir Shatrov <shatrov@me.com> | 2017-06-22 22:59:18 -0400 |
---|---|---|
committer | Kir Shatrov <shatrov@me.com> | 2017-07-01 02:11:03 +0300 |
commit | cfade1ec7ee7b5b51f3c1578e3474f9c156f2971 (patch) | |
tree | 5c12d112bf4d039587d712b0cae92a2d920fee23 /railties/lib/rails/application | |
parent | 5fe2a4f929fff7fa725545c47ac0f9372d8c643d (diff) | |
download | rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.tar.gz rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.tar.bz2 rails-cfade1ec7ee7b5b51f3c1578e3474f9c156f2971.zip |
Enforce frozen string in Rubocop
Diffstat (limited to 'railties/lib/rails/application')
5 files changed, 5 insertions, 0 deletions
diff --git a/railties/lib/rails/application/bootstrap.rb b/railties/lib/rails/application/bootstrap.rb index dc0491035d..ea4c6014b6 100644 --- a/railties/lib/rails/application/bootstrap.rb +++ b/railties/lib/rails/application/bootstrap.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require "fileutils" require "active_support/notifications" require "active_support/dependencies" diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb index fb635c6ae8..164fcfb282 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require "active_support/core_ext/kernel/reporting" require "active_support/file_update_checker" require "rails/engine/configuration" diff --git a/railties/lib/rails/application/default_middleware_stack.rb b/railties/lib/rails/application/default_middleware_stack.rb index 63300ffef3..c8c13210d8 100644 --- a/railties/lib/rails/application/default_middleware_stack.rb +++ b/railties/lib/rails/application/default_middleware_stack.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true module Rails class Application class DefaultMiddlewareStack diff --git a/railties/lib/rails/application/finisher.rb b/railties/lib/rails/application/finisher.rb index c027d06663..0c7598e561 100644 --- a/railties/lib/rails/application/finisher.rb +++ b/railties/lib/rails/application/finisher.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true module Rails class Application module Finisher diff --git a/railties/lib/rails/application/routes_reloader.rb b/railties/lib/rails/application/routes_reloader.rb index e02ef629f2..32dc74db43 100644 --- a/railties/lib/rails/application/routes_reloader.rb +++ b/railties/lib/rails/application/routes_reloader.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require "active_support/core_ext/module/delegation" module Rails |