summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-03-17 01:47:12 +0000
committerGo MAEDA <maeda@farend.jp>2019-03-17 01:47:12 +0000
commitd16369b67c9dd34b007fc58f2f83cb36e6479f37 (patch)
tree20052c93d75cb3ff2669539e8b4bdb55b481819e
parentd4daf4e23b2cab7f02f49aa9e5c3cf328ce37407 (diff)
downloadredmine-d16369b67c9dd34b007fc58f2f83cb36e6479f37.tar.gz
redmine-d16369b67c9dd34b007fc58f2f83cb36e6479f37.zip
Enable frozen_string_literal for files which don't contain string literals (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17981 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--config/environments/development.rb2
-rw-r--r--config/environments/production.rb2
-rw-r--r--config/initializers/20-mime_types.rb2
-rw-r--r--config/initializers/inflections.rb2
-rw-r--r--lib/plugins/acts_as_tree/init.rb2
-rw-r--r--lib/plugins/open_id_authentication/lib/open_id_authentication/association.rb2
-rw-r--r--lib/plugins/open_id_authentication/lib/open_id_authentication/nonce.rb2
-rw-r--r--lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb2
-rw-r--r--lib/redmine/scm/adapters.rb2
-rw-r--r--lib/redmine/scm/adapters/command_failed.rb2
-rw-r--r--lib/redmine/scm/base.rb2
11 files changed, 11 insertions, 11 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index d835395f1..fe0787155 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -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
diff --git a/config/environments/production.rb b/config/environments/production.rb
index d8e9824ee..16d9fc2f7 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -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
diff --git a/config/initializers/20-mime_types.rb b/config/initializers/20-mime_types.rb
index f5a1c3783..3367334a4 100644
--- a/config/initializers/20-mime_types.rb
+++ b/config/initializers/20-mime_types.rb
@@ -1,3 +1,3 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
# Add new mime types for use in respond_to blocks:
diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb
index 4347c3a3d..73732d874 100644
--- a/config/initializers/inflections.rb
+++ b/config/initializers/inflections.rb
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
diff --git a/lib/plugins/acts_as_tree/init.rb b/lib/plugins/acts_as_tree/init.rb
index f5560f449..e45bc11e5 100644
--- a/lib/plugins/acts_as_tree/init.rb
+++ b/lib/plugins/acts_as_tree/init.rb
@@ -1,3 +1,3 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
ActiveRecord::Base.send :include, ActiveRecord::Acts::Tree
diff --git a/lib/plugins/open_id_authentication/lib/open_id_authentication/association.rb b/lib/plugins/open_id_authentication/lib/open_id_authentication/association.rb
index 07e844bcf..0815e9e39 100644
--- a/lib/plugins/open_id_authentication/lib/open_id_authentication/association.rb
+++ b/lib/plugins/open_id_authentication/lib/open_id_authentication/association.rb
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
module OpenIdAuthentication
class Association < ActiveRecord::Base
diff --git a/lib/plugins/open_id_authentication/lib/open_id_authentication/nonce.rb b/lib/plugins/open_id_authentication/lib/open_id_authentication/nonce.rb
index 0f41e141b..063874440 100644
--- a/lib/plugins/open_id_authentication/lib/open_id_authentication/nonce.rb
+++ b/lib/plugins/open_id_authentication/lib/open_id_authentication/nonce.rb
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
module OpenIdAuthentication
class Nonce < ActiveRecord::Base
diff --git a/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb b/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
index 0fb9dfc22..daa3e3b9f 100644
--- a/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
+++ b/lib/plugins/open_id_authentication/lib/open_id_authentication/timeout_fixes.rb
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
# http://trac.openidenabled.com/trac/ticket/156
module OpenID
diff --git a/lib/redmine/scm/adapters.rb b/lib/redmine/scm/adapters.rb
index 688cfbcc6..e18e1f56e 100644
--- a/lib/redmine/scm/adapters.rb
+++ b/lib/redmine/scm/adapters.rb
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/lib/redmine/scm/adapters/command_failed.rb b/lib/redmine/scm/adapters/command_failed.rb
index c230c1e62..f161e2e28 100644
--- a/lib/redmine/scm/adapters/command_failed.rb
+++ b/lib/redmine/scm/adapters/command_failed.rb
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/lib/redmine/scm/base.rb b/lib/redmine/scm/base.rb
index 2380b3a72..e9dc54358 100644
--- a/lib/redmine/scm/base.rb
+++ b/lib/redmine/scm/base.rb
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
module Redmine
module Scm