summaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
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
Diffstat (limited to 'lib')
-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
7 files changed, 7 insertions, 7 deletions
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