diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-08-14 15:00:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-14 15:00:37 -0400 |
commit | 5ccdd0bb6d1262a670645ddf3a9e334be4545dac (patch) | |
tree | 2211326df8c4681bf56f6049a97941c427dd9b02 /railties/lib/rails/application | |
parent | 5a5b4816f14f18a4326f37e0a00854c2fcf4904c (diff) | |
parent | 7f6a31433a09875828431d0f11029bf0dbddb112 (diff) | |
download | rails-5ccdd0bb6d1262a670645ddf3a9e334be4545dac.tar.gz rails-5ccdd0bb6d1262a670645ddf3a9e334be4545dac.tar.bz2 rails-5ccdd0bb6d1262a670645ddf3a9e334be4545dac.zip |
Merge pull request #29891 from pat/frozen-string-literals-railties
Railties updates for frozen string literals.
Diffstat (limited to 'railties/lib/rails/application')
5 files changed, 10 insertions, 0 deletions
diff --git a/railties/lib/rails/application/bootstrap.rb b/railties/lib/rails/application/bootstrap.rb index 44b49556d7..c24d4573a9 100644 --- a/railties/lib/rails/application/bootstrap.rb +++ b/railties/lib/rails/application/bootstrap.rb @@ -1,3 +1,5 @@ +# 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 4797223380..31e2a45bff 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "active_support/core_ext/kernel/reporting" require "active_support/file_update_checker" require_relative "../engine/configuration" diff --git a/railties/lib/rails/application/default_middleware_stack.rb b/railties/lib/rails/application/default_middleware_stack.rb index 63300ffef3..ea2273c1f2 100644 --- a/railties/lib/rails/application/default_middleware_stack.rb +++ b/railties/lib/rails/application/default_middleware_stack.rb @@ -1,3 +1,5 @@ +# 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..3d938be951 100644 --- a/railties/lib/rails/application/finisher.rb +++ b/railties/lib/rails/application/finisher.rb @@ -1,3 +1,5 @@ +# 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..2ef09b4162 100644 --- a/railties/lib/rails/application/routes_reloader.rb +++ b/railties/lib/rails/application/routes_reloader.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "active_support/core_ext/module/delegation" module Rails |