summaryrefslogtreecommitdiffstats
path: root/extra/sample_plugin
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 /extra/sample_plugin
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 'extra/sample_plugin')
-rw-r--r--extra/sample_plugin/app/controllers/example_controller.rb2
-rw-r--r--extra/sample_plugin/app/models/meeting.rb2
-rw-r--r--extra/sample_plugin/config/routes.rb2
-rw-r--r--extra/sample_plugin/db/migrate/001_create_meetings.rb2
-rw-r--r--extra/sample_plugin/init.rb2
-rw-r--r--extra/sample_plugin/test/integration/routing_test.rb2
6 files changed, 0 insertions, 12 deletions
diff --git a/extra/sample_plugin/app/controllers/example_controller.rb b/extra/sample_plugin/app/controllers/example_controller.rb
index a04c923fb..d38d01d91 100644
--- a/extra/sample_plugin/app/controllers/example_controller.rb
+++ b/extra/sample_plugin/app/controllers/example_controller.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
# Sample plugin controller
class ExampleController < ApplicationController
layout 'base'
diff --git a/extra/sample_plugin/app/models/meeting.rb b/extra/sample_plugin/app/models/meeting.rb
index c5edaa648..ca8af1021 100644
--- a/extra/sample_plugin/app/models/meeting.rb
+++ b/extra/sample_plugin/app/models/meeting.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class Meeting < ActiveRecord::Base
belongs_to :project
diff --git a/extra/sample_plugin/config/routes.rb b/extra/sample_plugin/config/routes.rb
index 57fc3e633..53428a7c5 100644
--- a/extra/sample_plugin/config/routes.rb
+++ b/extra/sample_plugin/config/routes.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
# Plugin's routes
# See: http://guides.rubyonrails.org/routing.html
diff --git a/extra/sample_plugin/db/migrate/001_create_meetings.rb b/extra/sample_plugin/db/migrate/001_create_meetings.rb
index 4b29c89da..31beee3b7 100644
--- a/extra/sample_plugin/db/migrate/001_create_meetings.rb
+++ b/extra/sample_plugin/db/migrate/001_create_meetings.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
# Sample plugin migration
# Use rake db:migrate_plugins to migrate installed plugins
class CreateMeetings < ActiveRecord::Migration[4.2]
diff --git a/extra/sample_plugin/init.rb b/extra/sample_plugin/init.rb
index cf22ef5ff..372ff6fea 100644
--- a/extra/sample_plugin/init.rb
+++ b/extra/sample_plugin/init.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
Rails.logger.info 'Starting Example plugin for Redmine'
Redmine::Plugin.register :sample_plugin do
diff --git a/extra/sample_plugin/test/integration/routing_test.rb b/extra/sample_plugin/test/integration/routing_test.rb
index 0b6bb76cc..50ad4603f 100644
--- a/extra/sample_plugin/test/integration/routing_test.rb
+++ b/extra/sample_plugin/test/integration/routing_test.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper')
class SamplePluginRoutingTest < ActionDispatch::IntegrationTest