summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-03-16 06:26:33 +0000
committerGo MAEDA <maeda@farend.jp>2019-03-16 06:26:33 +0000
commite70c283a22dd18cbeb8661ad80062776658325e2 (patch)
tree16c623de35518f41df9dfe6b2bbf3336afd0d386 /app
parent978bdba9eef95285e81093370a3c3d5801ae734d (diff)
downloadredmine-e70c283a22dd18cbeb8661ad80062776658325e2.tar.gz
redmine-e70c283a22dd18cbeb8661ad80062776658325e2.zip
Remove unnecessary encoding magic comment (#31034).
The default script encoding is UTF-8 in Ruby 2.0 or later. Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-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, 0 insertions, 88 deletions
diff --git a/app/helpers/account_helper.rb b/app/helpers/account_helper.rb
index 423a7b9de..ec36a2ee1 100644
--- a/app/helpers/account_helper.rb
+++ b/app/helpers/account_helper.rb
@@ -1,7 +1,5 @@
-# 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 dda6485ce..ccf146ad1 100644
--- a/app/helpers/activities_helper.rb
+++ b/app/helpers/activities_helper.rb
@@ -1,7 +1,5 @@
-# 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 0cc1a48aa..ee2182fba 100644
--- a/app/helpers/admin_helper.rb
+++ b/app/helpers/admin_helper.rb
@@ -1,7 +1,5 @@
-# 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 7174575be..23520d953 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -1,7 +1,5 @@
-# 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 9bbcb01b1..899472b25 100644
--- a/app/helpers/attachments_helper.rb
+++ b/app/helpers/attachments_helper.rb
@@ -1,7 +1,5 @@
-# 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 b1b3b9c22..53ba7811a 100644
--- a/app/helpers/auth_sources_helper.rb
+++ b/app/helpers/auth_sources_helper.rb
@@ -1,7 +1,5 @@
-# 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 80d0289c1..33da7ed10 100644
--- a/app/helpers/boards_helper.rb
+++ b/app/helpers/boards_helper.rb
@@ -1,7 +1,5 @@
-# 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 30b9e315b..8375a9792 100644
--- a/app/helpers/calendars_helper.rb
+++ b/app/helpers/calendars_helper.rb
@@ -1,7 +1,5 @@
-# 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 953fb10da..f0bbf15cc 100644
--- a/app/helpers/context_menus_helper.rb
+++ b/app/helpers/context_menus_helper.rb
@@ -1,7 +1,5 @@
-# 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 e9f544e63..13ee985b0 100644
--- a/app/helpers/custom_fields_helper.rb
+++ b/app/helpers/custom_fields_helper.rb
@@ -1,7 +1,5 @@
-# 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 5d7298ade..5901fca82 100644
--- a/app/helpers/documents_helper.rb
+++ b/app/helpers/documents_helper.rb
@@ -1,7 +1,5 @@
-# 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 45081c4b1..b65800b47 100644
--- a/app/helpers/email_addresses_helper.rb
+++ b/app/helpers/email_addresses_helper.rb
@@ -1,7 +1,5 @@
-# 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 65c773899..f91b6f56d 100644
--- a/app/helpers/enumerations_helper.rb
+++ b/app/helpers/enumerations_helper.rb
@@ -1,7 +1,5 @@
-# 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 10653c32c..a0a9c405e 100644
--- a/app/helpers/gantt_helper.rb
+++ b/app/helpers/gantt_helper.rb
@@ -1,7 +1,5 @@
-# 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 b95a311df..082703439 100644
--- a/app/helpers/groups_helper.rb
+++ b/app/helpers/groups_helper.rb
@@ -1,7 +1,5 @@
-# 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 8f3a3ebe0..a1e964234 100644
--- a/app/helpers/imports_helper.rb
+++ b/app/helpers/imports_helper.rb
@@ -1,7 +1,5 @@
-# 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 a17961687..c42c6f153 100644
--- a/app/helpers/issue_categories_helper.rb
+++ b/app/helpers/issue_categories_helper.rb
@@ -1,7 +1,5 @@
-# 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 c1e2f2e75..3a8c2c186 100644
--- a/app/helpers/issue_relations_helper.rb
+++ b/app/helpers/issue_relations_helper.rb
@@ -1,7 +1,5 @@
-# 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 db519b4c2..951f0e319 100644
--- a/app/helpers/issue_statuses_helper.rb
+++ b/app/helpers/issue_statuses_helper.rb
@@ -1,7 +1,5 @@
-# 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 ec340cd82..47b71e37d 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -1,7 +1,5 @@
-# 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 7f234d2df..86ca95c5d 100644
--- a/app/helpers/journals_helper.rb
+++ b/app/helpers/journals_helper.rb
@@ -1,7 +1,5 @@
-# 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 481b6e9e0..faba211ed 100644
--- a/app/helpers/mail_handler_helper.rb
+++ b/app/helpers/mail_handler_helper.rb
@@ -1,7 +1,5 @@
-# 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 971c43fb1..6a999db00 100644
--- a/app/helpers/members_helper.rb
+++ b/app/helpers/members_helper.rb
@@ -1,7 +1,5 @@
-# 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 bb3c87da9..e2a2c3df8 100644
--- a/app/helpers/messages_helper.rb
+++ b/app/helpers/messages_helper.rb
@@ -1,7 +1,5 @@
-# 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 1b5fc7838..b1a16f2ed 100644
--- a/app/helpers/my_helper.rb
+++ b/app/helpers/my_helper.rb
@@ -1,7 +1,5 @@
-# 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 5666e3c1d..4e673798e 100644
--- a/app/helpers/news_helper.rb
+++ b/app/helpers/news_helper.rb
@@ -1,7 +1,5 @@
-# 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 2dd4d334e..f26c1e6b6 100644
--- a/app/helpers/principal_memberships_helper.rb
+++ b/app/helpers/principal_memberships_helper.rb
@@ -1,7 +1,5 @@
-# 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 c2a5e5371..fb38ab26a 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -1,7 +1,5 @@
-# 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 969de9e1e..f57a44ae5 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -1,7 +1,5 @@
-# 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 472577dea..7d98a0059 100644
--- a/app/helpers/reports_helper.rb
+++ b/app/helpers/reports_helper.rb
@@ -1,7 +1,5 @@
-# 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 341a8e356..9c025c581 100644
--- a/app/helpers/repositories_helper.rb
+++ b/app/helpers/repositories_helper.rb
@@ -1,7 +1,5 @@
-# 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 eaf464b01..b128bfcc7 100644
--- a/app/helpers/roles_helper.rb
+++ b/app/helpers/roles_helper.rb
@@ -1,7 +1,5 @@
-# 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 8177609ef..6aceda1d7 100644
--- a/app/helpers/routes_helper.rb
+++ b/app/helpers/routes_helper.rb
@@ -1,7 +1,5 @@
-# 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 9e48d7385..f236f3181 100644
--- a/app/helpers/search_helper.rb
+++ b/app/helpers/search_helper.rb
@@ -1,7 +1,5 @@
-# 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 28b5217e4..2ca20c569 100644
--- a/app/helpers/settings_helper.rb
+++ b/app/helpers/settings_helper.rb
@@ -1,7 +1,5 @@
-# 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 56e6334b8..1ea19edda 100644
--- a/app/helpers/sort_helper.rb
+++ b/app/helpers/sort_helper.rb
@@ -1,7 +1,5 @@
-# encoding: utf-8
# frozen_string_literal: false
-#
# Helpers to sort tables using clickable column headers.
#
# Author: Stuart Rackham <srackham@methods.co.nz>, March 2005.
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb
index c28db5339..8773161f5 100644
--- a/app/helpers/timelog_helper.rb
+++ b/app/helpers/timelog_helper.rb
@@ -1,7 +1,5 @@
-# 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 468fe610f..0dee3fcee 100644
--- a/app/helpers/trackers_helper.rb
+++ b/app/helpers/trackers_helper.rb
@@ -1,7 +1,5 @@
-# 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 b83fc6a76..194e38b08 100644
--- a/app/helpers/users_helper.rb
+++ b/app/helpers/users_helper.rb
@@ -1,7 +1,5 @@
-# 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 7a2adbd00..f1448670d 100644
--- a/app/helpers/versions_helper.rb
+++ b/app/helpers/versions_helper.rb
@@ -1,7 +1,5 @@
-# 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 1199f182a..982a9a4a9 100644
--- a/app/helpers/watchers_helper.rb
+++ b/app/helpers/watchers_helper.rb
@@ -1,7 +1,5 @@
-# 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 5f32769c2..0179b1d78 100644
--- a/app/helpers/welcome_helper.rb
+++ b/app/helpers/welcome_helper.rb
@@ -1,7 +1,5 @@
-# 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 02af6500d..f640ee48d 100644
--- a/app/helpers/wiki_helper.rb
+++ b/app/helpers/wiki_helper.rb
@@ -1,7 +1,5 @@
-# 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 df9868bad..f4b112858 100644
--- a/app/helpers/workflows_helper.rb
+++ b/app/helpers/workflows_helper.rb
@@ -1,7 +1,5 @@
-# encoding: utf-8
# frozen_string_literal: false
-#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
#