summaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-03-21 06:06:53 +0000
committerGo MAEDA <maeda@farend.jp>2019-03-21 06:06:53 +0000
commit3b55f654077dfb7b4764eafa52579a83bd22152f (patch)
treef54f71952c75bfc3077d8f8cf1b2fc556eaaadf2 /lib/tasks
parentb900ae6107666deb601753eaa7abab0b299c006d (diff)
downloadredmine-3b55f654077dfb7b4764eafa52579a83bd22152f.tar.gz
redmine-3b55f654077dfb7b4764eafa52579a83bd22152f.zip
Remove frozen_string_literal magic comment from files which are not used when running the application or tests (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/ci.rake2
-rw-r--r--lib/tasks/ciphering.rake2
-rw-r--r--lib/tasks/deprecated.rake2
-rw-r--r--lib/tasks/email.rake2
-rw-r--r--lib/tasks/extract_fixtures.rake2
-rw-r--r--lib/tasks/initializers.rake2
-rw-r--r--lib/tasks/load_default_data.rake2
-rw-r--r--lib/tasks/locales.rake2
-rw-r--r--lib/tasks/metrics.rake2
-rw-r--r--lib/tasks/migrate_from_mantis.rake2
-rw-r--r--lib/tasks/migrate_from_trac.rake2
-rw-r--r--lib/tasks/permissions.rake2
-rw-r--r--lib/tasks/redmine.rake2
-rw-r--r--lib/tasks/reminder.rake2
-rw-r--r--lib/tasks/testing.rake2
-rw-r--r--lib/tasks/yardoc.rake2
16 files changed, 0 insertions, 32 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake
index 3b0c0bde0..8c7f8b68f 100644
--- a/lib/tasks/ci.rake
+++ b/lib/tasks/ci.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
desc "Run the Continuous Integration tests for Redmine"
task :ci do
# RAILS_ENV and ENV[] can diverge so force them both to test
diff --git a/lib/tasks/ciphering.rake b/lib/tasks/ciphering.rake
index bebf308dc..2b1183352 100644
--- a/lib/tasks/ciphering.rake
+++ b/lib/tasks/ciphering.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
#
diff --git a/lib/tasks/deprecated.rake b/lib/tasks/deprecated.rake
index 1cce6d344..c62579d0a 100644
--- a/lib/tasks/deprecated.rake
+++ b/lib/tasks/deprecated.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
def deprecated_task(name, new_name)
task name=>new_name do
$stderr.puts "\nNote: The rake task #{name} has been deprecated, please use the replacement version #{new_name}"
diff --git a/lib/tasks/email.rake b/lib/tasks/email.rake
index 8d03b2913..25d7d667b 100644
--- a/lib/tasks/email.rake
+++ b/lib/tasks/email.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
#
diff --git a/lib/tasks/extract_fixtures.rake b/lib/tasks/extract_fixtures.rake
index 1c7f9342c..65f529315 100644
--- a/lib/tasks/extract_fixtures.rake
+++ b/lib/tasks/extract_fixtures.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
desc 'Create YAML test fixtures from data in an existing database.
Defaults to development database. Set RAILS_ENV to override.'
diff --git a/lib/tasks/initializers.rake b/lib/tasks/initializers.rake
index 5b1e0b30c..6da60c147 100644
--- a/lib/tasks/initializers.rake
+++ b/lib/tasks/initializers.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
desc 'Generates a secret token for the application.'
file 'config/initializers/secret_token.rb' do
diff --git a/lib/tasks/load_default_data.rake b/lib/tasks/load_default_data.rake
index 51949c2b4..bcfff7c3b 100644
--- a/lib/tasks/load_default_data.rake
+++ b/lib/tasks/load_default_data.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
desc 'Load Redmine default configuration data. Language is chosen interactively or by setting REDMINE_LANG environment variable.'
namespace :redmine do
diff --git a/lib/tasks/locales.rake b/lib/tasks/locales.rake
index dbf7bcf45..028a25154 100644
--- a/lib/tasks/locales.rake
+++ b/lib/tasks/locales.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
desc 'Updates and checks locales against en.yml'
task :locales do
%w(locales:update locales:check_interpolation).collect do |task|
diff --git a/lib/tasks/metrics.rake b/lib/tasks/metrics.rake
index de7fd3aa3..214cc996e 100644
--- a/lib/tasks/metrics.rake
+++ b/lib/tasks/metrics.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
begin
require 'metric_fu'
rescue LoadError
diff --git a/lib/tasks/migrate_from_mantis.rake b/lib/tasks/migrate_from_mantis.rake
index f169d9ea3..61c42325d 100644
--- a/lib/tasks/migrate_from_mantis.rake
+++ b/lib/tasks/migrate_from_mantis.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
#
diff --git a/lib/tasks/migrate_from_trac.rake b/lib/tasks/migrate_from_trac.rake
index a1d457550..eb0d81e0a 100644
--- a/lib/tasks/migrate_from_trac.rake
+++ b/lib/tasks/migrate_from_trac.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
#
diff --git a/lib/tasks/permissions.rake b/lib/tasks/permissions.rake
index 038b2a731..3ed53f1f1 100644
--- a/lib/tasks/permissions.rake
+++ b/lib/tasks/permissions.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
namespace :redmine do
desc "List all permissions and the actions registered with them"
task :permissions => :environment do
diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake
index 0fd09ceeb..f26200114 100644
--- a/lib/tasks/redmine.rake
+++ b/lib/tasks/redmine.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
#
diff --git a/lib/tasks/reminder.rake b/lib/tasks/reminder.rake
index 0b1ae2c8e..56122ca7b 100644
--- a/lib/tasks/reminder.rake
+++ b/lib/tasks/reminder.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
#
diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake
index ea809c731..33bedd4e0 100644
--- a/lib/tasks/testing.rake
+++ b/lib/tasks/testing.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
namespace :test do
desc 'Measures test coverage'
task :coverage do
diff --git a/lib/tasks/yardoc.rake b/lib/tasks/yardoc.rake
index 23ba7ea1c..60d3a644a 100644
--- a/lib/tasks/yardoc.rake
+++ b/lib/tasks/yardoc.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
begin
require 'yard'