summaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/redmine/export/csv.rb2
-rw-r--r--lib/redmine/export/pdf.rb1
-rw-r--r--lib/redmine/export/pdf/issues_pdf_helper.rb2
-rw-r--r--lib/redmine/export/pdf/wiki_pdf_helper.rb2
-rw-r--r--lib/redmine/pagination.rb2
5 files changed, 0 insertions, 9 deletions
diff --git a/lib/redmine/export/csv.rb b/lib/redmine/export/csv.rb
index 92da0cff5..d85b7925a 100644
--- a/lib/redmine/export/csv.rb
+++ b/lib/redmine/export/csv.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/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb
index f2a159258..8cf0c5ff1 100644
--- a/lib/redmine/export/pdf.rb
+++ b/lib/redmine/export/pdf.rb
@@ -1,4 +1,3 @@
-# encoding: utf-8
# frozen_string_literal: true
#
diff --git a/lib/redmine/export/pdf/issues_pdf_helper.rb b/lib/redmine/export/pdf/issues_pdf_helper.rb
index 5acdeffa9..6185bff63 100644
--- a/lib/redmine/export/pdf/issues_pdf_helper.rb
+++ b/lib/redmine/export/pdf/issues_pdf_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/lib/redmine/export/pdf/wiki_pdf_helper.rb b/lib/redmine/export/pdf/wiki_pdf_helper.rb
index 5d325f2fd..85dea024f 100644
--- a/lib/redmine/export/pdf/wiki_pdf_helper.rb
+++ b/lib/redmine/export/pdf/wiki_pdf_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/lib/redmine/pagination.rb b/lib/redmine/pagination.rb
index 706e93816..f549897ac 100644
--- a/lib/redmine/pagination.rb
+++ b/lib/redmine/pagination.rb
@@ -1,7 +1,5 @@
-# encoding: utf-8
# frozen_string_literal: false
-#
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
#