Add "frozen_string_literal: false" for all files (#26561).

This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2019-03-15 01:32:57 +00:00
parent 9f4a4be01a
commit 5861160ffc
940 changed files with 2078 additions and 202 deletions

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: false
require File.expand_path('../boot', __FILE__)
require 'rails/all'

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: false
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: false
# Load the Rails application
require File.expand_path('../application', __FILE__)

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: false
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: false
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: false
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb

View File

@@ -1,2 +1,4 @@
# frozen_string_literal: false
# Same as test.rb
instance_eval File.read(File.join(File.dirname(__FILE__), 'test.rb'))

View File

@@ -1,2 +1,4 @@
# frozen_string_literal: false
# Same as test.rb
instance_eval File.read(File.join(File.dirname(__FILE__), 'test.rb'))

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: false
# Loads the core plugins located in lib/plugins
Dir.glob(File.join(Rails.root, "lib/plugins/*")).sort.each do |directory|
if File.directory?(directory)

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: false
require 'active_record'
module ActiveRecord

View File

@@ -1 +1,3 @@
# frozen_string_literal: false
# Add new mime types for use in respond_to blocks:

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: false
I18n.backend = Redmine::I18n::Backend.new
# Forces I18n to load available locales from the backend
I18n.config.available_locales = nil

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: false
# Be sure to restart your server when you modify this file.
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: false
# Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format

View File

@@ -1,3 +1,5 @@
# frozen_string_literal: false
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
#