]> source.dussan.org Git - redmine.git/commitdiff
Enable frozen_string_literal for all files under config directory (#26561).
authorGo MAEDA <maeda@farend.jp>
Sun, 17 Mar 2019 02:04:38 +0000 (02:04 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 17 Mar 2019 02:04:38 +0000 (02:04 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@17982 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/application.rb
config/boot.rb
config/environment.rb
config/environments/test.rb
config/environments/test_pgsql.rb
config/environments/test_sqlite3.rb
config/initializers/00-core_plugins.rb
config/initializers/10-patches.rb
config/initializers/30-redmine.rb
config/initializers/backtrace_silencers.rb
config/routes.rb

index d771840c2bbfde63465bbaf08d48ed4fdc849a27..1fb40aeb65d7c700eb4c6285fd2b2401a5d38eec 100644 (file)
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
 
 require File.expand_path('../boot', __FILE__)
 
index 4ff7921ec75bc52b16b3056441f9f825c3a2e3ac..4bb97ac510e7f265b6542758e196f873bdecbaca 100644 (file)
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
 
 # Set up gems listed in the Gemfile.
 ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
index f55721cb0db74f407855bc669edc057481312a9d..52cdf1628637d77747d0ccb503ea54566968c695 100644 (file)
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
 
 # Load the Rails application
 require File.expand_path('../application', __FILE__)
@@ -6,8 +6,8 @@ require File.expand_path('../application', __FILE__)
 # Make sure there's no plugin in vendor/plugin before starting
 vendor_plugins_dir = File.join(Rails.root, "vendor", "plugins")
 if Dir.glob(File.join(vendor_plugins_dir, "*")).any?
-  $stderr.puts "Plugins in vendor/plugins (#{vendor_plugins_dir}) are no longer allowed. " +
-    "Please, put your Redmine plugins in the `plugins` directory at the root of your " +
+  $stderr.puts "Plugins in vendor/plugins (#{vendor_plugins_dir}) are no longer allowed. " \
+    "Please, put your Redmine plugins in the `plugins` directory at the root of your " \
     "Redmine directory (#{File.join(Rails.root, "plugins")})"
   exit 1
 end
index ae06c36c6246b9a499d01734caa3c629352f1414..acce67526f0bab796e029e87682427978192bcd6 100644 (file)
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
 
 Rails.application.configure do
   # Settings specified here will take precedence over those in config/application.rb
index a270fcadac0366ce172afff7a81ca08d4aa893ea..ff997f7626b469494fdedb0aef542c28c8b6c3ac 100644 (file)
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
 
 # Same as test.rb
 instance_eval File.read(File.join(File.dirname(__FILE__), 'test.rb'))
index a270fcadac0366ce172afff7a81ca08d4aa893ea..ff997f7626b469494fdedb0aef542c28c8b6c3ac 100644 (file)
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
 
 # Same as test.rb
 instance_eval File.read(File.join(File.dirname(__FILE__), 'test.rb'))
index a4387344d2ae0ed3aa0134d736151694a7f6f0eb..3bcd00be6066327f6af446cfe140bfdc73f23baa 100644 (file)
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
 
 # Loads the core plugins located in lib/plugins
 Dir.glob(File.join(Rails.root, "lib/plugins/*")).sort.each do |directory|
index a01d38de6796e2d777ea10c7e1b5e0a3fd1fe6ea..3b2bd3a80162efea3da3d0988ae9bd8bb5746b28 100644 (file)
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
 
 require 'active_record'
 
index 1b8ee83f1a7d64e2524b5567a29124d46095c58d..2b96ebdde95a78be44e2890bd884bca901ab4e60 100644 (file)
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
 
 I18n.backend = Redmine::I18n::Backend.new
 # Forces I18n to load available locales from the backend
index cbb20dd7a44fdd8649d2022dc5c6e443751e4b95..92da832eb0ad7650647aa972213015a58a736a0f 100644 (file)
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
 
 # Be sure to restart your server when you modify this file.
 
index c3926de61a605461b5f99466b56a74c701a18db3..27cf36a4ba71fc68978fca89c78e90f80ffd975c 100644 (file)
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
 
 # Redmine - project management software
 # Copyright (C) 2006-2017  Jean-Philippe Lang