summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-03-15 01:32:57 +0000
committerGo MAEDA <maeda@farend.jp>2019-03-15 01:32:57 +0000
commit5861160ffc350a97b5ff41465fbd7e03008853e4 (patch)
treead260a758b0c88c42debd6b567d6cd382d27ae42 /app/helpers
parent9f4a4be01a48eb2cbb30f8786aee3b9fec830f19 (diff)
downloadredmine-5861160ffc350a97b5ff41465fbd7e03008853e4.tar.gz
redmine-5861160ffc350a97b5ff41465fbd7e03008853e4.zip
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
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/account_helper.rb2
-rw-r--r--app/helpers/activities_helper.rb2
-rw-r--r--app/helpers/admin_helper.rb2
-rw-r--r--app/helpers/application_helper.rb2
-rw-r--r--app/helpers/attachments_helper.rb2
-rw-r--r--app/helpers/auth_sources_helper.rb2
-rw-r--r--app/helpers/boards_helper.rb2
-rw-r--r--app/helpers/calendars_helper.rb2
-rw-r--r--app/helpers/context_menus_helper.rb2
-rw-r--r--app/helpers/custom_fields_helper.rb2
-rw-r--r--app/helpers/documents_helper.rb2
-rw-r--r--app/helpers/email_addresses_helper.rb2
-rw-r--r--app/helpers/enumerations_helper.rb2
-rw-r--r--app/helpers/gantt_helper.rb2
-rw-r--r--app/helpers/groups_helper.rb2
-rw-r--r--app/helpers/imports_helper.rb2
-rw-r--r--app/helpers/issue_categories_helper.rb2
-rw-r--r--app/helpers/issue_relations_helper.rb2
-rw-r--r--app/helpers/issue_statuses_helper.rb2
-rw-r--r--app/helpers/issues_helper.rb2
-rw-r--r--app/helpers/journals_helper.rb2
-rw-r--r--app/helpers/mail_handler_helper.rb2
-rw-r--r--app/helpers/members_helper.rb2
-rw-r--r--app/helpers/messages_helper.rb2
-rw-r--r--app/helpers/my_helper.rb2
-rw-r--r--app/helpers/news_helper.rb2
-rw-r--r--app/helpers/principal_memberships_helper.rb2
-rw-r--r--app/helpers/projects_helper.rb2
-rw-r--r--app/helpers/queries_helper.rb2
-rw-r--r--app/helpers/reports_helper.rb2
-rw-r--r--app/helpers/repositories_helper.rb2
-rw-r--r--app/helpers/roles_helper.rb2
-rw-r--r--app/helpers/routes_helper.rb2
-rw-r--r--app/helpers/search_helper.rb2
-rw-r--r--app/helpers/settings_helper.rb2
-rw-r--r--app/helpers/sort_helper.rb2
-rw-r--r--app/helpers/timelog_helper.rb2
-rw-r--r--app/helpers/trackers_helper.rb2
-rw-r--r--app/helpers/users_helper.rb2
-rw-r--r--app/helpers/versions_helper.rb2
-rw-r--r--app/helpers/watchers_helper.rb2
-rw-r--r--app/helpers/welcome_helper.rb2
-rw-r--r--app/helpers/wiki_helper.rb2
-rw-r--r--app/helpers/workflows_helper.rb2
44 files changed, 88 insertions, 0 deletions
diff --git a/app/helpers/account_helper.rb b/app/helpers/account_helper.rb
index e4d8222bf..423a7b9de 100644
--- a/app/helpers/account_helper.rb
+++ b/app/helpers/account_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/activities_helper.rb b/app/helpers/activities_helper.rb
index 526709e4a..dda6485ce 100644
--- a/app/helpers/activities_helper.rb
+++ b/app/helpers/activities_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb
index e972ef03d..0cc1a48aa 100644
--- a/app/helpers/admin_helper.rb
+++ b/app/helpers/admin_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 8fa56ac55..8ccdf0736 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/attachments_helper.rb b/app/helpers/attachments_helper.rb
index 385f3b8a4..9bbcb01b1 100644
--- a/app/helpers/attachments_helper.rb
+++ b/app/helpers/attachments_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/auth_sources_helper.rb b/app/helpers/auth_sources_helper.rb
index 4f4b1cd52..b1b3b9c22 100644
--- a/app/helpers/auth_sources_helper.rb
+++ b/app/helpers/auth_sources_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/boards_helper.rb b/app/helpers/boards_helper.rb
index 0931dd048..80d0289c1 100644
--- a/app/helpers/boards_helper.rb
+++ b/app/helpers/boards_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/calendars_helper.rb b/app/helpers/calendars_helper.rb
index fe3796c7f..30b9e315b 100644
--- a/app/helpers/calendars_helper.rb
+++ b/app/helpers/calendars_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/context_menus_helper.rb b/app/helpers/context_menus_helper.rb
index 0254d3add..953fb10da 100644
--- a/app/helpers/context_menus_helper.rb
+++ b/app/helpers/context_menus_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb
index 54573c763..e9f544e63 100644
--- a/app/helpers/custom_fields_helper.rb
+++ b/app/helpers/custom_fields_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/documents_helper.rb b/app/helpers/documents_helper.rb
index a6741b8cd..5d7298ade 100644
--- a/app/helpers/documents_helper.rb
+++ b/app/helpers/documents_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/email_addresses_helper.rb b/app/helpers/email_addresses_helper.rb
index 1f44f212d..45081c4b1 100644
--- a/app/helpers/email_addresses_helper.rb
+++ b/app/helpers/email_addresses_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/enumerations_helper.rb b/app/helpers/enumerations_helper.rb
index 2759e8457..65c773899 100644
--- a/app/helpers/enumerations_helper.rb
+++ b/app/helpers/enumerations_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/gantt_helper.rb b/app/helpers/gantt_helper.rb
index 65585898f..10653c32c 100644
--- a/app/helpers/gantt_helper.rb
+++ b/app/helpers/gantt_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb
index 7eb885f8a..b95a311df 100644
--- a/app/helpers/groups_helper.rb
+++ b/app/helpers/groups_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/imports_helper.rb b/app/helpers/imports_helper.rb
index 39f3b95ab..8f3a3ebe0 100644
--- a/app/helpers/imports_helper.rb
+++ b/app/helpers/imports_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/issue_categories_helper.rb b/app/helpers/issue_categories_helper.rb
index 8af3452a5..a17961687 100644
--- a/app/helpers/issue_categories_helper.rb
+++ b/app/helpers/issue_categories_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/issue_relations_helper.rb b/app/helpers/issue_relations_helper.rb
index a1b3b990a..c1e2f2e75 100644
--- a/app/helpers/issue_relations_helper.rb
+++ b/app/helpers/issue_relations_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/issue_statuses_helper.rb b/app/helpers/issue_statuses_helper.rb
index 49441dde5..db519b4c2 100644
--- a/app/helpers/issue_statuses_helper.rb
+++ b/app/helpers/issue_statuses_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index a3e655a30..00bf5092b 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/journals_helper.rb b/app/helpers/journals_helper.rb
index 5e817e862..7f234d2df 100644
--- a/app/helpers/journals_helper.rb
+++ b/app/helpers/journals_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/mail_handler_helper.rb b/app/helpers/mail_handler_helper.rb
index f7957cea5..481b6e9e0 100644
--- a/app/helpers/mail_handler_helper.rb
+++ b/app/helpers/mail_handler_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/members_helper.rb b/app/helpers/members_helper.rb
index ff7ff1bff..54ff8eb87 100644
--- a/app/helpers/members_helper.rb
+++ b/app/helpers/members_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/messages_helper.rb b/app/helpers/messages_helper.rb
index 77ca38526..bb3c87da9 100644
--- a/app/helpers/messages_helper.rb
+++ b/app/helpers/messages_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/my_helper.rb b/app/helpers/my_helper.rb
index da42e077d..1b5fc7838 100644
--- a/app/helpers/my_helper.rb
+++ b/app/helpers/my_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/news_helper.rb b/app/helpers/news_helper.rb
index f105593fa..5666e3c1d 100644
--- a/app/helpers/news_helper.rb
+++ b/app/helpers/news_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/principal_memberships_helper.rb b/app/helpers/principal_memberships_helper.rb
index bf6898fde..2dd4d334e 100644
--- a/app/helpers/principal_memberships_helper.rb
+++ b/app/helpers/principal_memberships_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 794546163..c2a5e5371 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb
index 261291727..969de9e1e 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/reports_helper.rb b/app/helpers/reports_helper.rb
index 201c99024..472577dea 100644
--- a/app/helpers/reports_helper.rb
+++ b/app/helpers/reports_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb
index f64ed1dc0..341a8e356 100644
--- a/app/helpers/repositories_helper.rb
+++ b/app/helpers/repositories_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/roles_helper.rb b/app/helpers/roles_helper.rb
index ce5ffe71b..eaf464b01 100644
--- a/app/helpers/roles_helper.rb
+++ b/app/helpers/roles_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/routes_helper.rb b/app/helpers/routes_helper.rb
index c0a367563..8177609ef 100644
--- a/app/helpers/routes_helper.rb
+++ b/app/helpers/routes_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb
index d7c483048..9e48d7385 100644
--- a/app/helpers/search_helper.rb
+++ b/app/helpers/search_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb
index 09caeb3e5..28b5217e4 100644
--- a/app/helpers/settings_helper.rb
+++ b/app/helpers/settings_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/sort_helper.rb b/app/helpers/sort_helper.rb
index c6bf5383e..56e6334b8 100644
--- a/app/helpers/sort_helper.rb
+++ b/app/helpers/sort_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Helpers to sort tables using clickable column headers.
#
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb
index cb79a545a..c28db5339 100644
--- a/app/helpers/timelog_helper.rb
+++ b/app/helpers/timelog_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/trackers_helper.rb b/app/helpers/trackers_helper.rb
index ffb2ca3de..dd305c91e 100644
--- a/app/helpers/trackers_helper.rb
+++ b/app/helpers/trackers_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb
index c0d954499..b83fc6a76 100644
--- a/app/helpers/users_helper.rb
+++ b/app/helpers/users_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/versions_helper.rb b/app/helpers/versions_helper.rb
index 9ade12a75..7a2adbd00 100644
--- a/app/helpers/versions_helper.rb
+++ b/app/helpers/versions_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/watchers_helper.rb b/app/helpers/watchers_helper.rb
index ad8cd5995..1199f182a 100644
--- a/app/helpers/watchers_helper.rb
+++ b/app/helpers/watchers_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/welcome_helper.rb b/app/helpers/welcome_helper.rb
index cc8ab380b..5f32769c2 100644
--- a/app/helpers/welcome_helper.rb
+++ b/app/helpers/welcome_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/wiki_helper.rb b/app/helpers/wiki_helper.rb
index b11a7eb19..02af6500d 100644
--- a/app/helpers/wiki_helper.rb
+++ b/app/helpers/wiki_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
diff --git a/app/helpers/workflows_helper.rb b/app/helpers/workflows_helper.rb
index 8ac75aa98..df9868bad 100644
--- a/app/helpers/workflows_helper.rb
+++ b/app/helpers/workflows_helper.rb
@@ -1,4 +1,6 @@
# encoding: utf-8
+# frozen_string_literal: false
+
#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang