diff options
author | Pat Allan <pat@freelancing-gods.com> | 2017-08-14 19:08:09 +0200 |
---|---|---|
committer | Pat Allan <pat@freelancing-gods.com> | 2017-08-14 19:08:09 +0200 |
commit | acea68de026ba657cb65c4dd0fc1f24ba67e1cf8 (patch) | |
tree | 46a1aaac6f898b934c166ee8c01a06a0707049e4 /railties/lib/rails/application | |
parent | d435c92721a1fbecf0bc6d1b6c5cf95d228c851a (diff) | |
download | rails-acea68de026ba657cb65c4dd0fc1f24ba67e1cf8.tar.gz rails-acea68de026ba657cb65c4dd0fc1f24ba67e1cf8.tar.bz2 rails-acea68de026ba657cb65c4dd0fc1f24ba67e1cf8.zip |
Adding frozen_string_literal pragma to Railties.
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 |