summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--Gemfile2
-rw-r--r--Rakefile2
-rwxr-xr-xbin/about1
-rwxr-xr-xbin/bundle1
-rw-r--r--bin/changelog.rb2
-rwxr-xr-xbin/rails2
-rwxr-xr-xbin/rake2
-rw-r--r--config.ru2
-rw-r--r--db/migrate/001_setup.rb2
-rw-r--r--db/migrate/002_issue_move.rb2
-rw-r--r--db/migrate/003_issue_add_note.rb2
-rw-r--r--db/migrate/004_export_pdf.rb2
-rw-r--r--db/migrate/005_issue_start_date.rb2
-rw-r--r--db/migrate/006_calendar_and_activity.rb2
-rw-r--r--db/migrate/007_create_journals.rb2
-rw-r--r--db/migrate/008_create_user_preferences.rb2
-rw-r--r--db/migrate/009_add_hide_mail_pref.rb2
-rw-r--r--db/migrate/010_create_comments.rb2
-rw-r--r--db/migrate/011_add_news_comments_count.rb2
-rw-r--r--db/migrate/012_add_comments_permissions.rb2
-rw-r--r--db/migrate/013_create_queries.rb2
-rw-r--r--db/migrate/014_add_queries_permissions.rb2
-rw-r--r--db/migrate/015_create_repositories.rb2
-rw-r--r--db/migrate/016_add_repositories_permissions.rb2
-rw-r--r--db/migrate/017_create_settings.rb2
-rw-r--r--db/migrate/018_set_doc_and_files_notifications.rb2
-rw-r--r--db/migrate/019_add_issue_status_position.rb2
-rw-r--r--db/migrate/020_add_role_position.rb2
-rw-r--r--db/migrate/021_add_tracker_position.rb2
-rw-r--r--db/migrate/022_serialize_possibles_values.rb2
-rw-r--r--db/migrate/023_add_tracker_is_in_roadmap.rb2
-rw-r--r--db/migrate/024_add_roadmap_permission.rb2
-rw-r--r--db/migrate/025_add_search_permission.rb2
-rw-r--r--db/migrate/026_add_repository_login_and_password.rb2
-rw-r--r--db/migrate/027_create_wikis.rb2
-rw-r--r--db/migrate/028_create_wiki_pages.rb2
-rw-r--r--db/migrate/029_create_wiki_contents.rb2
-rw-r--r--db/migrate/030_add_projects_feeds_permissions.rb2
-rw-r--r--db/migrate/031_add_repository_root_url.rb2
-rw-r--r--db/migrate/032_create_time_entries.rb2
-rw-r--r--db/migrate/033_add_timelog_permissions.rb2
-rw-r--r--db/migrate/034_create_changesets.rb2
-rw-r--r--db/migrate/035_create_changes.rb2
-rw-r--r--db/migrate/036_add_changeset_commit_date.rb2
-rw-r--r--db/migrate/037_add_project_identifier.rb2
-rw-r--r--db/migrate/038_add_custom_field_is_filter.rb2
-rw-r--r--db/migrate/039_create_watchers.rb2
-rw-r--r--db/migrate/040_create_changesets_issues.rb2
-rw-r--r--db/migrate/041_rename_comment_to_comments.rb2
-rw-r--r--db/migrate/042_create_issue_relations.rb2
-rw-r--r--db/migrate/043_add_relations_permissions.rb2
-rw-r--r--db/migrate/044_set_language_length_to_five.rb2
-rw-r--r--db/migrate/045_create_boards.rb2
-rw-r--r--db/migrate/046_create_messages.rb2
-rw-r--r--db/migrate/047_add_boards_permissions.rb2
-rw-r--r--db/migrate/048_allow_null_version_effective_date.rb2
-rw-r--r--db/migrate/049_add_wiki_destroy_page_permission.rb2
-rw-r--r--db/migrate/050_add_wiki_attachments_permissions.rb2
-rw-r--r--db/migrate/051_add_project_status.rb2
-rw-r--r--db/migrate/052_add_changes_revision.rb2
-rw-r--r--db/migrate/053_add_changes_branch.rb2
-rw-r--r--db/migrate/054_add_changesets_scmid.rb2
-rw-r--r--db/migrate/055_add_repositories_type.rb2
-rw-r--r--db/migrate/056_add_repositories_changes_permission.rb2
-rw-r--r--db/migrate/057_add_versions_wiki_page_title.rb2
-rw-r--r--db/migrate/058_add_issue_categories_assigned_to_id.rb2
-rw-r--r--db/migrate/059_add_roles_assignable.rb2
-rw-r--r--db/migrate/060_change_changesets_committer_limit.rb2
-rw-r--r--db/migrate/061_add_roles_builtin.rb2
-rw-r--r--db/migrate/062_insert_builtin_roles.rb2
-rw-r--r--db/migrate/063_add_roles_permissions.rb2
-rw-r--r--db/migrate/064_drop_permissions.rb2
-rw-r--r--db/migrate/065_add_settings_updated_on.rb2
-rw-r--r--db/migrate/066_add_custom_value_customized_index.rb2
-rw-r--r--db/migrate/067_create_wiki_redirects.rb2
-rw-r--r--db/migrate/068_create_enabled_modules.rb2
-rw-r--r--db/migrate/069_add_issues_estimated_hours.rb2
-rw-r--r--db/migrate/070_change_attachments_content_type_limit.rb2
-rw-r--r--db/migrate/071_add_queries_column_names.rb2
-rw-r--r--db/migrate/072_add_enumerations_position.rb2
-rw-r--r--db/migrate/073_add_enumerations_is_default.rb2
-rw-r--r--db/migrate/074_add_auth_sources_tls.rb2
-rw-r--r--db/migrate/075_add_members_mail_notification.rb2
-rw-r--r--db/migrate/076_allow_null_position.rb2
-rw-r--r--db/migrate/077_remove_issue_statuses_html_color.rb2
-rw-r--r--db/migrate/078_add_custom_fields_position.rb2
-rw-r--r--db/migrate/079_add_user_preferences_time_zone.rb2
-rw-r--r--db/migrate/080_add_users_type.rb2
-rw-r--r--db/migrate/081_create_projects_trackers.rb2
-rw-r--r--db/migrate/082_add_messages_locked.rb2
-rw-r--r--db/migrate/083_add_messages_sticky.rb2
-rw-r--r--db/migrate/084_change_auth_sources_account_limit.rb2
-rw-r--r--db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb2
-rw-r--r--db/migrate/086_add_custom_fields_searchable.rb2
-rw-r--r--db/migrate/087_change_projects_description_to_text.rb2
-rw-r--r--db/migrate/088_add_custom_fields_default_value.rb2
-rw-r--r--db/migrate/089_add_attachments_description.rb2
-rw-r--r--db/migrate/090_change_versions_name_limit.rb2
-rw-r--r--db/migrate/091_change_changesets_revision_to_string.rb2
-rw-r--r--db/migrate/092_change_changes_from_revision_to_string.rb2
-rw-r--r--db/migrate/093_add_wiki_pages_protected.rb2
-rw-r--r--db/migrate/094_change_projects_homepage_limit.rb2
-rw-r--r--db/migrate/095_add_wiki_pages_parent_id.rb2
-rw-r--r--db/migrate/096_add_commit_access_permission.rb2
-rw-r--r--db/migrate/097_add_view_wiki_edits_permission.rb2
-rw-r--r--db/migrate/098_set_topic_authors_as_watchers.rb2
-rw-r--r--db/migrate/099_add_delete_wiki_pages_attachments_permission.rb2
-rw-r--r--db/migrate/100_add_changesets_user_id.rb2
-rw-r--r--db/migrate/101_populate_changesets_user_id.rb2
-rw-r--r--db/migrate/102_add_custom_fields_editable.rb2
-rw-r--r--db/migrate/103_set_custom_fields_editable.rb2
-rw-r--r--db/migrate/104_add_projects_lft_and_rgt.rb2
-rw-r--r--db/migrate/105_build_projects_tree.rb2
-rw-r--r--db/migrate/106_remove_projects_projects_count.rb2
-rw-r--r--db/migrate/107_add_open_id_authentication_tables.rb2
-rw-r--r--db/migrate/108_add_identity_url_to_users.rb2
-rw-r--r--db/migrate/20090214190337_add_watchers_user_id_type_index.rb2
-rw-r--r--db/migrate/20090312172426_add_queries_sort_criteria.rb2
-rw-r--r--db/migrate/20090312194159_add_projects_trackers_unique_index.rb2
-rw-r--r--db/migrate/20090318181151_extend_settings_name.rb2
-rw-r--r--db/migrate/20090323224724_add_type_to_enumerations.rb2
-rw-r--r--db/migrate/20090401221305_update_enumerations_to_sti.rb2
-rw-r--r--db/migrate/20090401231134_add_active_field_to_enumerations.rb2
-rw-r--r--db/migrate/20090403001910_add_project_to_enumerations.rb2
-rw-r--r--db/migrate/20090406161854_add_parent_id_to_enumerations.rb2
-rw-r--r--db/migrate/20090425161243_add_queries_group_by.rb2
-rw-r--r--db/migrate/20090503121501_create_member_roles.rb2
-rw-r--r--db/migrate/20090503121505_populate_member_roles.rb2
-rw-r--r--db/migrate/20090503121510_drop_members_role_id.rb2
-rw-r--r--db/migrate/20090614091200_fix_messages_sticky_null.rb2
-rw-r--r--db/migrate/20090704172350_populate_users_type.rb2
-rw-r--r--db/migrate/20090704172355_create_groups_users.rb2
-rw-r--r--db/migrate/20090704172358_add_member_roles_inherited_from.rb2
-rw-r--r--db/migrate/20091010093521_fix_users_custom_values.rb2
-rw-r--r--db/migrate/20091017212227_add_missing_indexes_to_workflows.rb2
-rw-r--r--db/migrate/20091017212457_add_missing_indexes_to_custom_fields_projects.rb2
-rw-r--r--db/migrate/20091017212644_add_missing_indexes_to_messages.rb2
-rw-r--r--db/migrate/20091017212938_add_missing_indexes_to_repositories.rb2
-rw-r--r--db/migrate/20091017213027_add_missing_indexes_to_comments.rb2
-rw-r--r--db/migrate/20091017213113_add_missing_indexes_to_enumerations.rb2
-rw-r--r--db/migrate/20091017213151_add_missing_indexes_to_wiki_pages.rb2
-rw-r--r--db/migrate/20091017213228_add_missing_indexes_to_watchers.rb2
-rw-r--r--db/migrate/20091017213257_add_missing_indexes_to_auth_sources.rb2
-rw-r--r--db/migrate/20091017213332_add_missing_indexes_to_documents.rb2
-rw-r--r--db/migrate/20091017213444_add_missing_indexes_to_tokens.rb2
-rw-r--r--db/migrate/20091017213536_add_missing_indexes_to_changesets.rb2
-rw-r--r--db/migrate/20091017213642_add_missing_indexes_to_issue_categories.rb2
-rw-r--r--db/migrate/20091017213716_add_missing_indexes_to_member_roles.rb2
-rw-r--r--db/migrate/20091017213757_add_missing_indexes_to_boards.rb2
-rw-r--r--db/migrate/20091017213835_add_missing_indexes_to_user_preferences.rb2
-rw-r--r--db/migrate/20091017213910_add_missing_indexes_to_issues.rb2
-rw-r--r--db/migrate/20091017214015_add_missing_indexes_to_members.rb2
-rw-r--r--db/migrate/20091017214107_add_missing_indexes_to_custom_fields.rb2
-rw-r--r--db/migrate/20091017214136_add_missing_indexes_to_queries.rb2
-rw-r--r--db/migrate/20091017214236_add_missing_indexes_to_time_entries.rb2
-rw-r--r--db/migrate/20091017214308_add_missing_indexes_to_news.rb2
-rw-r--r--db/migrate/20091017214336_add_missing_indexes_to_users.rb2
-rw-r--r--db/migrate/20091017214406_add_missing_indexes_to_attachments.rb2
-rw-r--r--db/migrate/20091017214440_add_missing_indexes_to_wiki_contents.rb2
-rw-r--r--db/migrate/20091017214519_add_missing_indexes_to_custom_values.rb2
-rw-r--r--db/migrate/20091017214611_add_missing_indexes_to_journals.rb2
-rw-r--r--db/migrate/20091017214644_add_missing_indexes_to_issue_relations.rb2
-rw-r--r--db/migrate/20091017214720_add_missing_indexes_to_wiki_redirects.rb2
-rw-r--r--db/migrate/20091017214750_add_missing_indexes_to_custom_fields_trackers.rb2
-rw-r--r--db/migrate/20091025163651_add_activity_indexes.rb2
-rw-r--r--db/migrate/20091108092559_add_versions_status.rb2
-rw-r--r--db/migrate/20091114105931_add_view_issues_permission.rb2
-rw-r--r--db/migrate/20091123212029_add_default_done_ratio_to_issue_status.rb2
-rw-r--r--db/migrate/20091205124427_add_versions_sharing.rb2
-rw-r--r--db/migrate/20091220183509_add_lft_and_rgt_indexes_to_projects.rb2
-rw-r--r--db/migrate/20091220183727_add_index_to_settings_name.rb2
-rw-r--r--db/migrate/20091220184736_add_indexes_to_issue_status.rb2
-rw-r--r--db/migrate/20091225164732_remove_enumerations_opt.rb2
-rw-r--r--db/migrate/20091227112908_change_wiki_contents_text_limit.rb2
-rw-r--r--db/migrate/20100129193402_change_users_mail_notification_to_string.rb2
-rw-r--r--db/migrate/20100129193813_update_mail_notification_values.rb2
-rw-r--r--db/migrate/20100221100219_add_index_on_changesets_scmid.rb2
-rw-r--r--db/migrate/20100313132032_add_issues_nested_sets_columns.rb2
-rw-r--r--db/migrate/20100313171051_add_index_on_issues_nested_set.rb2
-rw-r--r--db/migrate/20100705164950_change_changes_path_length_limit.rb2
-rw-r--r--db/migrate/20100819172912_enable_calendar_and_gantt_modules_where_appropriate.rb2
-rw-r--r--db/migrate/20101104182107_add_unique_index_on_members.rb2
-rw-r--r--db/migrate/20101107130441_add_custom_fields_visible.rb2
-rw-r--r--db/migrate/20101114115114_change_projects_name_limit.rb2
-rw-r--r--db/migrate/20101114115359_change_projects_identifier_limit.rb2
-rw-r--r--db/migrate/20110220160626_add_workflows_assignee_and_author.rb2
-rw-r--r--db/migrate/20110223180944_add_users_salt.rb2
-rw-r--r--db/migrate/20110223180953_salt_user_passwords.rb2
-rw-r--r--db/migrate/20110224000000_add_repositories_path_encoding.rb2
-rw-r--r--db/migrate/20110226120112_change_repositories_password_limit.rb2
-rw-r--r--db/migrate/20110226120132_change_auth_sources_account_password_limit.rb2
-rw-r--r--db/migrate/20110227125750_change_journal_details_values_to_text.rb2
-rw-r--r--db/migrate/20110228000000_add_repositories_log_encoding.rb2
-rw-r--r--db/migrate/20110228000100_copy_repositories_log_encoding.rb2
-rw-r--r--db/migrate/20110401192910_add_index_to_users_type.rb2
-rw-r--r--db/migrate/20110408103312_add_roles_issues_visibility.rb2
-rw-r--r--db/migrate/20110412065600_add_issues_is_private.rb2
-rw-r--r--db/migrate/20110511000000_add_repositories_extra_info.rb2
-rw-r--r--db/migrate/20110902000000_create_changeset_parents.rb2
-rw-r--r--db/migrate/20111201201315_add_unique_index_to_issue_relations.rb2
-rw-r--r--db/migrate/20120115143024_add_repositories_identifier.rb2
-rw-r--r--db/migrate/20120115143100_add_repositories_is_default.rb2
-rw-r--r--db/migrate/20120115143126_set_default_repositories.rb2
-rw-r--r--db/migrate/20120127174243_add_custom_fields_multiple.rb2
-rw-r--r--db/migrate/20120205111326_change_users_login_limit.rb2
-rw-r--r--db/migrate/20120223110929_change_attachments_container_defaults.rb2
-rw-r--r--db/migrate/20120301153455_add_auth_sources_filter.rb2
-rw-r--r--db/migrate/20120422150750_change_repositories_to_full_sti.rb2
-rw-r--r--db/migrate/20120705074331_add_trackers_fields_bits.rb2
-rw-r--r--db/migrate/20120707064544_add_auth_sources_timeout.rb2
-rw-r--r--db/migrate/20120714122000_add_workflows_type.rb2
-rw-r--r--db/migrate/20120714122100_update_workflows_to_sti.rb2
-rw-r--r--db/migrate/20120714122200_add_workflows_rule_fields.rb2
-rw-r--r--db/migrate/20120731164049_add_boards_parent_id.rb2
-rw-r--r--db/migrate/20120930112914_add_journals_private_notes.rb2
-rw-r--r--db/migrate/20121026002032_add_enumerations_position_name.rb2
-rw-r--r--db/migrate/20121026003537_populate_enumerations_position_name.rb2
-rw-r--r--db/migrate/20121209123234_add_queries_type.rb2
-rw-r--r--db/migrate/20121209123358_update_queries_to_sti.rb2
-rw-r--r--db/migrate/20121213084931_add_attachments_disk_directory.rb2
-rw-r--r--db/migrate/20130110122628_split_documents_permissions.rb2
-rw-r--r--db/migrate/20130201184705_add_unique_index_on_tokens_value.rb2
-rw-r--r--db/migrate/20130202090625_add_projects_inherit_members.rb2
-rw-r--r--db/migrate/20130207175206_add_unique_index_on_custom_fields_trackers.rb2
-rw-r--r--db/migrate/20130207181455_add_unique_index_on_custom_fields_projects.rb2
-rw-r--r--db/migrate/20130215073721_change_users_lastname_length_to_255.rb2
-rw-r--r--db/migrate/20130215111127_add_issues_closed_on.rb2
-rw-r--r--db/migrate/20130215111141_populate_issues_closed_on.rb2
-rw-r--r--db/migrate/20130217094251_remove_issues_default_fk_values.rb2
-rw-r--r--db/migrate/20130602092539_create_queries_roles.rb2
-rw-r--r--db/migrate/20130710182539_add_queries_visibility.rb2
-rw-r--r--db/migrate/20130713104233_create_custom_fields_roles.rb2
-rw-r--r--db/migrate/20130713111657_add_queries_options.rb2
-rw-r--r--db/migrate/20130729070143_add_users_must_change_passwd.rb2
-rw-r--r--db/migrate/20130911193200_remove_eols_from_attachments_filename.rb2
-rw-r--r--db/migrate/20131004113137_support_for_multiple_commit_keywords.rb2
-rw-r--r--db/migrate/20131005100610_add_repositories_created_on.rb2
-rw-r--r--db/migrate/20131124175346_add_custom_fields_format_store.rb2
-rw-r--r--db/migrate/20131210180802_add_custom_fields_description.rb2
-rw-r--r--db/migrate/20131214094309_remove_custom_fields_min_max_length_default_values.rb2
-rw-r--r--db/migrate/20131215104612_store_relation_type_in_journal_details.rb2
-rw-r--r--db/migrate/20131218183023_delete_orphan_time_entries_custom_values.rb2
-rw-r--r--db/migrate/20140228130325_change_changesets_comments_limit.rb2
-rw-r--r--db/migrate/20140903143914_add_password_changed_at_to_user.rb2
-rw-r--r--db/migrate/20140920094058_insert_builtin_groups.rb2
-rw-r--r--db/migrate/20141029181752_add_trackers_default_status_id.rb2
-rw-r--r--db/migrate/20141029181824_remove_issue_statuses_is_default.rb2
-rw-r--r--db/migrate/20141109112308_add_roles_users_visibility.rb2
-rw-r--r--db/migrate/20141122124142_add_wiki_redirects_redirects_to_wiki_id.rb2
-rw-r--r--db/migrate/20150113194759_create_email_addresses.rb2
-rw-r--r--db/migrate/20150113211532_populate_email_addresses.rb2
-rw-r--r--db/migrate/20150113213922_remove_users_mail.rb2
-rw-r--r--db/migrate/20150113213955_add_email_addresses_user_id_index.rb2
-rw-r--r--db/migrate/20150208105930_replace_move_issues_permission.rb2
-rw-r--r--db/migrate/20150510083747_change_documents_title_limit.rb2
-rw-r--r--db/migrate/20150525103953_clear_estimated_hours_on_parent_issues.rb2
-rw-r--r--db/migrate/20150526183158_add_roles_time_entries_visibility.rb2
-rw-r--r--db/migrate/20150528084820_add_roles_all_roles_managed.rb2
-rw-r--r--db/migrate/20150528092912_create_roles_managed_roles.rb2
-rw-r--r--db/migrate/20150528093249_add_unique_index_on_roles_managed_roles.rb2
-rw-r--r--db/migrate/20150725112753_insert_allowed_statuses_for_new_issues.rb2
-rw-r--r--db/migrate/20150730122707_create_imports.rb2
-rw-r--r--db/migrate/20150730122735_create_import_items.rb2
-rw-r--r--db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb2
-rw-r--r--db/migrate/20150921210243_change_wiki_contents_comments_limit_to_1024.rb2
-rw-r--r--db/migrate/20151020182334_change_attachments_filesize_limit_to_8.rb2
-rw-r--r--db/migrate/20151020182731_fix_comma_in_user_format_setting_value.rb2
-rw-r--r--db/migrate/20151021184614_change_issue_categories_name_limit_to_60.rb2
-rw-r--r--db/migrate/20151021185456_change_auth_sources_filter_to_text.rb2
-rw-r--r--db/migrate/20151021190616_change_user_preferences_hide_mail_default_to_true.rb2
-rw-r--r--db/migrate/20151024082034_add_tokens_updated_on.rb2
-rw-r--r--db/migrate/20151025072118_create_custom_field_enumerations.rb2
-rw-r--r--db/migrate/20151031095005_add_projects_default_version_id.rb2
-rw-r--r--db/migrate/20160404080304_force_password_reset_during_setup.rb2
-rw-r--r--db/migrate/20160416072926_remove_position_defaults.rb2
-rw-r--r--db/migrate/20160529063352_add_roles_settings.rb2
-rw-r--r--db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb2
-rw-r--r--db/migrate/20161002133421_add_index_on_member_roles_inherited_from.rb2
-rw-r--r--db/migrate/20161010081301_change_issues_description_limit.rb2
-rw-r--r--db/migrate/20161010081528_change_journal_details_value_limit.rb2
-rw-r--r--db/migrate/20161010081600_change_journals_notes_limit.rb2
-rw-r--r--db/migrate/20161126094932_add_index_on_changesets_issues_issue_id.rb2
-rw-r--r--db/migrate/20161220091118_add_index_on_issues_parent_id.rb2
-rw-r--r--db/migrate/20170207050700_add_index_on_disk_filename_to_attachments.rb2
-rw-r--r--db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb2
-rw-r--r--db/migrate/20170309214320_add_project_default_assigned_to_id.rb2
-rw-r--r--db/migrate/20170320051650_change_repositories_extra_info_limit.rb2
-rw-r--r--db/migrate/20170418090031_add_view_news_to_all_existing_roles.rb2
-rw-r--r--db/migrate/20170419144536_add_view_messages_to_all_existing_roles.rb2
-rw-r--r--db/migrate/20170723112801_rename_comments_to_content.rb2
-rw-r--r--db/migrate/20180501132547_add_author_id_to_time_entries.rb2
-rw-r--r--db/migrate/20180913072918_add_verify_peer_to_auth_sources.rb2
-rw-r--r--db/migrate/20180923082945_change_sqlite_booleans_to_0_and_1.rb2
-rw-r--r--db/migrate/20180923091603_change_sqlite_booleans_default.rb2
-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
-rw-r--r--lib/generators/redmine_plugin/redmine_plugin_generator.rb2
-rw-r--r--lib/generators/redmine_plugin/templates/routes.rb2
-rw-r--r--lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb2
-rw-r--r--lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb2
-rw-r--r--lib/plugins/gravatar/Rakefile2
-rw-r--r--lib/plugins/gravatar/spec/gravatar_spec.rb2
-rw-r--r--lib/plugins/open_id_authentication/Rakefile2
-rw-r--r--lib/plugins/open_id_authentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb2
-rw-r--r--lib/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/upgrade_open_id_authentication_tables_generator.rb2
-rw-r--r--lib/plugins/open_id_authentication/lib/open_id_authentication.rb2
-rw-r--r--lib/plugins/open_id_authentication/lib/tasks/open_id_authentication_tasks.rake2
-rw-r--r--lib/plugins/open_id_authentication/test/mem_cache_store_test.rb2
-rw-r--r--lib/plugins/open_id_authentication/test/normalize_test.rb2
-rw-r--r--lib/plugins/open_id_authentication/test/open_id_authentication_test.rb2
-rw-r--r--lib/plugins/open_id_authentication/test/status_test.rb2
-rw-r--r--lib/plugins/open_id_authentication/test/test_helper.rb2
-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
332 files changed, 0 insertions, 662 deletions
diff --git a/Gemfile b/Gemfile
index 42afe30d4..f5f5fd0aa 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
source 'https://rubygems.org'
gem "bundler", ">= 1.5.0"
diff --git a/Rakefile b/Rakefile
index 7031ed9e5..5fbdf84ca 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,4 @@
#!/usr/bin/env rake
-# frozen_string_literal: false
-
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
diff --git a/bin/about b/bin/about
index d1815f783..cfec3b406 100755
--- a/bin/about
+++ b/bin/about
@@ -1,5 +1,4 @@
#!/usr/bin/env ruby
-# frozen_string_literal: false
ENV["RAILS_ENV"] ||= "production"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
diff --git a/bin/bundle b/bin/bundle
index 96e725c20..a169c9da9 100755
--- a/bin/bundle
+++ b/bin/bundle
@@ -1,5 +1,4 @@
#!/usr/bin/env ruby
-# frozen_string_literal: false
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
load Gem.bin_path('bundler', 'bundle')
diff --git a/bin/changelog.rb b/bin/changelog.rb
index 36c11f458..7862f21eb 100644
--- a/bin/changelog.rb
+++ b/bin/changelog.rb
@@ -1,6 +1,4 @@
#!/usr/bin/env ruby
-# frozen_string_literal: false
-
require 'optparse'
require 'ostruct'
require 'date'
diff --git a/bin/rails b/bin/rails
index 6ba2e160f..728cd85aa 100755
--- a/bin/rails
+++ b/bin/rails
@@ -1,6 +1,4 @@
#!/usr/bin/env ruby
-# frozen_string_literal: false
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
require_relative '../config/boot'
require 'rails/commands'
diff --git a/bin/rake b/bin/rake
index 15f8a9a8d..17240489f 100755
--- a/bin/rake
+++ b/bin/rake
@@ -1,6 +1,4 @@
#!/usr/bin/env ruby
-# frozen_string_literal: false
-
require_relative '../config/boot'
require 'rake'
Rake.application.run
diff --git a/config.ru b/config.ru
index e666ae557..5bc2a619e 100644
--- a/config.ru
+++ b/config.ru
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
diff --git a/db/migrate/001_setup.rb b/db/migrate/001_setup.rb
index dde3a29c4..1cd569403 100644
--- a/db/migrate/001_setup.rb
+++ b/db/migrate/001_setup.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
# Redmine - project management software
# Copyright (C) 2006 Jean-Philippe Lang
#
diff --git a/db/migrate/002_issue_move.rb b/db/migrate/002_issue_move.rb
index 82d9391ef..d5966f04e 100644
--- a/db/migrate/002_issue_move.rb
+++ b/db/migrate/002_issue_move.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class IssueMove < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/003_issue_add_note.rb b/db/migrate/003_issue_add_note.rb
index 9fb45c9da..9f899a80f 100644
--- a/db/migrate/003_issue_add_note.rb
+++ b/db/migrate/003_issue_add_note.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class IssueAddNote < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/004_export_pdf.rb b/db/migrate/004_export_pdf.rb
index d29165eef..ac7ef2627 100644
--- a/db/migrate/004_export_pdf.rb
+++ b/db/migrate/004_export_pdf.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ExportPdf < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/005_issue_start_date.rb b/db/migrate/005_issue_start_date.rb
index 983c9a4ae..93decfb35 100644
--- a/db/migrate/005_issue_start_date.rb
+++ b/db/migrate/005_issue_start_date.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class IssueStartDate < ActiveRecord::Migration[4.2]
def self.up
add_column :issues, :start_date, :date
diff --git a/db/migrate/006_calendar_and_activity.rb b/db/migrate/006_calendar_and_activity.rb
index bd38e23b8..3ff204c62 100644
--- a/db/migrate/006_calendar_and_activity.rb
+++ b/db/migrate/006_calendar_and_activity.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CalendarAndActivity < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/007_create_journals.rb b/db/migrate/007_create_journals.rb
index 7062f2cae..0d1201406 100644
--- a/db/migrate/007_create_journals.rb
+++ b/db/migrate/007_create_journals.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateJournals < ActiveRecord::Migration[4.2]
# model removed, but needed for data migration
diff --git a/db/migrate/008_create_user_preferences.rb b/db/migrate/008_create_user_preferences.rb
index a0e78b570..b782b179e 100644
--- a/db/migrate/008_create_user_preferences.rb
+++ b/db/migrate/008_create_user_preferences.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateUserPreferences < ActiveRecord::Migration[4.2]
def self.up
create_table :user_preferences do |t|
diff --git a/db/migrate/009_add_hide_mail_pref.rb b/db/migrate/009_add_hide_mail_pref.rb
index 69bab179d..8dd3399c9 100644
--- a/db/migrate/009_add_hide_mail_pref.rb
+++ b/db/migrate/009_add_hide_mail_pref.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddHideMailPref < ActiveRecord::Migration[4.2]
def self.up
add_column :user_preferences, :hide_mail, :boolean, :default => false
diff --git a/db/migrate/010_create_comments.rb b/db/migrate/010_create_comments.rb
index f4e898fe4..c711c748a 100644
--- a/db/migrate/010_create_comments.rb
+++ b/db/migrate/010_create_comments.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateComments < ActiveRecord::Migration[4.2]
def self.up
create_table :comments do |t|
diff --git a/db/migrate/011_add_news_comments_count.rb b/db/migrate/011_add_news_comments_count.rb
index a4b285a92..01a283345 100644
--- a/db/migrate/011_add_news_comments_count.rb
+++ b/db/migrate/011_add_news_comments_count.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddNewsCommentsCount < ActiveRecord::Migration[4.2]
def self.up
add_column :news, :comments_count, :integer, :default => 0, :null => false
diff --git a/db/migrate/012_add_comments_permissions.rb b/db/migrate/012_add_comments_permissions.rb
index dbe2eca1d..e82fb89e9 100644
--- a/db/migrate/012_add_comments_permissions.rb
+++ b/db/migrate/012_add_comments_permissions.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddCommentsPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/013_create_queries.rb b/db/migrate/013_create_queries.rb
index 2a5eee5b9..578472590 100644
--- a/db/migrate/013_create_queries.rb
+++ b/db/migrate/013_create_queries.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateQueries < ActiveRecord::Migration[4.2]
def self.up
create_table :queries, :force => true do |t|
diff --git a/db/migrate/014_add_queries_permissions.rb b/db/migrate/014_add_queries_permissions.rb
index c93a308e4..07f974900 100644
--- a/db/migrate/014_add_queries_permissions.rb
+++ b/db/migrate/014_add_queries_permissions.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddQueriesPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/015_create_repositories.rb b/db/migrate/015_create_repositories.rb
index 7bd1cdb81..e8e92bdb9 100644
--- a/db/migrate/015_create_repositories.rb
+++ b/db/migrate/015_create_repositories.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateRepositories < ActiveRecord::Migration[4.2]
def self.up
create_table :repositories, :force => true do |t|
diff --git a/db/migrate/016_add_repositories_permissions.rb b/db/migrate/016_add_repositories_permissions.rb
index 31367405c..217df3cae 100644
--- a/db/migrate/016_add_repositories_permissions.rb
+++ b/db/migrate/016_add_repositories_permissions.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRepositoriesPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/017_create_settings.rb b/db/migrate/017_create_settings.rb
index 8ba233f0f..777e36ed6 100644
--- a/db/migrate/017_create_settings.rb
+++ b/db/migrate/017_create_settings.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateSettings < ActiveRecord::Migration[4.2]
def self.up
create_table :settings, :force => true do |t|
diff --git a/db/migrate/018_set_doc_and_files_notifications.rb b/db/migrate/018_set_doc_and_files_notifications.rb
index 9e7f007b9..aca687385 100644
--- a/db/migrate/018_set_doc_and_files_notifications.rb
+++ b/db/migrate/018_set_doc_and_files_notifications.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class SetDocAndFilesNotifications < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/019_add_issue_status_position.rb b/db/migrate/019_add_issue_status_position.rb
index e4a067cb7..1536bdd0a 100644
--- a/db/migrate/019_add_issue_status_position.rb
+++ b/db/migrate/019_add_issue_status_position.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIssueStatusPosition < ActiveRecord::Migration[4.2]
def self.up
add_column :issue_statuses, :position, :integer, :default => 1
diff --git a/db/migrate/020_add_role_position.rb b/db/migrate/020_add_role_position.rb
index 7781b12d4..39a678e1a 100644
--- a/db/migrate/020_add_role_position.rb
+++ b/db/migrate/020_add_role_position.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRolePosition < ActiveRecord::Migration[4.2]
def self.up
add_column :roles, :position, :integer, :default => 1
diff --git a/db/migrate/021_add_tracker_position.rb b/db/migrate/021_add_tracker_position.rb
index 133e8d1e7..dca65d109 100644
--- a/db/migrate/021_add_tracker_position.rb
+++ b/db/migrate/021_add_tracker_position.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddTrackerPosition < ActiveRecord::Migration[4.2]
def self.up
add_column :trackers, :position, :integer, :default => 1
diff --git a/db/migrate/022_serialize_possibles_values.rb b/db/migrate/022_serialize_possibles_values.rb
index b82a4d2d1..66905c9c6 100644
--- a/db/migrate/022_serialize_possibles_values.rb
+++ b/db/migrate/022_serialize_possibles_values.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class SerializePossiblesValues < ActiveRecord::Migration[4.2]
def self.up
CustomField.all.each do |field|
diff --git a/db/migrate/023_add_tracker_is_in_roadmap.rb b/db/migrate/023_add_tracker_is_in_roadmap.rb
index 4093b7e4f..727b1a803 100644
--- a/db/migrate/023_add_tracker_is_in_roadmap.rb
+++ b/db/migrate/023_add_tracker_is_in_roadmap.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddTrackerIsInRoadmap < ActiveRecord::Migration[4.2]
def self.up
add_column :trackers, :is_in_roadmap, :boolean, :default => true, :null => false
diff --git a/db/migrate/024_add_roadmap_permission.rb b/db/migrate/024_add_roadmap_permission.rb
index dedf72146..72aeaeded 100644
--- a/db/migrate/024_add_roadmap_permission.rb
+++ b/db/migrate/024_add_roadmap_permission.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRoadmapPermission < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/025_add_search_permission.rb b/db/migrate/025_add_search_permission.rb
index 40f2b982a..782eeb286 100644
--- a/db/migrate/025_add_search_permission.rb
+++ b/db/migrate/025_add_search_permission.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddSearchPermission < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/026_add_repository_login_and_password.rb b/db/migrate/026_add_repository_login_and_password.rb
index 06bab50c1..e26c2333c 100644
--- a/db/migrate/026_add_repository_login_and_password.rb
+++ b/db/migrate/026_add_repository_login_and_password.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRepositoryLoginAndPassword < ActiveRecord::Migration[4.2]
def self.up
add_column :repositories, :login, :string, :limit => 60, :default => ""
diff --git a/db/migrate/027_create_wikis.rb b/db/migrate/027_create_wikis.rb
index 47642427d..c40481488 100644
--- a/db/migrate/027_create_wikis.rb
+++ b/db/migrate/027_create_wikis.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateWikis < ActiveRecord::Migration[4.2]
def self.up
create_table :wikis do |t|
diff --git a/db/migrate/028_create_wiki_pages.rb b/db/migrate/028_create_wiki_pages.rb
index e72947203..95fd6b59b 100644
--- a/db/migrate/028_create_wiki_pages.rb
+++ b/db/migrate/028_create_wiki_pages.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateWikiPages < ActiveRecord::Migration[4.2]
def self.up
create_table :wiki_pages do |t|
diff --git a/db/migrate/029_create_wiki_contents.rb b/db/migrate/029_create_wiki_contents.rb
index 600b70109..662488405 100644
--- a/db/migrate/029_create_wiki_contents.rb
+++ b/db/migrate/029_create_wiki_contents.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateWikiContents < ActiveRecord::Migration[4.2]
def self.up
create_table :wiki_contents do |t|
diff --git a/db/migrate/030_add_projects_feeds_permissions.rb b/db/migrate/030_add_projects_feeds_permissions.rb
index a2b5cd20a..29e31ab14 100644
--- a/db/migrate/030_add_projects_feeds_permissions.rb
+++ b/db/migrate/030_add_projects_feeds_permissions.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddProjectsFeedsPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/031_add_repository_root_url.rb b/db/migrate/031_add_repository_root_url.rb
index 2269b09f7..96ac761e4 100644
--- a/db/migrate/031_add_repository_root_url.rb
+++ b/db/migrate/031_add_repository_root_url.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRepositoryRootUrl < ActiveRecord::Migration[4.2]
def self.up
add_column :repositories, :root_url, :string, :limit => 255, :default => ""
diff --git a/db/migrate/032_create_time_entries.rb b/db/migrate/032_create_time_entries.rb
index 7b0f5974e..0e93dca23 100644
--- a/db/migrate/032_create_time_entries.rb
+++ b/db/migrate/032_create_time_entries.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateTimeEntries < ActiveRecord::Migration[4.2]
def self.up
create_table :time_entries do |t|
diff --git a/db/migrate/033_add_timelog_permissions.rb b/db/migrate/033_add_timelog_permissions.rb
index f86e4fbb0..42889f1e7 100644
--- a/db/migrate/033_add_timelog_permissions.rb
+++ b/db/migrate/033_add_timelog_permissions.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddTimelogPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/034_create_changesets.rb b/db/migrate/034_create_changesets.rb
index 8e87bb8bc..e0180a041 100644
--- a/db/migrate/034_create_changesets.rb
+++ b/db/migrate/034_create_changesets.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateChangesets < ActiveRecord::Migration[4.2]
def self.up
create_table :changesets do |t|
diff --git a/db/migrate/035_create_changes.rb b/db/migrate/035_create_changes.rb
index 6ec26beb5..ed62e4c31 100644
--- a/db/migrate/035_create_changes.rb
+++ b/db/migrate/035_create_changes.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateChanges < ActiveRecord::Migration[4.2]
def self.up
create_table :changes do |t|
diff --git a/db/migrate/036_add_changeset_commit_date.rb b/db/migrate/036_add_changeset_commit_date.rb
index b0918483d..90ce52466 100644
--- a/db/migrate/036_add_changeset_commit_date.rb
+++ b/db/migrate/036_add_changeset_commit_date.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddChangesetCommitDate < ActiveRecord::Migration[4.2]
def self.up
add_column :changesets, :commit_date, :date
diff --git a/db/migrate/037_add_project_identifier.rb b/db/migrate/037_add_project_identifier.rb
index e8485ccbf..de796d6d1 100644
--- a/db/migrate/037_add_project_identifier.rb
+++ b/db/migrate/037_add_project_identifier.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddProjectIdentifier < ActiveRecord::Migration[4.2]
def self.up
add_column :projects, :identifier, :string, :limit => 20
diff --git a/db/migrate/038_add_custom_field_is_filter.rb b/db/migrate/038_add_custom_field_is_filter.rb
index 2f2965600..a57c1b036 100644
--- a/db/migrate/038_add_custom_field_is_filter.rb
+++ b/db/migrate/038_add_custom_field_is_filter.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddCustomFieldIsFilter < ActiveRecord::Migration[4.2]
def self.up
add_column :custom_fields, :is_filter, :boolean, :null => false, :default => false
diff --git a/db/migrate/039_create_watchers.rb b/db/migrate/039_create_watchers.rb
index d37310e51..d14cea464 100644
--- a/db/migrate/039_create_watchers.rb
+++ b/db/migrate/039_create_watchers.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateWatchers < ActiveRecord::Migration[4.2]
def self.up
create_table :watchers do |t|
diff --git a/db/migrate/040_create_changesets_issues.rb b/db/migrate/040_create_changesets_issues.rb
index 204e056aa..d4aad0f01 100644
--- a/db/migrate/040_create_changesets_issues.rb
+++ b/db/migrate/040_create_changesets_issues.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateChangesetsIssues < ActiveRecord::Migration[4.2]
def self.up
create_table :changesets_issues, :id => false do |t|
diff --git a/db/migrate/041_rename_comment_to_comments.rb b/db/migrate/041_rename_comment_to_comments.rb
index 8e2757304..02391091a 100644
--- a/db/migrate/041_rename_comment_to_comments.rb
+++ b/db/migrate/041_rename_comment_to_comments.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RenameCommentToComments < ActiveRecord::Migration[4.2]
def self.up
rename_column(:comments, :comment, :comments) if ActiveRecord::Base.connection.columns(Comment.table_name).detect{|c| c.name == "comment"}
diff --git a/db/migrate/042_create_issue_relations.rb b/db/migrate/042_create_issue_relations.rb
index 29cb19efb..98ad24fb0 100644
--- a/db/migrate/042_create_issue_relations.rb
+++ b/db/migrate/042_create_issue_relations.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateIssueRelations < ActiveRecord::Migration[4.2]
def self.up
create_table :issue_relations do |t|
diff --git a/db/migrate/043_add_relations_permissions.rb b/db/migrate/043_add_relations_permissions.rb
index 1426501e1..7250606ed 100644
--- a/db/migrate/043_add_relations_permissions.rb
+++ b/db/migrate/043_add_relations_permissions.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRelationsPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/044_set_language_length_to_five.rb b/db/migrate/044_set_language_length_to_five.rb
index 775c19f3b..1e600690f 100644
--- a/db/migrate/044_set_language_length_to_five.rb
+++ b/db/migrate/044_set_language_length_to_five.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class SetLanguageLengthToFive < ActiveRecord::Migration[4.2]
def self.up
change_column :users, :language, :string, :limit => 5, :default => ""
diff --git a/db/migrate/045_create_boards.rb b/db/migrate/045_create_boards.rb
index 694b3ebfa..49b15edcc 100644
--- a/db/migrate/045_create_boards.rb
+++ b/db/migrate/045_create_boards.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateBoards < ActiveRecord::Migration[4.2]
def self.up
create_table :boards do |t|
diff --git a/db/migrate/046_create_messages.rb b/db/migrate/046_create_messages.rb
index 895a5e879..99d39c8d3 100644
--- a/db/migrate/046_create_messages.rb
+++ b/db/migrate/046_create_messages.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateMessages < ActiveRecord::Migration[4.2]
def self.up
create_table :messages do |t|
diff --git a/db/migrate/047_add_boards_permissions.rb b/db/migrate/047_add_boards_permissions.rb
index 15d91367e..cf7938e9f 100644
--- a/db/migrate/047_add_boards_permissions.rb
+++ b/db/migrate/047_add_boards_permissions.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddBoardsPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/048_allow_null_version_effective_date.rb b/db/migrate/048_allow_null_version_effective_date.rb
index 66d23d14f..9cce1e3f6 100644
--- a/db/migrate/048_allow_null_version_effective_date.rb
+++ b/db/migrate/048_allow_null_version_effective_date.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AllowNullVersionEffectiveDate < ActiveRecord::Migration[4.2]
def self.up
change_column :versions, :effective_date, :date, :default => nil, :null => true
diff --git a/db/migrate/049_add_wiki_destroy_page_permission.rb b/db/migrate/049_add_wiki_destroy_page_permission.rb
index 8d8ea49c1..bbeb26d8d 100644
--- a/db/migrate/049_add_wiki_destroy_page_permission.rb
+++ b/db/migrate/049_add_wiki_destroy_page_permission.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddWikiDestroyPagePermission < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/050_add_wiki_attachments_permissions.rb b/db/migrate/050_add_wiki_attachments_permissions.rb
index a0d339b24..fd5f35891 100644
--- a/db/migrate/050_add_wiki_attachments_permissions.rb
+++ b/db/migrate/050_add_wiki_attachments_permissions.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddWikiAttachmentsPermissions < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/051_add_project_status.rb b/db/migrate/051_add_project_status.rb
index 1062f855c..e7ceade0b 100644
--- a/db/migrate/051_add_project_status.rb
+++ b/db/migrate/051_add_project_status.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddProjectStatus < ActiveRecord::Migration[4.2]
def self.up
add_column :projects, :status, :integer, :default => 1, :null => false
diff --git a/db/migrate/052_add_changes_revision.rb b/db/migrate/052_add_changes_revision.rb
index 54e8ab740..e9b178480 100644
--- a/db/migrate/052_add_changes_revision.rb
+++ b/db/migrate/052_add_changes_revision.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddChangesRevision < ActiveRecord::Migration[4.2]
def self.up
add_column :changes, :revision, :string
diff --git a/db/migrate/053_add_changes_branch.rb b/db/migrate/053_add_changes_branch.rb
index 6b8e689cf..d8dbcfd05 100644
--- a/db/migrate/053_add_changes_branch.rb
+++ b/db/migrate/053_add_changes_branch.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddChangesBranch < ActiveRecord::Migration[4.2]
def self.up
add_column :changes, :branch, :string
diff --git a/db/migrate/054_add_changesets_scmid.rb b/db/migrate/054_add_changesets_scmid.rb
index 75e1e6df4..034facb4b 100644
--- a/db/migrate/054_add_changesets_scmid.rb
+++ b/db/migrate/054_add_changesets_scmid.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddChangesetsScmid < ActiveRecord::Migration[4.2]
def self.up
add_column :changesets, :scmid, :string
diff --git a/db/migrate/055_add_repositories_type.rb b/db/migrate/055_add_repositories_type.rb
index a9364be2c..5ee43cb36 100644
--- a/db/migrate/055_add_repositories_type.rb
+++ b/db/migrate/055_add_repositories_type.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRepositoriesType < ActiveRecord::Migration[4.2]
def self.up
add_column :repositories, :type, :string
diff --git a/db/migrate/056_add_repositories_changes_permission.rb b/db/migrate/056_add_repositories_changes_permission.rb
index 42b7af7d0..71e23be29 100644
--- a/db/migrate/056_add_repositories_changes_permission.rb
+++ b/db/migrate/056_add_repositories_changes_permission.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRepositoriesChangesPermission < ActiveRecord::Migration[4.2]
# model removed
class Permission < ActiveRecord::Base; end
diff --git a/db/migrate/057_add_versions_wiki_page_title.rb b/db/migrate/057_add_versions_wiki_page_title.rb
index 816b8fd1c..cb2273598 100644
--- a/db/migrate/057_add_versions_wiki_page_title.rb
+++ b/db/migrate/057_add_versions_wiki_page_title.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddVersionsWikiPageTitle < ActiveRecord::Migration[4.2]
def self.up
add_column :versions, :wiki_page_title, :string
diff --git a/db/migrate/058_add_issue_categories_assigned_to_id.rb b/db/migrate/058_add_issue_categories_assigned_to_id.rb
index b4f36c0c9..d17afdc9d 100644
--- a/db/migrate/058_add_issue_categories_assigned_to_id.rb
+++ b/db/migrate/058_add_issue_categories_assigned_to_id.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIssueCategoriesAssignedToId < ActiveRecord::Migration[4.2]
def self.up
add_column :issue_categories, :assigned_to_id, :integer
diff --git a/db/migrate/059_add_roles_assignable.rb b/db/migrate/059_add_roles_assignable.rb
index e2704fb19..6b4b3f9ca 100644
--- a/db/migrate/059_add_roles_assignable.rb
+++ b/db/migrate/059_add_roles_assignable.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRolesAssignable < ActiveRecord::Migration[4.2]
def self.up
add_column :roles, :assignable, :boolean, :default => true
diff --git a/db/migrate/060_change_changesets_committer_limit.rb b/db/migrate/060_change_changesets_committer_limit.rb
index 151207433..d8a03b8c8 100644
--- a/db/migrate/060_change_changesets_committer_limit.rb
+++ b/db/migrate/060_change_changesets_committer_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeChangesetsCommitterLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :changesets, :committer, :string, :limit => nil
diff --git a/db/migrate/061_add_roles_builtin.rb b/db/migrate/061_add_roles_builtin.rb
index e0fc7cba6..65124b02d 100644
--- a/db/migrate/061_add_roles_builtin.rb
+++ b/db/migrate/061_add_roles_builtin.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRolesBuiltin < ActiveRecord::Migration[4.2]
def self.up
add_column :roles, :builtin, :integer, :default => 0, :null => false
diff --git a/db/migrate/062_insert_builtin_roles.rb b/db/migrate/062_insert_builtin_roles.rb
index 19b940078..07f902f04 100644
--- a/db/migrate/062_insert_builtin_roles.rb
+++ b/db/migrate/062_insert_builtin_roles.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class InsertBuiltinRoles < ActiveRecord::Migration[4.2]
def self.up
Role.reset_column_information
diff --git a/db/migrate/063_add_roles_permissions.rb b/db/migrate/063_add_roles_permissions.rb
index f0a5bc7c1..a2626f82c 100644
--- a/db/migrate/063_add_roles_permissions.rb
+++ b/db/migrate/063_add_roles_permissions.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRolesPermissions < ActiveRecord::Migration[4.2]
def self.up
add_column :roles, :permissions, :text
diff --git a/db/migrate/064_drop_permissions.rb b/db/migrate/064_drop_permissions.rb
index 5388d5993..6d39519fe 100644
--- a/db/migrate/064_drop_permissions.rb
+++ b/db/migrate/064_drop_permissions.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class DropPermissions < ActiveRecord::Migration[4.2]
def self.up
drop_table :permissions
diff --git a/db/migrate/065_add_settings_updated_on.rb b/db/migrate/065_add_settings_updated_on.rb
index 51956071c..ab0b03a15 100644
--- a/db/migrate/065_add_settings_updated_on.rb
+++ b/db/migrate/065_add_settings_updated_on.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddSettingsUpdatedOn < ActiveRecord::Migration[4.2]
def self.up
add_column :settings, :updated_on, :timestamp
diff --git a/db/migrate/066_add_custom_value_customized_index.rb b/db/migrate/066_add_custom_value_customized_index.rb
index 69919963a..da4c72570 100644
--- a/db/migrate/066_add_custom_value_customized_index.rb
+++ b/db/migrate/066_add_custom_value_customized_index.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddCustomValueCustomizedIndex < ActiveRecord::Migration[4.2]
def self.up
add_index :custom_values, [:customized_type, :customized_id], :name => :custom_values_customized
diff --git a/db/migrate/067_create_wiki_redirects.rb b/db/migrate/067_create_wiki_redirects.rb
index 651536d18..54b1d5dbd 100644
--- a/db/migrate/067_create_wiki_redirects.rb
+++ b/db/migrate/067_create_wiki_redirects.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateWikiRedirects < ActiveRecord::Migration[4.2]
def self.up
create_table :wiki_redirects do |t|
diff --git a/db/migrate/068_create_enabled_modules.rb b/db/migrate/068_create_enabled_modules.rb
index 38be04572..c836be76b 100644
--- a/db/migrate/068_create_enabled_modules.rb
+++ b/db/migrate/068_create_enabled_modules.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateEnabledModules < ActiveRecord::Migration[4.2]
def self.up
create_table :enabled_modules do |t|
diff --git a/db/migrate/069_add_issues_estimated_hours.rb b/db/migrate/069_add_issues_estimated_hours.rb
index a2c7a5be0..d651993e3 100644
--- a/db/migrate/069_add_issues_estimated_hours.rb
+++ b/db/migrate/069_add_issues_estimated_hours.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIssuesEstimatedHours < ActiveRecord::Migration[4.2]
def self.up
add_column :issues, :estimated_hours, :float
diff --git a/db/migrate/070_change_attachments_content_type_limit.rb b/db/migrate/070_change_attachments_content_type_limit.rb
index 13241a2dc..ae9f7363a 100644
--- a/db/migrate/070_change_attachments_content_type_limit.rb
+++ b/db/migrate/070_change_attachments_content_type_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeAttachmentsContentTypeLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :attachments, :content_type, :string, :limit => nil
diff --git a/db/migrate/071_add_queries_column_names.rb b/db/migrate/071_add_queries_column_names.rb
index 6a25a4e51..5f6873afb 100644
--- a/db/migrate/071_add_queries_column_names.rb
+++ b/db/migrate/071_add_queries_column_names.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddQueriesColumnNames < ActiveRecord::Migration[4.2]
def self.up
add_column :queries, :column_names, :text
diff --git a/db/migrate/072_add_enumerations_position.rb b/db/migrate/072_add_enumerations_position.rb
index 95ed89afd..804ce0096 100644
--- a/db/migrate/072_add_enumerations_position.rb
+++ b/db/migrate/072_add_enumerations_position.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddEnumerationsPosition < ActiveRecord::Migration[4.2]
def self.up
add_column(:enumerations, :position, :integer, :default => 1) unless Enumeration.column_names.include?('position')
diff --git a/db/migrate/073_add_enumerations_is_default.rb b/db/migrate/073_add_enumerations_is_default.rb
index ff010ec83..269cbf35a 100644
--- a/db/migrate/073_add_enumerations_is_default.rb
+++ b/db/migrate/073_add_enumerations_is_default.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddEnumerationsIsDefault < ActiveRecord::Migration[4.2]
def self.up
add_column :enumerations, :is_default, :boolean, :default => false, :null => false
diff --git a/db/migrate/074_add_auth_sources_tls.rb b/db/migrate/074_add_auth_sources_tls.rb
index aa02e6cec..298e39e6e 100644
--- a/db/migrate/074_add_auth_sources_tls.rb
+++ b/db/migrate/074_add_auth_sources_tls.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddAuthSourcesTls < ActiveRecord::Migration[4.2]
def self.up
add_column :auth_sources, :tls, :boolean, :default => false, :null => false
diff --git a/db/migrate/075_add_members_mail_notification.rb b/db/migrate/075_add_members_mail_notification.rb
index ffcc31741..8722e95fd 100644
--- a/db/migrate/075_add_members_mail_notification.rb
+++ b/db/migrate/075_add_members_mail_notification.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMembersMailNotification < ActiveRecord::Migration[4.2]
def self.up
add_column :members, :mail_notification, :boolean, :default => false, :null => false
diff --git a/db/migrate/076_allow_null_position.rb b/db/migrate/076_allow_null_position.rb
index 345601c21..a5f396fcd 100644
--- a/db/migrate/076_allow_null_position.rb
+++ b/db/migrate/076_allow_null_position.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AllowNullPosition < ActiveRecord::Migration[4.2]
def self.up
Enumeration.reset_column_information
diff --git a/db/migrate/077_remove_issue_statuses_html_color.rb b/db/migrate/077_remove_issue_statuses_html_color.rb
index e7f3b3791..fdf64ce29 100644
--- a/db/migrate/077_remove_issue_statuses_html_color.rb
+++ b/db/migrate/077_remove_issue_statuses_html_color.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RemoveIssueStatusesHtmlColor < ActiveRecord::Migration[4.2]
def self.up
remove_column :issue_statuses, :html_color
diff --git a/db/migrate/078_add_custom_fields_position.rb b/db/migrate/078_add_custom_fields_position.rb
index c099559c4..ebe84416b 100644
--- a/db/migrate/078_add_custom_fields_position.rb
+++ b/db/migrate/078_add_custom_fields_position.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddCustomFieldsPosition < ActiveRecord::Migration[4.2]
def self.up
add_column(:custom_fields, :position, :integer, :default => 1)
diff --git a/db/migrate/079_add_user_preferences_time_zone.rb b/db/migrate/079_add_user_preferences_time_zone.rb
index fd118f555..fd3ac2c6f 100644
--- a/db/migrate/079_add_user_preferences_time_zone.rb
+++ b/db/migrate/079_add_user_preferences_time_zone.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddUserPreferencesTimeZone < ActiveRecord::Migration[4.2]
def self.up
add_column :user_preferences, :time_zone, :string
diff --git a/db/migrate/080_add_users_type.rb b/db/migrate/080_add_users_type.rb
index 5ed74c6b2..342a99583 100644
--- a/db/migrate/080_add_users_type.rb
+++ b/db/migrate/080_add_users_type.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddUsersType < ActiveRecord::Migration[4.2]
def self.up
add_column :users, :type, :string
diff --git a/db/migrate/081_create_projects_trackers.rb b/db/migrate/081_create_projects_trackers.rb
index 7075f13f1..8156e39a8 100644
--- a/db/migrate/081_create_projects_trackers.rb
+++ b/db/migrate/081_create_projects_trackers.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateProjectsTrackers < ActiveRecord::Migration[4.2]
def self.up
create_table :projects_trackers, :id => false do |t|
diff --git a/db/migrate/082_add_messages_locked.rb b/db/migrate/082_add_messages_locked.rb
index 1f3db2018..c88533e9f 100644
--- a/db/migrate/082_add_messages_locked.rb
+++ b/db/migrate/082_add_messages_locked.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMessagesLocked < ActiveRecord::Migration[4.2]
def self.up
add_column :messages, :locked, :boolean, :default => false
diff --git a/db/migrate/083_add_messages_sticky.rb b/db/migrate/083_add_messages_sticky.rb
index 050999e32..aa6dde285 100644
--- a/db/migrate/083_add_messages_sticky.rb
+++ b/db/migrate/083_add_messages_sticky.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMessagesSticky < ActiveRecord::Migration[4.2]
def self.up
add_column :messages, :sticky, :integer, :default => 0
diff --git a/db/migrate/084_change_auth_sources_account_limit.rb b/db/migrate/084_change_auth_sources_account_limit.rb
index 1bc027297..4e2870aa0 100644
--- a/db/migrate/084_change_auth_sources_account_limit.rb
+++ b/db/migrate/084_change_auth_sources_account_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :auth_sources, :account, :string, :limit => nil
diff --git a/db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb b/db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb
index b27d3677b..12c150440 100644
--- a/db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb
+++ b/db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRoleTrackerOldStatusIndexToWorkflows < ActiveRecord::Migration[4.2]
def self.up
add_index :workflows, [:role_id, :tracker_id, :old_status_id], :name => :wkfs_role_tracker_old_status
diff --git a/db/migrate/086_add_custom_fields_searchable.rb b/db/migrate/086_add_custom_fields_searchable.rb
index 9b5323621..5ee187577 100644
--- a/db/migrate/086_add_custom_fields_searchable.rb
+++ b/db/migrate/086_add_custom_fields_searchable.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddCustomFieldsSearchable < ActiveRecord::Migration[4.2]
def self.up
add_column :custom_fields, :searchable, :boolean, :default => false
diff --git a/db/migrate/087_change_projects_description_to_text.rb b/db/migrate/087_change_projects_description_to_text.rb
index 961e78a28..0f1d8fe92 100644
--- a/db/migrate/087_change_projects_description_to_text.rb
+++ b/db/migrate/087_change_projects_description_to_text.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeProjectsDescriptionToText < ActiveRecord::Migration[4.2]
def self.up
change_column :projects, :description, :text, :null => true, :default => nil
diff --git a/db/migrate/088_add_custom_fields_default_value.rb b/db/migrate/088_add_custom_fields_default_value.rb
index 1db497328..1148c0726 100644
--- a/db/migrate/088_add_custom_fields_default_value.rb
+++ b/db/migrate/088_add_custom_fields_default_value.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddCustomFieldsDefaultValue < ActiveRecord::Migration[4.2]
def self.up
add_column :custom_fields, :default_value, :text
diff --git a/db/migrate/089_add_attachments_description.rb b/db/migrate/089_add_attachments_description.rb
index fed25fe7b..f2a9666b6 100644
--- a/db/migrate/089_add_attachments_description.rb
+++ b/db/migrate/089_add_attachments_description.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddAttachmentsDescription < ActiveRecord::Migration[4.2]
def self.up
add_column :attachments, :description, :string
diff --git a/db/migrate/090_change_versions_name_limit.rb b/db/migrate/090_change_versions_name_limit.rb
index b7f4318a2..5f34cd501 100644
--- a/db/migrate/090_change_versions_name_limit.rb
+++ b/db/migrate/090_change_versions_name_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeVersionsNameLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :versions, :name, :string, :limit => nil
diff --git a/db/migrate/091_change_changesets_revision_to_string.rb b/db/migrate/091_change_changesets_revision_to_string.rb
index 50ad1a770..f92f8f79e 100644
--- a/db/migrate/091_change_changesets_revision_to_string.rb
+++ b/db/migrate/091_change_changesets_revision_to_string.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeChangesetsRevisionToString < ActiveRecord::Migration[4.2]
def self.up
# Some backends (eg. SQLServer 2012) do not support changing the type
diff --git a/db/migrate/092_change_changes_from_revision_to_string.rb b/db/migrate/092_change_changes_from_revision_to_string.rb
index 3f3c983ea..c91919cc0 100644
--- a/db/migrate/092_change_changes_from_revision_to_string.rb
+++ b/db/migrate/092_change_changes_from_revision_to_string.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeChangesFromRevisionToString < ActiveRecord::Migration[4.2]
def self.up
change_column :changes, :from_revision, :string
diff --git a/db/migrate/093_add_wiki_pages_protected.rb b/db/migrate/093_add_wiki_pages_protected.rb
index a1e47e08d..6ff72d8c5 100644
--- a/db/migrate/093_add_wiki_pages_protected.rb
+++ b/db/migrate/093_add_wiki_pages_protected.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddWikiPagesProtected < ActiveRecord::Migration[4.2]
def self.up
add_column :wiki_pages, :protected, :boolean, :default => false, :null => false
diff --git a/db/migrate/094_change_projects_homepage_limit.rb b/db/migrate/094_change_projects_homepage_limit.rb
index dfaad1b5a..950c53ede 100644
--- a/db/migrate/094_change_projects_homepage_limit.rb
+++ b/db/migrate/094_change_projects_homepage_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeProjectsHomepageLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :projects, :homepage, :string, :limit => nil, :default => ''
diff --git a/db/migrate/095_add_wiki_pages_parent_id.rb b/db/migrate/095_add_wiki_pages_parent_id.rb
index 1c71ed768..6aff1fb4e 100644
--- a/db/migrate/095_add_wiki_pages_parent_id.rb
+++ b/db/migrate/095_add_wiki_pages_parent_id.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddWikiPagesParentId < ActiveRecord::Migration[4.2]
def self.up
add_column :wiki_pages, :parent_id, :integer, :default => nil
diff --git a/db/migrate/096_add_commit_access_permission.rb b/db/migrate/096_add_commit_access_permission.rb
index 28a3499cf..9b5fc66e6 100644
--- a/db/migrate/096_add_commit_access_permission.rb
+++ b/db/migrate/096_add_commit_access_permission.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddCommitAccessPermission < ActiveRecord::Migration[4.2]
def self.up
Role.all.select { |r| not r.builtin? }.each do |r|
diff --git a/db/migrate/097_add_view_wiki_edits_permission.rb b/db/migrate/097_add_view_wiki_edits_permission.rb
index e26644fba..1808f72ef 100644
--- a/db/migrate/097_add_view_wiki_edits_permission.rb
+++ b/db/migrate/097_add_view_wiki_edits_permission.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddViewWikiEditsPermission < ActiveRecord::Migration[4.2]
def self.up
Role.all.each do |r|
diff --git a/db/migrate/098_set_topic_authors_as_watchers.rb b/db/migrate/098_set_topic_authors_as_watchers.rb
index 0474a4461..979ae8edc 100644
--- a/db/migrate/098_set_topic_authors_as_watchers.rb
+++ b/db/migrate/098_set_topic_authors_as_watchers.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class SetTopicAuthorsAsWatchers < ActiveRecord::Migration[4.2]
def self.up
# Sets active users who created/replied a topic as watchers of the topic
diff --git a/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb b/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb
index 5246a2345..b016bfcb6 100644
--- a/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb
+++ b/db/migrate/099_add_delete_wiki_pages_attachments_permission.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddDeleteWikiPagesAttachmentsPermission < ActiveRecord::Migration[4.2]
def self.up
Role.all.each do |r|
diff --git a/db/migrate/100_add_changesets_user_id.rb b/db/migrate/100_add_changesets_user_id.rb
index 166605449..8b722aec6 100644
--- a/db/migrate/100_add_changesets_user_id.rb
+++ b/db/migrate/100_add_changesets_user_id.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddChangesetsUserId < ActiveRecord::Migration[4.2]
def self.up
add_column :changesets, :user_id, :integer, :default => nil
diff --git a/db/migrate/101_populate_changesets_user_id.rb b/db/migrate/101_populate_changesets_user_id.rb
index cf7fbae85..7e7d81d4f 100644
--- a/db/migrate/101_populate_changesets_user_id.rb
+++ b/db/migrate/101_populate_changesets_user_id.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class PopulateChangesetsUserId < ActiveRecord::Migration[4.2]
def self.up
committers = Changeset.connection.select_values("SELECT DISTINCT committer FROM #{Changeset.table_name}")
diff --git a/db/migrate/102_add_custom_fields_editable.rb b/db/migrate/102_add_custom_fields_editable.rb
index 6ac3f1dec..28b73cc71 100644
--- a/db/migrate/102_add_custom_fields_editable.rb
+++ b/db/migrate/102_add_custom_fields_editable.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddCustomFieldsEditable < ActiveRecord::Migration[4.2]
def self.up
add_column :custom_fields, :editable, :boolean, :default => true
diff --git a/db/migrate/103_set_custom_fields_editable.rb b/db/migrate/103_set_custom_fields_editable.rb
index d8a38d168..c43846c3a 100644
--- a/db/migrate/103_set_custom_fields_editable.rb
+++ b/db/migrate/103_set_custom_fields_editable.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class SetCustomFieldsEditable < ActiveRecord::Migration[4.2]
def self.up
UserCustomField.update_all("editable = #{CustomField.connection.quoted_false}")
diff --git a/db/migrate/104_add_projects_lft_and_rgt.rb b/db/migrate/104_add_projects_lft_and_rgt.rb
index c3c90beff..77569fc45 100644
--- a/db/migrate/104_add_projects_lft_and_rgt.rb
+++ b/db/migrate/104_add_projects_lft_and_rgt.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddProjectsLftAndRgt < ActiveRecord::Migration[4.2]
def self.up
add_column :projects, :lft, :integer
diff --git a/db/migrate/105_build_projects_tree.rb b/db/migrate/105_build_projects_tree.rb
index 5238ab094..27ca3dfba 100644
--- a/db/migrate/105_build_projects_tree.rb
+++ b/db/migrate/105_build_projects_tree.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class BuildProjectsTree < ActiveRecord::Migration[4.2]
def self.up
Project.rebuild_tree!
diff --git a/db/migrate/106_remove_projects_projects_count.rb b/db/migrate/106_remove_projects_projects_count.rb
index d955bb80b..4f14974da 100644
--- a/db/migrate/106_remove_projects_projects_count.rb
+++ b/db/migrate/106_remove_projects_projects_count.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RemoveProjectsProjectsCount < ActiveRecord::Migration[4.2]
def self.up
remove_column :projects, :projects_count
diff --git a/db/migrate/107_add_open_id_authentication_tables.rb b/db/migrate/107_add_open_id_authentication_tables.rb
index f513b6ed9..3d6d6e9b5 100644
--- a/db/migrate/107_add_open_id_authentication_tables.rb
+++ b/db/migrate/107_add_open_id_authentication_tables.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddOpenIdAuthenticationTables < ActiveRecord::Migration[4.2]
def self.up
create_table :open_id_authentication_associations, :force => true do |t|
diff --git a/db/migrate/108_add_identity_url_to_users.rb b/db/migrate/108_add_identity_url_to_users.rb
index 3ad85693c..009743c0b 100644
--- a/db/migrate/108_add_identity_url_to_users.rb
+++ b/db/migrate/108_add_identity_url_to_users.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIdentityUrlToUsers < ActiveRecord::Migration[4.2]
def self.up
add_column :users, :identity_url, :string
diff --git a/db/migrate/20090214190337_add_watchers_user_id_type_index.rb b/db/migrate/20090214190337_add_watchers_user_id_type_index.rb
index a437905b3..c60a3b2ee 100644
--- a/db/migrate/20090214190337_add_watchers_user_id_type_index.rb
+++ b/db/migrate/20090214190337_add_watchers_user_id_type_index.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddWatchersUserIdTypeIndex < ActiveRecord::Migration[4.2]
def self.up
add_index :watchers, [:user_id, :watchable_type], :name => :watchers_user_id_type
diff --git a/db/migrate/20090312172426_add_queries_sort_criteria.rb b/db/migrate/20090312172426_add_queries_sort_criteria.rb
index 06d1a82e4..c5bc030fb 100644
--- a/db/migrate/20090312172426_add_queries_sort_criteria.rb
+++ b/db/migrate/20090312172426_add_queries_sort_criteria.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddQueriesSortCriteria < ActiveRecord::Migration[4.2]
def self.up
add_column :queries, :sort_criteria, :text
diff --git a/db/migrate/20090312194159_add_projects_trackers_unique_index.rb b/db/migrate/20090312194159_add_projects_trackers_unique_index.rb
index 0957f736e..24fb6c293 100644
--- a/db/migrate/20090312194159_add_projects_trackers_unique_index.rb
+++ b/db/migrate/20090312194159_add_projects_trackers_unique_index.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddProjectsTrackersUniqueIndex < ActiveRecord::Migration[4.2]
def self.up
remove_duplicates
diff --git a/db/migrate/20090318181151_extend_settings_name.rb b/db/migrate/20090318181151_extend_settings_name.rb
index 228f4875c..1091dac7e 100644
--- a/db/migrate/20090318181151_extend_settings_name.rb
+++ b/db/migrate/20090318181151_extend_settings_name.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ExtendSettingsName < ActiveRecord::Migration[4.2]
def self.up
change_column :settings, :name, :string, :limit => 255, :default => '', :null => false
diff --git a/db/migrate/20090323224724_add_type_to_enumerations.rb b/db/migrate/20090323224724_add_type_to_enumerations.rb
index 8832d1321..100468d4b 100644
--- a/db/migrate/20090323224724_add_type_to_enumerations.rb
+++ b/db/migrate/20090323224724_add_type_to_enumerations.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddTypeToEnumerations < ActiveRecord::Migration[4.2]
def self.up
add_column :enumerations, :type, :string
diff --git a/db/migrate/20090401221305_update_enumerations_to_sti.rb b/db/migrate/20090401221305_update_enumerations_to_sti.rb
index 86610ae62..1ba41076e 100644
--- a/db/migrate/20090401221305_update_enumerations_to_sti.rb
+++ b/db/migrate/20090401221305_update_enumerations_to_sti.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class UpdateEnumerationsToSti < ActiveRecord::Migration[4.2]
def self.up
Enumeration.where("opt = 'IPRI'").update_all("type = 'IssuePriority'")
diff --git a/db/migrate/20090401231134_add_active_field_to_enumerations.rb b/db/migrate/20090401231134_add_active_field_to_enumerations.rb
index b867427cc..5b9e432b5 100644
--- a/db/migrate/20090401231134_add_active_field_to_enumerations.rb
+++ b/db/migrate/20090401231134_add_active_field_to_enumerations.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddActiveFieldToEnumerations < ActiveRecord::Migration[4.2]
def self.up
add_column :enumerations, :active, :boolean, :default => true, :null => false
diff --git a/db/migrate/20090403001910_add_project_to_enumerations.rb b/db/migrate/20090403001910_add_project_to_enumerations.rb
index 756328263..a90928949 100644
--- a/db/migrate/20090403001910_add_project_to_enumerations.rb
+++ b/db/migrate/20090403001910_add_project_to_enumerations.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddProjectToEnumerations < ActiveRecord::Migration[4.2]
def self.up
add_column :enumerations, :project_id, :integer, :null => true, :default => nil
diff --git a/db/migrate/20090406161854_add_parent_id_to_enumerations.rb b/db/migrate/20090406161854_add_parent_id_to_enumerations.rb
index 6081be482..546c0b704 100644
--- a/db/migrate/20090406161854_add_parent_id_to_enumerations.rb
+++ b/db/migrate/20090406161854_add_parent_id_to_enumerations.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddParentIdToEnumerations < ActiveRecord::Migration[4.2]
def self.up
add_column :enumerations, :parent_id, :integer, :null => true, :default => nil
diff --git a/db/migrate/20090425161243_add_queries_group_by.rb b/db/migrate/20090425161243_add_queries_group_by.rb
index 83d9a21d8..07e1c5938 100644
--- a/db/migrate/20090425161243_add_queries_group_by.rb
+++ b/db/migrate/20090425161243_add_queries_group_by.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddQueriesGroupBy < ActiveRecord::Migration[4.2]
def self.up
add_column :queries, :group_by, :string
diff --git a/db/migrate/20090503121501_create_member_roles.rb b/db/migrate/20090503121501_create_member_roles.rb
index 9df6c7c60..69ce2e81f 100644
--- a/db/migrate/20090503121501_create_member_roles.rb
+++ b/db/migrate/20090503121501_create_member_roles.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateMemberRoles < ActiveRecord::Migration[4.2]
def self.up
create_table :member_roles do |t|
diff --git a/db/migrate/20090503121505_populate_member_roles.rb b/db/migrate/20090503121505_populate_member_roles.rb
index 194a70c71..e5f246afa 100644
--- a/db/migrate/20090503121505_populate_member_roles.rb
+++ b/db/migrate/20090503121505_populate_member_roles.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class PopulateMemberRoles < ActiveRecord::Migration[4.2]
def self.up
MemberRole.delete_all
diff --git a/db/migrate/20090503121510_drop_members_role_id.rb b/db/migrate/20090503121510_drop_members_role_id.rb
index c740a5def..7b8e3cf9a 100644
--- a/db/migrate/20090503121510_drop_members_role_id.rb
+++ b/db/migrate/20090503121510_drop_members_role_id.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class DropMembersRoleId < ActiveRecord::Migration[4.2]
def self.up
remove_column :members, :role_id
diff --git a/db/migrate/20090614091200_fix_messages_sticky_null.rb b/db/migrate/20090614091200_fix_messages_sticky_null.rb
index 5681b36d0..66ea4bf2c 100644
--- a/db/migrate/20090614091200_fix_messages_sticky_null.rb
+++ b/db/migrate/20090614091200_fix_messages_sticky_null.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class FixMessagesStickyNull < ActiveRecord::Migration[4.2]
def self.up
Message.where('sticky IS NULL').update_all('sticky = 0')
diff --git a/db/migrate/20090704172350_populate_users_type.rb b/db/migrate/20090704172350_populate_users_type.rb
index e82cef41c..8342f9774 100644
--- a/db/migrate/20090704172350_populate_users_type.rb
+++ b/db/migrate/20090704172350_populate_users_type.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class PopulateUsersType < ActiveRecord::Migration[4.2]
def self.up
Principal.where("type IS NULL").update_all("type = 'User'")
diff --git a/db/migrate/20090704172355_create_groups_users.rb b/db/migrate/20090704172355_create_groups_users.rb
index 6fa2ae633..6d676304f 100644
--- a/db/migrate/20090704172355_create_groups_users.rb
+++ b/db/migrate/20090704172355_create_groups_users.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateGroupsUsers < ActiveRecord::Migration[4.2]
def self.up
create_table :groups_users, :id => false do |t|
diff --git a/db/migrate/20090704172358_add_member_roles_inherited_from.rb b/db/migrate/20090704172358_add_member_roles_inherited_from.rb
index f4573455a..45f0e45a4 100644
--- a/db/migrate/20090704172358_add_member_roles_inherited_from.rb
+++ b/db/migrate/20090704172358_add_member_roles_inherited_from.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMemberRolesInheritedFrom < ActiveRecord::Migration[4.2]
def self.up
add_column :member_roles, :inherited_from, :integer
diff --git a/db/migrate/20091010093521_fix_users_custom_values.rb b/db/migrate/20091010093521_fix_users_custom_values.rb
index d2d6026f0..38cabac86 100644
--- a/db/migrate/20091010093521_fix_users_custom_values.rb
+++ b/db/migrate/20091010093521_fix_users_custom_values.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class FixUsersCustomValues < ActiveRecord::Migration[4.2]
def self.up
CustomValue.where("customized_type = 'User'").
diff --git a/db/migrate/20091017212227_add_missing_indexes_to_workflows.rb b/db/migrate/20091017212227_add_missing_indexes_to_workflows.rb
index 08717aafd..bf84c4f03 100644
--- a/db/migrate/20091017212227_add_missing_indexes_to_workflows.rb
+++ b/db/migrate/20091017212227_add_missing_indexes_to_workflows.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToWorkflows < ActiveRecord::Migration[4.2]
def self.up
add_index :workflows, :old_status_id
diff --git a/db/migrate/20091017212457_add_missing_indexes_to_custom_fields_projects.rb b/db/migrate/20091017212457_add_missing_indexes_to_custom_fields_projects.rb
index 1c78c227e..235f1e6ed 100644
--- a/db/migrate/20091017212457_add_missing_indexes_to_custom_fields_projects.rb
+++ b/db/migrate/20091017212457_add_missing_indexes_to_custom_fields_projects.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToCustomFieldsProjects < ActiveRecord::Migration[4.2]
def self.up
add_index :custom_fields_projects, [:custom_field_id, :project_id]
diff --git a/db/migrate/20091017212644_add_missing_indexes_to_messages.rb b/db/migrate/20091017212644_add_missing_indexes_to_messages.rb
index 8fafa3fe0..06897e1c0 100644
--- a/db/migrate/20091017212644_add_missing_indexes_to_messages.rb
+++ b/db/migrate/20091017212644_add_missing_indexes_to_messages.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToMessages < ActiveRecord::Migration[4.2]
def self.up
add_index :messages, :last_reply_id
diff --git a/db/migrate/20091017212938_add_missing_indexes_to_repositories.rb b/db/migrate/20091017212938_add_missing_indexes_to_repositories.rb
index 8c6540d5d..c9ac3f120 100644
--- a/db/migrate/20091017212938_add_missing_indexes_to_repositories.rb
+++ b/db/migrate/20091017212938_add_missing_indexes_to_repositories.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToRepositories < ActiveRecord::Migration[4.2]
def self.up
add_index :repositories, :project_id
diff --git a/db/migrate/20091017213027_add_missing_indexes_to_comments.rb b/db/migrate/20091017213027_add_missing_indexes_to_comments.rb
index 607ed49fa..4bb8c0010 100644
--- a/db/migrate/20091017213027_add_missing_indexes_to_comments.rb
+++ b/db/migrate/20091017213027_add_missing_indexes_to_comments.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToComments < ActiveRecord::Migration[4.2]
def self.up
add_index :comments, [:commented_id, :commented_type]
diff --git a/db/migrate/20091017213113_add_missing_indexes_to_enumerations.rb b/db/migrate/20091017213113_add_missing_indexes_to_enumerations.rb
index 6ecd71acd..e97b993da 100644
--- a/db/migrate/20091017213113_add_missing_indexes_to_enumerations.rb
+++ b/db/migrate/20091017213113_add_missing_indexes_to_enumerations.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToEnumerations < ActiveRecord::Migration[4.2]
def self.up
add_index :enumerations, [:id, :type]
diff --git a/db/migrate/20091017213151_add_missing_indexes_to_wiki_pages.rb b/db/migrate/20091017213151_add_missing_indexes_to_wiki_pages.rb
index 6220710ed..edeca8da7 100644
--- a/db/migrate/20091017213151_add_missing_indexes_to_wiki_pages.rb
+++ b/db/migrate/20091017213151_add_missing_indexes_to_wiki_pages.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToWikiPages < ActiveRecord::Migration[4.2]
def self.up
add_index :wiki_pages, :wiki_id
diff --git a/db/migrate/20091017213228_add_missing_indexes_to_watchers.rb b/db/migrate/20091017213228_add_missing_indexes_to_watchers.rb
index 226af06c2..18e948ec6 100644
--- a/db/migrate/20091017213228_add_missing_indexes_to_watchers.rb
+++ b/db/migrate/20091017213228_add_missing_indexes_to_watchers.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToWatchers < ActiveRecord::Migration[4.2]
def self.up
add_index :watchers, :user_id
diff --git a/db/migrate/20091017213257_add_missing_indexes_to_auth_sources.rb b/db/migrate/20091017213257_add_missing_indexes_to_auth_sources.rb
index 148db14f1..eca45226d 100644
--- a/db/migrate/20091017213257_add_missing_indexes_to_auth_sources.rb
+++ b/db/migrate/20091017213257_add_missing_indexes_to_auth_sources.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToAuthSources < ActiveRecord::Migration[4.2]
def self.up
add_index :auth_sources, [:id, :type]
diff --git a/db/migrate/20091017213332_add_missing_indexes_to_documents.rb b/db/migrate/20091017213332_add_missing_indexes_to_documents.rb
index 8846b7d8b..a4e7e95dc 100644
--- a/db/migrate/20091017213332_add_missing_indexes_to_documents.rb
+++ b/db/migrate/20091017213332_add_missing_indexes_to_documents.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToDocuments < ActiveRecord::Migration[4.2]
def self.up
add_index :documents, :category_id
diff --git a/db/migrate/20091017213444_add_missing_indexes_to_tokens.rb b/db/migrate/20091017213444_add_missing_indexes_to_tokens.rb
index dad7007e4..27ce82a93 100644
--- a/db/migrate/20091017213444_add_missing_indexes_to_tokens.rb
+++ b/db/migrate/20091017213444_add_missing_indexes_to_tokens.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToTokens < ActiveRecord::Migration[4.2]
def self.up
add_index :tokens, :user_id
diff --git a/db/migrate/20091017213536_add_missing_indexes_to_changesets.rb b/db/migrate/20091017213536_add_missing_indexes_to_changesets.rb
index 8cdeef433..a71910841 100644
--- a/db/migrate/20091017213536_add_missing_indexes_to_changesets.rb
+++ b/db/migrate/20091017213536_add_missing_indexes_to_changesets.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToChangesets < ActiveRecord::Migration[4.2]
def self.up
add_index :changesets, :user_id
diff --git a/db/migrate/20091017213642_add_missing_indexes_to_issue_categories.rb b/db/migrate/20091017213642_add_missing_indexes_to_issue_categories.rb
index 63becab40..0a6282aa7 100644
--- a/db/migrate/20091017213642_add_missing_indexes_to_issue_categories.rb
+++ b/db/migrate/20091017213642_add_missing_indexes_to_issue_categories.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToIssueCategories < ActiveRecord::Migration[4.2]
def self.up
add_index :issue_categories, :assigned_to_id
diff --git a/db/migrate/20091017213716_add_missing_indexes_to_member_roles.rb b/db/migrate/20091017213716_add_missing_indexes_to_member_roles.rb
index 421c91f32..fed50d62e 100644
--- a/db/migrate/20091017213716_add_missing_indexes_to_member_roles.rb
+++ b/db/migrate/20091017213716_add_missing_indexes_to_member_roles.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToMemberRoles < ActiveRecord::Migration[4.2]
def self.up
add_index :member_roles, :member_id
diff --git a/db/migrate/20091017213757_add_missing_indexes_to_boards.rb b/db/migrate/20091017213757_add_missing_indexes_to_boards.rb
index 2d11e15ba..5e5a97af5 100644
--- a/db/migrate/20091017213757_add_missing_indexes_to_boards.rb
+++ b/db/migrate/20091017213757_add_missing_indexes_to_boards.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToBoards < ActiveRecord::Migration[4.2]
def self.up
add_index :boards, :last_message_id
diff --git a/db/migrate/20091017213835_add_missing_indexes_to_user_preferences.rb b/db/migrate/20091017213835_add_missing_indexes_to_user_preferences.rb
index 4012ed682..83a259e59 100644
--- a/db/migrate/20091017213835_add_missing_indexes_to_user_preferences.rb
+++ b/db/migrate/20091017213835_add_missing_indexes_to_user_preferences.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToUserPreferences < ActiveRecord::Migration[4.2]
def self.up
add_index :user_preferences, :user_id
diff --git a/db/migrate/20091017213910_add_missing_indexes_to_issues.rb b/db/migrate/20091017213910_add_missing_indexes_to_issues.rb
index 122898113..a337ebca8 100644
--- a/db/migrate/20091017213910_add_missing_indexes_to_issues.rb
+++ b/db/migrate/20091017213910_add_missing_indexes_to_issues.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToIssues < ActiveRecord::Migration[4.2]
def self.up
add_index :issues, :status_id
diff --git a/db/migrate/20091017214015_add_missing_indexes_to_members.rb b/db/migrate/20091017214015_add_missing_indexes_to_members.rb
index 97d3a6a26..693258080 100644
--- a/db/migrate/20091017214015_add_missing_indexes_to_members.rb
+++ b/db/migrate/20091017214015_add_missing_indexes_to_members.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToMembers < ActiveRecord::Migration[4.2]
def self.up
add_index :members, :user_id
diff --git a/db/migrate/20091017214107_add_missing_indexes_to_custom_fields.rb b/db/migrate/20091017214107_add_missing_indexes_to_custom_fields.rb
index c09214878..7dbb0e781 100644
--- a/db/migrate/20091017214107_add_missing_indexes_to_custom_fields.rb
+++ b/db/migrate/20091017214107_add_missing_indexes_to_custom_fields.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToCustomFields < ActiveRecord::Migration[4.2]
def self.up
add_index :custom_fields, [:id, :type]
diff --git a/db/migrate/20091017214136_add_missing_indexes_to_queries.rb b/db/migrate/20091017214136_add_missing_indexes_to_queries.rb
index d263e9e30..9a8d6ad96 100644
--- a/db/migrate/20091017214136_add_missing_indexes_to_queries.rb
+++ b/db/migrate/20091017214136_add_missing_indexes_to_queries.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToQueries < ActiveRecord::Migration[4.2]
def self.up
add_index :queries, :project_id
diff --git a/db/migrate/20091017214236_add_missing_indexes_to_time_entries.rb b/db/migrate/20091017214236_add_missing_indexes_to_time_entries.rb
index 0d20abd70..cbe4166d5 100644
--- a/db/migrate/20091017214236_add_missing_indexes_to_time_entries.rb
+++ b/db/migrate/20091017214236_add_missing_indexes_to_time_entries.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToTimeEntries < ActiveRecord::Migration[4.2]
def self.up
add_index :time_entries, :activity_id
diff --git a/db/migrate/20091017214308_add_missing_indexes_to_news.rb b/db/migrate/20091017214308_add_missing_indexes_to_news.rb
index b01945238..e6194f4e6 100644
--- a/db/migrate/20091017214308_add_missing_indexes_to_news.rb
+++ b/db/migrate/20091017214308_add_missing_indexes_to_news.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToNews < ActiveRecord::Migration[4.2]
def self.up
add_index :news, :author_id
diff --git a/db/migrate/20091017214336_add_missing_indexes_to_users.rb b/db/migrate/20091017214336_add_missing_indexes_to_users.rb
index 7e69e4e98..7eedd10fa 100644
--- a/db/migrate/20091017214336_add_missing_indexes_to_users.rb
+++ b/db/migrate/20091017214336_add_missing_indexes_to_users.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToUsers < ActiveRecord::Migration[4.2]
def self.up
add_index :users, [:id, :type]
diff --git a/db/migrate/20091017214406_add_missing_indexes_to_attachments.rb b/db/migrate/20091017214406_add_missing_indexes_to_attachments.rb
index 45a21daf9..7fee1ea2e 100644
--- a/db/migrate/20091017214406_add_missing_indexes_to_attachments.rb
+++ b/db/migrate/20091017214406_add_missing_indexes_to_attachments.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToAttachments < ActiveRecord::Migration[4.2]
def self.up
add_index :attachments, [:container_id, :container_type]
diff --git a/db/migrate/20091017214440_add_missing_indexes_to_wiki_contents.rb b/db/migrate/20091017214440_add_missing_indexes_to_wiki_contents.rb
index dae71c7e9..47888d4ad 100644
--- a/db/migrate/20091017214440_add_missing_indexes_to_wiki_contents.rb
+++ b/db/migrate/20091017214440_add_missing_indexes_to_wiki_contents.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToWikiContents < ActiveRecord::Migration[4.2]
def self.up
add_index :wiki_contents, :author_id
diff --git a/db/migrate/20091017214519_add_missing_indexes_to_custom_values.rb b/db/migrate/20091017214519_add_missing_indexes_to_custom_values.rb
index f73465c32..8b83c640d 100644
--- a/db/migrate/20091017214519_add_missing_indexes_to_custom_values.rb
+++ b/db/migrate/20091017214519_add_missing_indexes_to_custom_values.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToCustomValues < ActiveRecord::Migration[4.2]
def self.up
add_index :custom_values, :custom_field_id
diff --git a/db/migrate/20091017214611_add_missing_indexes_to_journals.rb b/db/migrate/20091017214611_add_missing_indexes_to_journals.rb
index 4deed673c..26e37bf03 100644
--- a/db/migrate/20091017214611_add_missing_indexes_to_journals.rb
+++ b/db/migrate/20091017214611_add_missing_indexes_to_journals.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToJournals < ActiveRecord::Migration[4.2]
def self.up
add_index :journals, :user_id
diff --git a/db/migrate/20091017214644_add_missing_indexes_to_issue_relations.rb b/db/migrate/20091017214644_add_missing_indexes_to_issue_relations.rb
index 8392b800f..29de45f62 100644
--- a/db/migrate/20091017214644_add_missing_indexes_to_issue_relations.rb
+++ b/db/migrate/20091017214644_add_missing_indexes_to_issue_relations.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToIssueRelations < ActiveRecord::Migration[4.2]
def self.up
add_index :issue_relations, :issue_from_id
diff --git a/db/migrate/20091017214720_add_missing_indexes_to_wiki_redirects.rb b/db/migrate/20091017214720_add_missing_indexes_to_wiki_redirects.rb
index f47d6b3b2..a0ce07f8b 100644
--- a/db/migrate/20091017214720_add_missing_indexes_to_wiki_redirects.rb
+++ b/db/migrate/20091017214720_add_missing_indexes_to_wiki_redirects.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToWikiRedirects < ActiveRecord::Migration[4.2]
def self.up
add_index :wiki_redirects, :wiki_id
diff --git a/db/migrate/20091017214750_add_missing_indexes_to_custom_fields_trackers.rb b/db/migrate/20091017214750_add_missing_indexes_to_custom_fields_trackers.rb
index 9c0159c7f..23b6e5e4f 100644
--- a/db/migrate/20091017214750_add_missing_indexes_to_custom_fields_trackers.rb
+++ b/db/migrate/20091017214750_add_missing_indexes_to_custom_fields_trackers.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddMissingIndexesToCustomFieldsTrackers < ActiveRecord::Migration[4.2]
def self.up
add_index :custom_fields_trackers, [:custom_field_id, :tracker_id]
diff --git a/db/migrate/20091025163651_add_activity_indexes.rb b/db/migrate/20091025163651_add_activity_indexes.rb
index 4915bf04e..0bbf91bfd 100644
--- a/db/migrate/20091025163651_add_activity_indexes.rb
+++ b/db/migrate/20091025163651_add_activity_indexes.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddActivityIndexes < ActiveRecord::Migration[4.2]
def self.up
add_index :journals, :created_on
diff --git a/db/migrate/20091108092559_add_versions_status.rb b/db/migrate/20091108092559_add_versions_status.rb
index f67d6e235..36db4d823 100644
--- a/db/migrate/20091108092559_add_versions_status.rb
+++ b/db/migrate/20091108092559_add_versions_status.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddVersionsStatus < ActiveRecord::Migration[4.2]
def self.up
add_column :versions, :status, :string, :default => 'open'
diff --git a/db/migrate/20091114105931_add_view_issues_permission.rb b/db/migrate/20091114105931_add_view_issues_permission.rb
index a7cf16d75..a0a9bcbf4 100644
--- a/db/migrate/20091114105931_add_view_issues_permission.rb
+++ b/db/migrate/20091114105931_add_view_issues_permission.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddViewIssuesPermission < ActiveRecord::Migration[4.2]
def self.up
Role.reset_column_information
diff --git a/db/migrate/20091123212029_add_default_done_ratio_to_issue_status.rb b/db/migrate/20091123212029_add_default_done_ratio_to_issue_status.rb
index 47850e0ce..2b9df4f17 100644
--- a/db/migrate/20091123212029_add_default_done_ratio_to_issue_status.rb
+++ b/db/migrate/20091123212029_add_default_done_ratio_to_issue_status.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddDefaultDoneRatioToIssueStatus < ActiveRecord::Migration[4.2]
def self.up
add_column :issue_statuses, :default_done_ratio, :integer
diff --git a/db/migrate/20091205124427_add_versions_sharing.rb b/db/migrate/20091205124427_add_versions_sharing.rb
index 30fb317b9..815f9fcda 100644
--- a/db/migrate/20091205124427_add_versions_sharing.rb
+++ b/db/migrate/20091205124427_add_versions_sharing.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddVersionsSharing < ActiveRecord::Migration[4.2]
def self.up
add_column :versions, :sharing, :string, :default => 'none', :null => false
diff --git a/db/migrate/20091220183509_add_lft_and_rgt_indexes_to_projects.rb b/db/migrate/20091220183509_add_lft_and_rgt_indexes_to_projects.rb
index 536c1d116..8ec510851 100644
--- a/db/migrate/20091220183509_add_lft_and_rgt_indexes_to_projects.rb
+++ b/db/migrate/20091220183509_add_lft_and_rgt_indexes_to_projects.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddLftAndRgtIndexesToProjects < ActiveRecord::Migration[4.2]
def self.up
add_index :projects, :lft
diff --git a/db/migrate/20091220183727_add_index_to_settings_name.rb b/db/migrate/20091220183727_add_index_to_settings_name.rb
index c5284ea0b..51a33b179 100644
--- a/db/migrate/20091220183727_add_index_to_settings_name.rb
+++ b/db/migrate/20091220183727_add_index_to_settings_name.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIndexToSettingsName < ActiveRecord::Migration[4.2]
def self.up
add_index :settings, :name
diff --git a/db/migrate/20091220184736_add_indexes_to_issue_status.rb b/db/migrate/20091220184736_add_indexes_to_issue_status.rb
index fa007a49e..9b943518b 100644
--- a/db/migrate/20091220184736_add_indexes_to_issue_status.rb
+++ b/db/migrate/20091220184736_add_indexes_to_issue_status.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIndexesToIssueStatus < ActiveRecord::Migration[4.2]
def self.up
add_index :issue_statuses, :position
diff --git a/db/migrate/20091225164732_remove_enumerations_opt.rb b/db/migrate/20091225164732_remove_enumerations_opt.rb
index 750947f70..ee39d5b50 100644
--- a/db/migrate/20091225164732_remove_enumerations_opt.rb
+++ b/db/migrate/20091225164732_remove_enumerations_opt.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RemoveEnumerationsOpt < ActiveRecord::Migration[4.2]
def self.up
remove_column :enumerations, :opt
diff --git a/db/migrate/20091227112908_change_wiki_contents_text_limit.rb b/db/migrate/20091227112908_change_wiki_contents_text_limit.rb
index ced7980fd..d60a9a846 100644
--- a/db/migrate/20091227112908_change_wiki_contents_text_limit.rb
+++ b/db/migrate/20091227112908_change_wiki_contents_text_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeWikiContentsTextLimit < ActiveRecord::Migration[4.2]
def self.up
# Migrates MySQL databases only
diff --git a/db/migrate/20100129193402_change_users_mail_notification_to_string.rb b/db/migrate/20100129193402_change_users_mail_notification_to_string.rb
index 6498f0f66..a31666e39 100644
--- a/db/migrate/20100129193402_change_users_mail_notification_to_string.rb
+++ b/db/migrate/20100129193402_change_users_mail_notification_to_string.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeUsersMailNotificationToString < ActiveRecord::Migration[4.2]
def self.up
rename_column :users, :mail_notification, :mail_notification_bool
diff --git a/db/migrate/20100129193813_update_mail_notification_values.rb b/db/migrate/20100129193813_update_mail_notification_values.rb
index 3d1d27c5d..00d3a0478 100644
--- a/db/migrate/20100129193813_update_mail_notification_values.rb
+++ b/db/migrate/20100129193813_update_mail_notification_values.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
# Patch the data from a boolean change.
class UpdateMailNotificationValues < ActiveRecord::Migration[4.2]
def self.up
diff --git a/db/migrate/20100221100219_add_index_on_changesets_scmid.rb b/db/migrate/20100221100219_add_index_on_changesets_scmid.rb
index 8629af442..cef4be583 100644
--- a/db/migrate/20100221100219_add_index_on_changesets_scmid.rb
+++ b/db/migrate/20100221100219_add_index_on_changesets_scmid.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIndexOnChangesetsScmid < ActiveRecord::Migration[4.2]
def self.up
add_index :changesets, [:repository_id, :scmid], :name => :changesets_repos_scmid
diff --git a/db/migrate/20100313132032_add_issues_nested_sets_columns.rb b/db/migrate/20100313132032_add_issues_nested_sets_columns.rb
index 64960f992..a7e5ceeb1 100644
--- a/db/migrate/20100313132032_add_issues_nested_sets_columns.rb
+++ b/db/migrate/20100313132032_add_issues_nested_sets_columns.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIssuesNestedSetsColumns < ActiveRecord::Migration[4.2]
def self.up
add_column :issues, :parent_id, :integer, :default => nil
diff --git a/db/migrate/20100313171051_add_index_on_issues_nested_set.rb b/db/migrate/20100313171051_add_index_on_issues_nested_set.rb
index 1bc0d208c..b624c2249 100644
--- a/db/migrate/20100313171051_add_index_on_issues_nested_set.rb
+++ b/db/migrate/20100313171051_add_index_on_issues_nested_set.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIndexOnIssuesNestedSet < ActiveRecord::Migration[4.2]
def self.up
add_index :issues, [:root_id, :lft, :rgt]
diff --git a/db/migrate/20100705164950_change_changes_path_length_limit.rb b/db/migrate/20100705164950_change_changes_path_length_limit.rb
index f88f15cdf..f40ca0852 100644
--- a/db/migrate/20100705164950_change_changes_path_length_limit.rb
+++ b/db/migrate/20100705164950_change_changes_path_length_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeChangesPathLengthLimit < ActiveRecord::Migration[4.2]
def self.up
# these are two steps to please MySQL 5 on Win32
diff --git a/db/migrate/20100819172912_enable_calendar_and_gantt_modules_where_appropriate.rb b/db/migrate/20100819172912_enable_calendar_and_gantt_modules_where_appropriate.rb
index c68fb4864..2e178e549 100644
--- a/db/migrate/20100819172912_enable_calendar_and_gantt_modules_where_appropriate.rb
+++ b/db/migrate/20100819172912_enable_calendar_and_gantt_modules_where_appropriate.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class EnableCalendarAndGanttModulesWhereAppropriate < ActiveRecord::Migration[4.2]
def self.up
EnabledModule.where(:name => 'issue_tracking').each do |e|
diff --git a/db/migrate/20101104182107_add_unique_index_on_members.rb b/db/migrate/20101104182107_add_unique_index_on_members.rb
index 0a0800086..a29fc75b8 100644
--- a/db/migrate/20101104182107_add_unique_index_on_members.rb
+++ b/db/migrate/20101104182107_add_unique_index_on_members.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddUniqueIndexOnMembers < ActiveRecord::Migration[4.2]
def self.up
# Clean and reassign MemberRole rows if needed
diff --git a/db/migrate/20101107130441_add_custom_fields_visible.rb b/db/migrate/20101107130441_add_custom_fields_visible.rb
index a8e27dbb6..d3edb145f 100644
--- a/db/migrate/20101107130441_add_custom_fields_visible.rb
+++ b/db/migrate/20101107130441_add_custom_fields_visible.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddCustomFieldsVisible < ActiveRecord::Migration[4.2]
def self.up
add_column :custom_fields, :visible, :boolean, :null => false, :default => true
diff --git a/db/migrate/20101114115114_change_projects_name_limit.rb b/db/migrate/20101114115114_change_projects_name_limit.rb
index aace7b5ad..e731a005d 100644
--- a/db/migrate/20101114115114_change_projects_name_limit.rb
+++ b/db/migrate/20101114115114_change_projects_name_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeProjectsNameLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :projects, :name, :string, :limit => nil, :default => '', :null => false
diff --git a/db/migrate/20101114115359_change_projects_identifier_limit.rb b/db/migrate/20101114115359_change_projects_identifier_limit.rb
index 6e900cf7d..1e2bb6e1c 100644
--- a/db/migrate/20101114115359_change_projects_identifier_limit.rb
+++ b/db/migrate/20101114115359_change_projects_identifier_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeProjectsIdentifierLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :projects, :identifier, :string, :limit => nil
diff --git a/db/migrate/20110220160626_add_workflows_assignee_and_author.rb b/db/migrate/20110220160626_add_workflows_assignee_and_author.rb
index 6d902578f..5b04bd950 100644
--- a/db/migrate/20110220160626_add_workflows_assignee_and_author.rb
+++ b/db/migrate/20110220160626_add_workflows_assignee_and_author.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddWorkflowsAssigneeAndAuthor < ActiveRecord::Migration[4.2]
def self.up
add_column :workflows, :assignee, :boolean, :null => false, :default => false
diff --git a/db/migrate/20110223180944_add_users_salt.rb b/db/migrate/20110223180944_add_users_salt.rb
index f8f9f465e..5fda33479 100644
--- a/db/migrate/20110223180944_add_users_salt.rb
+++ b/db/migrate/20110223180944_add_users_salt.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddUsersSalt < ActiveRecord::Migration[4.2]
def self.up
add_column :users, :salt, :string, :limit => 64
diff --git a/db/migrate/20110223180953_salt_user_passwords.rb b/db/migrate/20110223180953_salt_user_passwords.rb
index f323f96f6..007691b90 100644
--- a/db/migrate/20110223180953_salt_user_passwords.rb
+++ b/db/migrate/20110223180953_salt_user_passwords.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class SaltUserPasswords < ActiveRecord::Migration[4.2]
def self.up
diff --git a/db/migrate/20110224000000_add_repositories_path_encoding.rb b/db/migrate/20110224000000_add_repositories_path_encoding.rb
index 47fd347fc..23c16d26d 100644
--- a/db/migrate/20110224000000_add_repositories_path_encoding.rb
+++ b/db/migrate/20110224000000_add_repositories_path_encoding.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRepositoriesPathEncoding < ActiveRecord::Migration[4.2]
def self.up
add_column :repositories, :path_encoding, :string, :limit => 64, :default => nil
diff --git a/db/migrate/20110226120112_change_repositories_password_limit.rb b/db/migrate/20110226120112_change_repositories_password_limit.rb
index 4969f2552..5eb41f588 100644
--- a/db/migrate/20110226120112_change_repositories_password_limit.rb
+++ b/db/migrate/20110226120112_change_repositories_password_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeRepositoriesPasswordLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :repositories, :password, :string, :limit => nil, :default => ''
diff --git a/db/migrate/20110226120132_change_auth_sources_account_password_limit.rb b/db/migrate/20110226120132_change_auth_sources_account_password_limit.rb
index 6498f36b1..fac820b17 100644
--- a/db/migrate/20110226120132_change_auth_sources_account_password_limit.rb
+++ b/db/migrate/20110226120132_change_auth_sources_account_password_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeAuthSourcesAccountPasswordLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :auth_sources, :account_password, :string, :limit => nil, :default => ''
diff --git a/db/migrate/20110227125750_change_journal_details_values_to_text.rb b/db/migrate/20110227125750_change_journal_details_values_to_text.rb
index 59c31845f..36dd7b5d1 100644
--- a/db/migrate/20110227125750_change_journal_details_values_to_text.rb
+++ b/db/migrate/20110227125750_change_journal_details_values_to_text.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeJournalDetailsValuesToText < ActiveRecord::Migration[4.2]
def self.up
change_column :journal_details, :old_value, :text
diff --git a/db/migrate/20110228000000_add_repositories_log_encoding.rb b/db/migrate/20110228000000_add_repositories_log_encoding.rb
index 4e9b6ff78..7201f74bf 100644
--- a/db/migrate/20110228000000_add_repositories_log_encoding.rb
+++ b/db/migrate/20110228000000_add_repositories_log_encoding.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRepositoriesLogEncoding < ActiveRecord::Migration[4.2]
def self.up
add_column :repositories, :log_encoding, :string, :limit => 64, :default => nil
diff --git a/db/migrate/20110228000100_copy_repositories_log_encoding.rb b/db/migrate/20110228000100_copy_repositories_log_encoding.rb
index 8de0c77db..df9c3dca5 100644
--- a/db/migrate/20110228000100_copy_repositories_log_encoding.rb
+++ b/db/migrate/20110228000100_copy_repositories_log_encoding.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CopyRepositoriesLogEncoding < ActiveRecord::Migration[4.2]
def self.up
encoding = Setting.commit_logs_encoding.to_s.strip
diff --git a/db/migrate/20110401192910_add_index_to_users_type.rb b/db/migrate/20110401192910_add_index_to_users_type.rb
index 7137a1229..63fc49652 100644
--- a/db/migrate/20110401192910_add_index_to_users_type.rb
+++ b/db/migrate/20110401192910_add_index_to_users_type.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIndexToUsersType < ActiveRecord::Migration[4.2]
def self.up
add_index :users, :type
diff --git a/db/migrate/20110408103312_add_roles_issues_visibility.rb b/db/migrate/20110408103312_add_roles_issues_visibility.rb
index 64dc6307f..4f07e25ed 100644
--- a/db/migrate/20110408103312_add_roles_issues_visibility.rb
+++ b/db/migrate/20110408103312_add_roles_issues_visibility.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRolesIssuesVisibility < ActiveRecord::Migration[4.2]
def self.up
add_column :roles, :issues_visibility, :string, :limit => 30, :default => 'default', :null => false
diff --git a/db/migrate/20110412065600_add_issues_is_private.rb b/db/migrate/20110412065600_add_issues_is_private.rb
index 4ab16eb7e..0066225b0 100644
--- a/db/migrate/20110412065600_add_issues_is_private.rb
+++ b/db/migrate/20110412065600_add_issues_is_private.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIssuesIsPrivate < ActiveRecord::Migration[4.2]
def self.up
add_column :issues, :is_private, :boolean, :default => false, :null => false
diff --git a/db/migrate/20110511000000_add_repositories_extra_info.rb b/db/migrate/20110511000000_add_repositories_extra_info.rb
index 10059e68e..60ab175bf 100644
--- a/db/migrate/20110511000000_add_repositories_extra_info.rb
+++ b/db/migrate/20110511000000_add_repositories_extra_info.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRepositoriesExtraInfo < ActiveRecord::Migration[4.2]
def self.up
add_column :repositories, :extra_info, :text
diff --git a/db/migrate/20110902000000_create_changeset_parents.rb b/db/migrate/20110902000000_create_changeset_parents.rb
index 929d8a113..1f367e606 100644
--- a/db/migrate/20110902000000_create_changeset_parents.rb
+++ b/db/migrate/20110902000000_create_changeset_parents.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateChangesetParents < ActiveRecord::Migration[4.2]
def self.up
create_table :changeset_parents, :id => false do |t|
diff --git a/db/migrate/20111201201315_add_unique_index_to_issue_relations.rb b/db/migrate/20111201201315_add_unique_index_to_issue_relations.rb
index 56b0be36d..63e6af87b 100644
--- a/db/migrate/20111201201315_add_unique_index_to_issue_relations.rb
+++ b/db/migrate/20111201201315_add_unique_index_to_issue_relations.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddUniqueIndexToIssueRelations < ActiveRecord::Migration[4.2]
def self.up
diff --git a/db/migrate/20120115143024_add_repositories_identifier.rb b/db/migrate/20120115143024_add_repositories_identifier.rb
index 263efbb6a..28af22120 100644
--- a/db/migrate/20120115143024_add_repositories_identifier.rb
+++ b/db/migrate/20120115143024_add_repositories_identifier.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRepositoriesIdentifier < ActiveRecord::Migration[4.2]
def self.up
add_column :repositories, :identifier, :string
diff --git a/db/migrate/20120115143100_add_repositories_is_default.rb b/db/migrate/20120115143100_add_repositories_is_default.rb
index 7aad9b91d..81c242b5e 100644
--- a/db/migrate/20120115143100_add_repositories_is_default.rb
+++ b/db/migrate/20120115143100_add_repositories_is_default.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRepositoriesIsDefault < ActiveRecord::Migration[4.2]
def self.up
add_column :repositories, :is_default, :boolean, :default => false
diff --git a/db/migrate/20120115143126_set_default_repositories.rb b/db/migrate/20120115143126_set_default_repositories.rb
index 425ab8ed3..e99b30725 100644
--- a/db/migrate/20120115143126_set_default_repositories.rb
+++ b/db/migrate/20120115143126_set_default_repositories.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class SetDefaultRepositories < ActiveRecord::Migration[4.2]
def self.up
Repository.update_all(["is_default = ?", false])
diff --git a/db/migrate/20120127174243_add_custom_fields_multiple.rb b/db/migrate/20120127174243_add_custom_fields_multiple.rb
index afbe11f0b..608fa6259 100644
--- a/db/migrate/20120127174243_add_custom_fields_multiple.rb
+++ b/db/migrate/20120127174243_add_custom_fields_multiple.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddCustomFieldsMultiple < ActiveRecord::Migration[4.2]
def self.up
add_column :custom_fields, :multiple, :boolean, :default => false
diff --git a/db/migrate/20120205111326_change_users_login_limit.rb b/db/migrate/20120205111326_change_users_login_limit.rb
index 55495d447..6f3c08b1f 100644
--- a/db/migrate/20120205111326_change_users_login_limit.rb
+++ b/db/migrate/20120205111326_change_users_login_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeUsersLoginLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :users, :login, :string, :limit => nil, :default => '', :null => false
diff --git a/db/migrate/20120223110929_change_attachments_container_defaults.rb b/db/migrate/20120223110929_change_attachments_container_defaults.rb
index a913571dc..3c48276a1 100644
--- a/db/migrate/20120223110929_change_attachments_container_defaults.rb
+++ b/db/migrate/20120223110929_change_attachments_container_defaults.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeAttachmentsContainerDefaults < ActiveRecord::Migration[4.2]
def self.up
# Need to drop the index otherwise the following error occurs in Rails 3.1.3:
diff --git a/db/migrate/20120301153455_add_auth_sources_filter.rb b/db/migrate/20120301153455_add_auth_sources_filter.rb
index 2a21d241f..8538f4da2 100644
--- a/db/migrate/20120301153455_add_auth_sources_filter.rb
+++ b/db/migrate/20120301153455_add_auth_sources_filter.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddAuthSourcesFilter < ActiveRecord::Migration[4.2]
def self.up
add_column :auth_sources, :filter, :string
diff --git a/db/migrate/20120422150750_change_repositories_to_full_sti.rb b/db/migrate/20120422150750_change_repositories_to_full_sti.rb
index 98333acb1..101ecbc12 100644
--- a/db/migrate/20120422150750_change_repositories_to_full_sti.rb
+++ b/db/migrate/20120422150750_change_repositories_to_full_sti.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeRepositoriesToFullSti < ActiveRecord::Migration[4.2]
def up
Repository.connection.
diff --git a/db/migrate/20120705074331_add_trackers_fields_bits.rb b/db/migrate/20120705074331_add_trackers_fields_bits.rb
index c43d51f0d..90e2ca1fe 100644
--- a/db/migrate/20120705074331_add_trackers_fields_bits.rb
+++ b/db/migrate/20120705074331_add_trackers_fields_bits.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddTrackersFieldsBits < ActiveRecord::Migration[4.2]
def self.up
add_column :trackers, :fields_bits, :integer, :default => 0
diff --git a/db/migrate/20120707064544_add_auth_sources_timeout.rb b/db/migrate/20120707064544_add_auth_sources_timeout.rb
index 09a9528d9..4491bc35b 100644
--- a/db/migrate/20120707064544_add_auth_sources_timeout.rb
+++ b/db/migrate/20120707064544_add_auth_sources_timeout.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddAuthSourcesTimeout < ActiveRecord::Migration[4.2]
def up
add_column :auth_sources, :timeout, :integer
diff --git a/db/migrate/20120714122000_add_workflows_type.rb b/db/migrate/20120714122000_add_workflows_type.rb
index c8591a453..6e2ffb6a4 100644
--- a/db/migrate/20120714122000_add_workflows_type.rb
+++ b/db/migrate/20120714122000_add_workflows_type.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddWorkflowsType < ActiveRecord::Migration[4.2]
def up
add_column :workflows, :type, :string, :limit => 30
diff --git a/db/migrate/20120714122100_update_workflows_to_sti.rb b/db/migrate/20120714122100_update_workflows_to_sti.rb
index c0adf9006..a5da4ba7a 100644
--- a/db/migrate/20120714122100_update_workflows_to_sti.rb
+++ b/db/migrate/20120714122100_update_workflows_to_sti.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class UpdateWorkflowsToSti < ActiveRecord::Migration[4.2]
def up
WorkflowRule.update_all "type = 'WorkflowTransition'"
diff --git a/db/migrate/20120714122200_add_workflows_rule_fields.rb b/db/migrate/20120714122200_add_workflows_rule_fields.rb
index d751d48eb..aff919bf6 100644
--- a/db/migrate/20120714122200_add_workflows_rule_fields.rb
+++ b/db/migrate/20120714122200_add_workflows_rule_fields.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddWorkflowsRuleFields < ActiveRecord::Migration[4.2]
def up
add_column :workflows, :field_name, :string, :limit => 30
diff --git a/db/migrate/20120731164049_add_boards_parent_id.rb b/db/migrate/20120731164049_add_boards_parent_id.rb
index 168f0d68e..f67468426 100644
--- a/db/migrate/20120731164049_add_boards_parent_id.rb
+++ b/db/migrate/20120731164049_add_boards_parent_id.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddBoardsParentId < ActiveRecord::Migration[4.2]
def up
add_column :boards, :parent_id, :integer
diff --git a/db/migrate/20120930112914_add_journals_private_notes.rb b/db/migrate/20120930112914_add_journals_private_notes.rb
index 0a25fd59e..265d2516c 100644
--- a/db/migrate/20120930112914_add_journals_private_notes.rb
+++ b/db/migrate/20120930112914_add_journals_private_notes.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddJournalsPrivateNotes < ActiveRecord::Migration[4.2]
def up
add_column :journals, :private_notes, :boolean, :default => false, :null => false
diff --git a/db/migrate/20121026002032_add_enumerations_position_name.rb b/db/migrate/20121026002032_add_enumerations_position_name.rb
index e25c02420..eb5423fee 100644
--- a/db/migrate/20121026002032_add_enumerations_position_name.rb
+++ b/db/migrate/20121026002032_add_enumerations_position_name.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddEnumerationsPositionName < ActiveRecord::Migration[4.2]
def up
add_column :enumerations, :position_name, :string, :limit => 30
diff --git a/db/migrate/20121026003537_populate_enumerations_position_name.rb b/db/migrate/20121026003537_populate_enumerations_position_name.rb
index aa38a2b03..d4f1807ca 100644
--- a/db/migrate/20121026003537_populate_enumerations_position_name.rb
+++ b/db/migrate/20121026003537_populate_enumerations_position_name.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class PopulateEnumerationsPositionName < ActiveRecord::Migration[4.2]
def up
IssuePriority.compute_position_names
diff --git a/db/migrate/20121209123234_add_queries_type.rb b/db/migrate/20121209123234_add_queries_type.rb
index 3f9fee2f3..fdfaac410 100644
--- a/db/migrate/20121209123234_add_queries_type.rb
+++ b/db/migrate/20121209123234_add_queries_type.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddQueriesType < ActiveRecord::Migration[4.2]
def up
add_column :queries, :type, :string
diff --git a/db/migrate/20121209123358_update_queries_to_sti.rb b/db/migrate/20121209123358_update_queries_to_sti.rb
index 2d066ffb8..088b8ca84 100644
--- a/db/migrate/20121209123358_update_queries_to_sti.rb
+++ b/db/migrate/20121209123358_update_queries_to_sti.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class UpdateQueriesToSti < ActiveRecord::Migration[4.2]
def up
::Query.update_all :type => 'IssueQuery'
diff --git a/db/migrate/20121213084931_add_attachments_disk_directory.rb b/db/migrate/20121213084931_add_attachments_disk_directory.rb
index f5df486e7..dc3458028 100644
--- a/db/migrate/20121213084931_add_attachments_disk_directory.rb
+++ b/db/migrate/20121213084931_add_attachments_disk_directory.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddAttachmentsDiskDirectory < ActiveRecord::Migration[4.2]
def up
add_column :attachments, :disk_directory, :string
diff --git a/db/migrate/20130110122628_split_documents_permissions.rb b/db/migrate/20130110122628_split_documents_permissions.rb
index 5b5a67b14..f52b8e4cd 100644
--- a/db/migrate/20130110122628_split_documents_permissions.rb
+++ b/db/migrate/20130110122628_split_documents_permissions.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class SplitDocumentsPermissions < ActiveRecord::Migration[4.2]
def up
# :manage_documents permission split into 3 permissions:
diff --git a/db/migrate/20130201184705_add_unique_index_on_tokens_value.rb b/db/migrate/20130201184705_add_unique_index_on_tokens_value.rb
index 6394965f6..4413e4e3b 100644
--- a/db/migrate/20130201184705_add_unique_index_on_tokens_value.rb
+++ b/db/migrate/20130201184705_add_unique_index_on_tokens_value.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddUniqueIndexOnTokensValue < ActiveRecord::Migration[4.2]
def up
say_with_time "Adding unique index on tokens, this may take some time..." do
diff --git a/db/migrate/20130202090625_add_projects_inherit_members.rb b/db/migrate/20130202090625_add_projects_inherit_members.rb
index 067653231..629ad4565 100644
--- a/db/migrate/20130202090625_add_projects_inherit_members.rb
+++ b/db/migrate/20130202090625_add_projects_inherit_members.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddProjectsInheritMembers < ActiveRecord::Migration[4.2]
def up
add_column :projects, :inherit_members, :boolean, :default => false, :null => false
diff --git a/db/migrate/20130207175206_add_unique_index_on_custom_fields_trackers.rb b/db/migrate/20130207175206_add_unique_index_on_custom_fields_trackers.rb
index a23af10ee..3353803ab 100644
--- a/db/migrate/20130207175206_add_unique_index_on_custom_fields_trackers.rb
+++ b/db/migrate/20130207175206_add_unique_index_on_custom_fields_trackers.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddUniqueIndexOnCustomFieldsTrackers < ActiveRecord::Migration[4.2]
def up
table_name = "#{CustomField.table_name_prefix}custom_fields_trackers#{CustomField.table_name_suffix}"
diff --git a/db/migrate/20130207181455_add_unique_index_on_custom_fields_projects.rb b/db/migrate/20130207181455_add_unique_index_on_custom_fields_projects.rb
index 548aa9769..2198aed77 100644
--- a/db/migrate/20130207181455_add_unique_index_on_custom_fields_projects.rb
+++ b/db/migrate/20130207181455_add_unique_index_on_custom_fields_projects.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddUniqueIndexOnCustomFieldsProjects < ActiveRecord::Migration[4.2]
def up
table_name = "#{CustomField.table_name_prefix}custom_fields_projects#{CustomField.table_name_suffix}"
diff --git a/db/migrate/20130215073721_change_users_lastname_length_to_255.rb b/db/migrate/20130215073721_change_users_lastname_length_to_255.rb
index 6fed8435d..02939aadb 100644
--- a/db/migrate/20130215073721_change_users_lastname_length_to_255.rb
+++ b/db/migrate/20130215073721_change_users_lastname_length_to_255.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeUsersLastnameLengthTo255 < ActiveRecord::Migration[4.2]
def self.up
change_column :users, :lastname, :string, :limit => 255, :default => '', :null => false
diff --git a/db/migrate/20130215111127_add_issues_closed_on.rb b/db/migrate/20130215111127_add_issues_closed_on.rb
index 69d9cef96..f719b0d21 100644
--- a/db/migrate/20130215111127_add_issues_closed_on.rb
+++ b/db/migrate/20130215111127_add_issues_closed_on.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIssuesClosedOn < ActiveRecord::Migration[4.2]
def up
add_column :issues, :closed_on, :datetime, :default => nil
diff --git a/db/migrate/20130215111141_populate_issues_closed_on.rb b/db/migrate/20130215111141_populate_issues_closed_on.rb
index 3068a9815..009573837 100644
--- a/db/migrate/20130215111141_populate_issues_closed_on.rb
+++ b/db/migrate/20130215111141_populate_issues_closed_on.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class PopulateIssuesClosedOn < ActiveRecord::Migration[4.2]
def up
closed_status_ids = IssueStatus.where(:is_closed => true).pluck(:id)
diff --git a/db/migrate/20130217094251_remove_issues_default_fk_values.rb b/db/migrate/20130217094251_remove_issues_default_fk_values.rb
index 44370612a..e2cea2160 100644
--- a/db/migrate/20130217094251_remove_issues_default_fk_values.rb
+++ b/db/migrate/20130217094251_remove_issues_default_fk_values.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RemoveIssuesDefaultFkValues < ActiveRecord::Migration[4.2]
def up
change_column_default :issues, :tracker_id, nil
diff --git a/db/migrate/20130602092539_create_queries_roles.rb b/db/migrate/20130602092539_create_queries_roles.rb
index 83a7dd672..f37c26bbf 100644
--- a/db/migrate/20130602092539_create_queries_roles.rb
+++ b/db/migrate/20130602092539_create_queries_roles.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateQueriesRoles < ActiveRecord::Migration[4.2]
def self.up
create_table :queries_roles, :id => false do |t|
diff --git a/db/migrate/20130710182539_add_queries_visibility.rb b/db/migrate/20130710182539_add_queries_visibility.rb
index 3c3c2685f..36f298d11 100644
--- a/db/migrate/20130710182539_add_queries_visibility.rb
+++ b/db/migrate/20130710182539_add_queries_visibility.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddQueriesVisibility < ActiveRecord::Migration[4.2]
def up
add_column :queries, :visibility, :integer, :default => 0
diff --git a/db/migrate/20130713104233_create_custom_fields_roles.rb b/db/migrate/20130713104233_create_custom_fields_roles.rb
index 472b34cb9..c34a123c1 100644
--- a/db/migrate/20130713104233_create_custom_fields_roles.rb
+++ b/db/migrate/20130713104233_create_custom_fields_roles.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateCustomFieldsRoles < ActiveRecord::Migration[4.2]
def self.up
create_table :custom_fields_roles, :id => false do |t|
diff --git a/db/migrate/20130713111657_add_queries_options.rb b/db/migrate/20130713111657_add_queries_options.rb
index 1950b509f..9bd5834aa 100644
--- a/db/migrate/20130713111657_add_queries_options.rb
+++ b/db/migrate/20130713111657_add_queries_options.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddQueriesOptions < ActiveRecord::Migration[4.2]
def up
add_column :queries, :options, :text
diff --git a/db/migrate/20130729070143_add_users_must_change_passwd.rb b/db/migrate/20130729070143_add_users_must_change_passwd.rb
index 75f236a09..3a5860fe0 100644
--- a/db/migrate/20130729070143_add_users_must_change_passwd.rb
+++ b/db/migrate/20130729070143_add_users_must_change_passwd.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddUsersMustChangePasswd < ActiveRecord::Migration[4.2]
def up
add_column :users, :must_change_passwd, :boolean, :default => false, :null => false
diff --git a/db/migrate/20130911193200_remove_eols_from_attachments_filename.rb b/db/migrate/20130911193200_remove_eols_from_attachments_filename.rb
index 8be7a27b4..3eafd3399 100644
--- a/db/migrate/20130911193200_remove_eols_from_attachments_filename.rb
+++ b/db/migrate/20130911193200_remove_eols_from_attachments_filename.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RemoveEolsFromAttachmentsFilename < ActiveRecord::Migration[4.2]
def up
Attachment.where("filename like ? or filename like ?", "%\r%", "%\n%").each do |attachment|
diff --git a/db/migrate/20131004113137_support_for_multiple_commit_keywords.rb b/db/migrate/20131004113137_support_for_multiple_commit_keywords.rb
index 4185429fb..d8beb4aea 100644
--- a/db/migrate/20131004113137_support_for_multiple_commit_keywords.rb
+++ b/db/migrate/20131004113137_support_for_multiple_commit_keywords.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class SupportForMultipleCommitKeywords < ActiveRecord::Migration[4.2]
def up
# Replaces commit_fix_keywords, commit_fix_status_id, commit_fix_done_ratio settings
diff --git a/db/migrate/20131005100610_add_repositories_created_on.rb b/db/migrate/20131005100610_add_repositories_created_on.rb
index 03cdb4b81..ccc664b5b 100644
--- a/db/migrate/20131005100610_add_repositories_created_on.rb
+++ b/db/migrate/20131005100610_add_repositories_created_on.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRepositoriesCreatedOn < ActiveRecord::Migration[4.2]
def up
add_column :repositories, :created_on, :timestamp
diff --git a/db/migrate/20131124175346_add_custom_fields_format_store.rb b/db/migrate/20131124175346_add_custom_fields_format_store.rb
index e15c10604..fc9cb4d66 100644
--- a/db/migrate/20131124175346_add_custom_fields_format_store.rb
+++ b/db/migrate/20131124175346_add_custom_fields_format_store.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddCustomFieldsFormatStore < ActiveRecord::Migration[4.2]
def up
add_column :custom_fields, :format_store, :text
diff --git a/db/migrate/20131210180802_add_custom_fields_description.rb b/db/migrate/20131210180802_add_custom_fields_description.rb
index 3a9791920..736b2cf17 100644
--- a/db/migrate/20131210180802_add_custom_fields_description.rb
+++ b/db/migrate/20131210180802_add_custom_fields_description.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddCustomFieldsDescription < ActiveRecord::Migration[4.2]
def up
add_column :custom_fields, :description, :text
diff --git a/db/migrate/20131214094309_remove_custom_fields_min_max_length_default_values.rb b/db/migrate/20131214094309_remove_custom_fields_min_max_length_default_values.rb
index 31a6342c6..7a37d3c8d 100644
--- a/db/migrate/20131214094309_remove_custom_fields_min_max_length_default_values.rb
+++ b/db/migrate/20131214094309_remove_custom_fields_min_max_length_default_values.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RemoveCustomFieldsMinMaxLengthDefaultValues < ActiveRecord::Migration[4.2]
def up
change_column :custom_fields, :min_length, :int, :default => nil, :null => true
diff --git a/db/migrate/20131215104612_store_relation_type_in_journal_details.rb b/db/migrate/20131215104612_store_relation_type_in_journal_details.rb
index ac1fc6e8c..c1990e67d 100644
--- a/db/migrate/20131215104612_store_relation_type_in_journal_details.rb
+++ b/db/migrate/20131215104612_store_relation_type_in_journal_details.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class StoreRelationTypeInJournalDetails < ActiveRecord::Migration[4.2]
MAPPING = {
diff --git a/db/migrate/20131218183023_delete_orphan_time_entries_custom_values.rb b/db/migrate/20131218183023_delete_orphan_time_entries_custom_values.rb
index 34de224c8..e9d902d2f 100644
--- a/db/migrate/20131218183023_delete_orphan_time_entries_custom_values.rb
+++ b/db/migrate/20131218183023_delete_orphan_time_entries_custom_values.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class DeleteOrphanTimeEntriesCustomValues < ActiveRecord::Migration[4.2]
def up
CustomValue.where("customized_type = ? AND NOT EXISTS (SELECT 1 FROM #{TimeEntry.table_name} t WHERE t.id = customized_id)", "TimeEntry").delete_all
diff --git a/db/migrate/20140228130325_change_changesets_comments_limit.rb b/db/migrate/20140228130325_change_changesets_comments_limit.rb
index 72b0801a6..2cff73120 100644
--- a/db/migrate/20140228130325_change_changesets_comments_limit.rb
+++ b/db/migrate/20140228130325_change_changesets_comments_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeChangesetsCommentsLimit < ActiveRecord::Migration[4.2]
def up
if ActiveRecord::Base.connection.adapter_name =~ /mysql/i
diff --git a/db/migrate/20140903143914_add_password_changed_at_to_user.rb b/db/migrate/20140903143914_add_password_changed_at_to_user.rb
index 4d08381e7..19a2ea0a5 100644
--- a/db/migrate/20140903143914_add_password_changed_at_to_user.rb
+++ b/db/migrate/20140903143914_add_password_changed_at_to_user.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddPasswordChangedAtToUser < ActiveRecord::Migration[4.2]
def change
add_column :users, :passwd_changed_on, :datetime
diff --git a/db/migrate/20140920094058_insert_builtin_groups.rb b/db/migrate/20140920094058_insert_builtin_groups.rb
index 5eff7adc1..f58d77fba 100644
--- a/db/migrate/20140920094058_insert_builtin_groups.rb
+++ b/db/migrate/20140920094058_insert_builtin_groups.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class InsertBuiltinGroups < ActiveRecord::Migration[4.2]
def up
Group.reset_column_information
diff --git a/db/migrate/20141029181752_add_trackers_default_status_id.rb b/db/migrate/20141029181752_add_trackers_default_status_id.rb
index 36bd6edd3..74716ea63 100644
--- a/db/migrate/20141029181752_add_trackers_default_status_id.rb
+++ b/db/migrate/20141029181752_add_trackers_default_status_id.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddTrackersDefaultStatusId < ActiveRecord::Migration[4.2]
def up
add_column :trackers, :default_status_id, :integer
diff --git a/db/migrate/20141029181824_remove_issue_statuses_is_default.rb b/db/migrate/20141029181824_remove_issue_statuses_is_default.rb
index f74cac4e6..09808e31c 100644
--- a/db/migrate/20141029181824_remove_issue_statuses_is_default.rb
+++ b/db/migrate/20141029181824_remove_issue_statuses_is_default.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RemoveIssueStatusesIsDefault < ActiveRecord::Migration[4.2]
def up
remove_column :issue_statuses, :is_default
diff --git a/db/migrate/20141109112308_add_roles_users_visibility.rb b/db/migrate/20141109112308_add_roles_users_visibility.rb
index fef64790b..ef9dabb2b 100644
--- a/db/migrate/20141109112308_add_roles_users_visibility.rb
+++ b/db/migrate/20141109112308_add_roles_users_visibility.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRolesUsersVisibility < ActiveRecord::Migration[4.2]
def self.up
add_column :roles, :users_visibility, :string, :limit => 30, :default => 'all', :null => false
diff --git a/db/migrate/20141122124142_add_wiki_redirects_redirects_to_wiki_id.rb b/db/migrate/20141122124142_add_wiki_redirects_redirects_to_wiki_id.rb
index 9134e8e7d..fee149968 100644
--- a/db/migrate/20141122124142_add_wiki_redirects_redirects_to_wiki_id.rb
+++ b/db/migrate/20141122124142_add_wiki_redirects_redirects_to_wiki_id.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddWikiRedirectsRedirectsToWikiId < ActiveRecord::Migration[4.2]
def self.up
add_column :wiki_redirects, :redirects_to_wiki_id, :integer
diff --git a/db/migrate/20150113194759_create_email_addresses.rb b/db/migrate/20150113194759_create_email_addresses.rb
index d9088a51e..001beda22 100644
--- a/db/migrate/20150113194759_create_email_addresses.rb
+++ b/db/migrate/20150113194759_create_email_addresses.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateEmailAddresses < ActiveRecord::Migration[4.2]
def change
create_table :email_addresses do |t|
diff --git a/db/migrate/20150113211532_populate_email_addresses.rb b/db/migrate/20150113211532_populate_email_addresses.rb
index 0f115bf6e..7e4a5509d 100644
--- a/db/migrate/20150113211532_populate_email_addresses.rb
+++ b/db/migrate/20150113211532_populate_email_addresses.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class PopulateEmailAddresses < ActiveRecord::Migration[4.2]
def self.up
t = EmailAddress.connection.quoted_true
diff --git a/db/migrate/20150113213922_remove_users_mail.rb b/db/migrate/20150113213922_remove_users_mail.rb
index 4f6f3bb28..2942c4136 100644
--- a/db/migrate/20150113213922_remove_users_mail.rb
+++ b/db/migrate/20150113213922_remove_users_mail.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RemoveUsersMail < ActiveRecord::Migration[4.2]
def self.up
remove_column :users, :mail
diff --git a/db/migrate/20150113213955_add_email_addresses_user_id_index.rb b/db/migrate/20150113213955_add_email_addresses_user_id_index.rb
index 351696d9c..b57b362fa 100644
--- a/db/migrate/20150113213955_add_email_addresses_user_id_index.rb
+++ b/db/migrate/20150113213955_add_email_addresses_user_id_index.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddEmailAddressesUserIdIndex < ActiveRecord::Migration[4.2]
def up
add_index :email_addresses, :user_id
diff --git a/db/migrate/20150208105930_replace_move_issues_permission.rb b/db/migrate/20150208105930_replace_move_issues_permission.rb
index 631ac73f4..690bba23c 100644
--- a/db/migrate/20150208105930_replace_move_issues_permission.rb
+++ b/db/migrate/20150208105930_replace_move_issues_permission.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ReplaceMoveIssuesPermission < ActiveRecord::Migration[4.2]
def self.up
Role.all.each do |role|
diff --git a/db/migrate/20150510083747_change_documents_title_limit.rb b/db/migrate/20150510083747_change_documents_title_limit.rb
index 669c53e57..ebb2767c7 100644
--- a/db/migrate/20150510083747_change_documents_title_limit.rb
+++ b/db/migrate/20150510083747_change_documents_title_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeDocumentsTitleLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :documents, :title, :string, :limit => nil, :default => '', :null => false
diff --git a/db/migrate/20150525103953_clear_estimated_hours_on_parent_issues.rb b/db/migrate/20150525103953_clear_estimated_hours_on_parent_issues.rb
index 4d8ed05e1..4dfc38d2f 100644
--- a/db/migrate/20150525103953_clear_estimated_hours_on_parent_issues.rb
+++ b/db/migrate/20150525103953_clear_estimated_hours_on_parent_issues.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ClearEstimatedHoursOnParentIssues < ActiveRecord::Migration[4.2]
def self.up
# Clears estimated hours on parent issues
diff --git a/db/migrate/20150526183158_add_roles_time_entries_visibility.rb b/db/migrate/20150526183158_add_roles_time_entries_visibility.rb
index 340c169d6..968adc6eb 100644
--- a/db/migrate/20150526183158_add_roles_time_entries_visibility.rb
+++ b/db/migrate/20150526183158_add_roles_time_entries_visibility.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRolesTimeEntriesVisibility < ActiveRecord::Migration[4.2]
def self.up
add_column :roles, :time_entries_visibility, :string, :limit => 30, :default => 'all', :null => false
diff --git a/db/migrate/20150528084820_add_roles_all_roles_managed.rb b/db/migrate/20150528084820_add_roles_all_roles_managed.rb
index 85da8fddb..08c8ddce3 100644
--- a/db/migrate/20150528084820_add_roles_all_roles_managed.rb
+++ b/db/migrate/20150528084820_add_roles_all_roles_managed.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRolesAllRolesManaged < ActiveRecord::Migration[4.2]
def change
add_column :roles, :all_roles_managed, :boolean, :default => true, :null => false
diff --git a/db/migrate/20150528092912_create_roles_managed_roles.rb b/db/migrate/20150528092912_create_roles_managed_roles.rb
index 66cce874f..707fca675 100644
--- a/db/migrate/20150528092912_create_roles_managed_roles.rb
+++ b/db/migrate/20150528092912_create_roles_managed_roles.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateRolesManagedRoles < ActiveRecord::Migration[4.2]
def change
create_table :roles_managed_roles, :id => false do |t|
diff --git a/db/migrate/20150528093249_add_unique_index_on_roles_managed_roles.rb b/db/migrate/20150528093249_add_unique_index_on_roles_managed_roles.rb
index 542ba1c1f..c20873629 100644
--- a/db/migrate/20150528093249_add_unique_index_on_roles_managed_roles.rb
+++ b/db/migrate/20150528093249_add_unique_index_on_roles_managed_roles.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddUniqueIndexOnRolesManagedRoles < ActiveRecord::Migration[4.2]
def change
add_index :roles_managed_roles, [:role_id, :managed_role_id], :unique => true
diff --git a/db/migrate/20150725112753_insert_allowed_statuses_for_new_issues.rb b/db/migrate/20150725112753_insert_allowed_statuses_for_new_issues.rb
index 6869a52ff..f86d54f47 100644
--- a/db/migrate/20150725112753_insert_allowed_statuses_for_new_issues.rb
+++ b/db/migrate/20150725112753_insert_allowed_statuses_for_new_issues.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class InsertAllowedStatusesForNewIssues < ActiveRecord::Migration[4.2]
def self.up
# Adds the default status for all trackers and roles
diff --git a/db/migrate/20150730122707_create_imports.rb b/db/migrate/20150730122707_create_imports.rb
index 924d81abc..0a4109edb 100644
--- a/db/migrate/20150730122707_create_imports.rb
+++ b/db/migrate/20150730122707_create_imports.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateImports < ActiveRecord::Migration[4.2]
def change
create_table :imports do |t|
diff --git a/db/migrate/20150730122735_create_import_items.rb b/db/migrate/20150730122735_create_import_items.rb
index 637d62dd6..2639805dd 100644
--- a/db/migrate/20150730122735_create_import_items.rb
+++ b/db/migrate/20150730122735_create_import_items.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateImportItems < ActiveRecord::Migration[4.2]
def change
create_table :import_items do |t|
diff --git a/db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb b/db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb
index 72c4efa35..f529a99fc 100644
--- a/db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb
+++ b/db/migrate/20150921204850_change_time_entries_comments_limit_to_1024.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeTimeEntriesCommentsLimitTo1024 < ActiveRecord::Migration[4.2]
def self.up
change_column :time_entries, :comments, :string, :limit => 1024
diff --git a/db/migrate/20150921210243_change_wiki_contents_comments_limit_to_1024.rb b/db/migrate/20150921210243_change_wiki_contents_comments_limit_to_1024.rb
index ec889e70d..9f85a7c61 100644
--- a/db/migrate/20150921210243_change_wiki_contents_comments_limit_to_1024.rb
+++ b/db/migrate/20150921210243_change_wiki_contents_comments_limit_to_1024.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeWikiContentsCommentsLimitTo1024 < ActiveRecord::Migration[4.2]
def self.up
change_column :wiki_content_versions, :comments, :string, :limit => 1024, :default => ''
diff --git a/db/migrate/20151020182334_change_attachments_filesize_limit_to_8.rb b/db/migrate/20151020182334_change_attachments_filesize_limit_to_8.rb
index 4d3cd2e17..508e3ad39 100644
--- a/db/migrate/20151020182334_change_attachments_filesize_limit_to_8.rb
+++ b/db/migrate/20151020182334_change_attachments_filesize_limit_to_8.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeAttachmentsFilesizeLimitTo8 < ActiveRecord::Migration[4.2]
def self.up
change_column :attachments, :filesize, :integer, :limit => 8, :default => 0, :null => false
diff --git a/db/migrate/20151020182731_fix_comma_in_user_format_setting_value.rb b/db/migrate/20151020182731_fix_comma_in_user_format_setting_value.rb
index 1b7485d2d..9c185b0cd 100644
--- a/db/migrate/20151020182731_fix_comma_in_user_format_setting_value.rb
+++ b/db/migrate/20151020182731_fix_comma_in_user_format_setting_value.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class FixCommaInUserFormatSettingValue < ActiveRecord::Migration[4.2]
def self.up
Setting.
diff --git a/db/migrate/20151021184614_change_issue_categories_name_limit_to_60.rb b/db/migrate/20151021184614_change_issue_categories_name_limit_to_60.rb
index 44fe0af08..7d0fa8a17 100644
--- a/db/migrate/20151021184614_change_issue_categories_name_limit_to_60.rb
+++ b/db/migrate/20151021184614_change_issue_categories_name_limit_to_60.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeIssueCategoriesNameLimitTo60 < ActiveRecord::Migration[4.2]
def self.up
change_column :issue_categories, :name, :string, :limit => 60, :default => "", :null => false
diff --git a/db/migrate/20151021185456_change_auth_sources_filter_to_text.rb b/db/migrate/20151021185456_change_auth_sources_filter_to_text.rb
index 8498b682c..71575631e 100644
--- a/db/migrate/20151021185456_change_auth_sources_filter_to_text.rb
+++ b/db/migrate/20151021185456_change_auth_sources_filter_to_text.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeAuthSourcesFilterToText < ActiveRecord::Migration[4.2]
def self.up
change_column :auth_sources, :filter, :text
diff --git a/db/migrate/20151021190616_change_user_preferences_hide_mail_default_to_true.rb b/db/migrate/20151021190616_change_user_preferences_hide_mail_default_to_true.rb
index 9446edfb5..bee79924c 100644
--- a/db/migrate/20151021190616_change_user_preferences_hide_mail_default_to_true.rb
+++ b/db/migrate/20151021190616_change_user_preferences_hide_mail_default_to_true.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeUserPreferencesHideMailDefaultToTrue < ActiveRecord::Migration[4.2]
def self.up
change_column :user_preferences, :hide_mail, :boolean, :default => true
diff --git a/db/migrate/20151024082034_add_tokens_updated_on.rb b/db/migrate/20151024082034_add_tokens_updated_on.rb
index b8c488684..7b94a3a95 100644
--- a/db/migrate/20151024082034_add_tokens_updated_on.rb
+++ b/db/migrate/20151024082034_add_tokens_updated_on.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddTokensUpdatedOn < ActiveRecord::Migration[4.2]
def self.up
add_column :tokens, :updated_on, :timestamp
diff --git a/db/migrate/20151025072118_create_custom_field_enumerations.rb b/db/migrate/20151025072118_create_custom_field_enumerations.rb
index b652cdd03..c1b2eaec4 100644
--- a/db/migrate/20151025072118_create_custom_field_enumerations.rb
+++ b/db/migrate/20151025072118_create_custom_field_enumerations.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class CreateCustomFieldEnumerations < ActiveRecord::Migration[4.2]
def change
create_table :custom_field_enumerations do |t|
diff --git a/db/migrate/20151031095005_add_projects_default_version_id.rb b/db/migrate/20151031095005_add_projects_default_version_id.rb
index 5a54715a7..e62c54e89 100644
--- a/db/migrate/20151031095005_add_projects_default_version_id.rb
+++ b/db/migrate/20151031095005_add_projects_default_version_id.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddProjectsDefaultVersionId < ActiveRecord::Migration[4.2]
def self.up
# Don't try to add the column if redmine_default_version plugin was used
diff --git a/db/migrate/20160404080304_force_password_reset_during_setup.rb b/db/migrate/20160404080304_force_password_reset_during_setup.rb
index 058f18622..00d3a65a5 100644
--- a/db/migrate/20160404080304_force_password_reset_during_setup.rb
+++ b/db/migrate/20160404080304_force_password_reset_during_setup.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ForcePasswordResetDuringSetup < ActiveRecord::Migration[4.2]
def up
User.where(login: "admin", last_login_on: nil).update_all(must_change_passwd: true)
diff --git a/db/migrate/20160416072926_remove_position_defaults.rb b/db/migrate/20160416072926_remove_position_defaults.rb
index 80e894e30..9ba7b3c8e 100644
--- a/db/migrate/20160416072926_remove_position_defaults.rb
+++ b/db/migrate/20160416072926_remove_position_defaults.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RemovePositionDefaults < ActiveRecord::Migration[4.2]
def up
[Board, CustomField, Enumeration, IssueStatus, Role, Tracker].each do |klass|
diff --git a/db/migrate/20160529063352_add_roles_settings.rb b/db/migrate/20160529063352_add_roles_settings.rb
index 0fcfa5034..84f2bf37d 100644
--- a/db/migrate/20160529063352_add_roles_settings.rb
+++ b/db/migrate/20160529063352_add_roles_settings.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddRolesSettings < ActiveRecord::Migration[4.2]
def change
add_column :roles, :settings, :text
diff --git a/db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb b/db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb
index b9c66114c..60c62a6f8 100644
--- a/db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb
+++ b/db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddTrackerIdIndexToWorkflows < ActiveRecord::Migration[4.2]
def self.up
add_index :workflows, :tracker_id
diff --git a/db/migrate/20161002133421_add_index_on_member_roles_inherited_from.rb b/db/migrate/20161002133421_add_index_on_member_roles_inherited_from.rb
index 0dfdbb834..f806a31fd 100644
--- a/db/migrate/20161002133421_add_index_on_member_roles_inherited_from.rb
+++ b/db/migrate/20161002133421_add_index_on_member_roles_inherited_from.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIndexOnMemberRolesInheritedFrom < ActiveRecord::Migration[4.2]
def change
add_index :member_roles, :inherited_from
diff --git a/db/migrate/20161010081301_change_issues_description_limit.rb b/db/migrate/20161010081301_change_issues_description_limit.rb
index 7559dfaf5..93fcc53ff 100644
--- a/db/migrate/20161010081301_change_issues_description_limit.rb
+++ b/db/migrate/20161010081301_change_issues_description_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeIssuesDescriptionLimit < ActiveRecord::Migration[4.2]
def up
if ActiveRecord::Base.connection.adapter_name =~ /mysql/i
diff --git a/db/migrate/20161010081528_change_journal_details_value_limit.rb b/db/migrate/20161010081528_change_journal_details_value_limit.rb
index 7f48e885b..d83fbacd6 100644
--- a/db/migrate/20161010081528_change_journal_details_value_limit.rb
+++ b/db/migrate/20161010081528_change_journal_details_value_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeJournalDetailsValueLimit < ActiveRecord::Migration[4.2]
def up
if ActiveRecord::Base.connection.adapter_name =~ /mysql/i
diff --git a/db/migrate/20161010081600_change_journals_notes_limit.rb b/db/migrate/20161010081600_change_journals_notes_limit.rb
index f98bd85c1..34197bc47 100644
--- a/db/migrate/20161010081600_change_journals_notes_limit.rb
+++ b/db/migrate/20161010081600_change_journals_notes_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeJournalsNotesLimit < ActiveRecord::Migration[4.2]
def up
if ActiveRecord::Base.connection.adapter_name =~ /mysql/i
diff --git a/db/migrate/20161126094932_add_index_on_changesets_issues_issue_id.rb b/db/migrate/20161126094932_add_index_on_changesets_issues_issue_id.rb
index 4078039b1..54db52f9b 100644
--- a/db/migrate/20161126094932_add_index_on_changesets_issues_issue_id.rb
+++ b/db/migrate/20161126094932_add_index_on_changesets_issues_issue_id.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIndexOnChangesetsIssuesIssueId < ActiveRecord::Migration[4.2]
def change
add_index :changesets_issues, :issue_id
diff --git a/db/migrate/20161220091118_add_index_on_issues_parent_id.rb b/db/migrate/20161220091118_add_index_on_issues_parent_id.rb
index 07d13eb0e..07592a9d8 100644
--- a/db/migrate/20161220091118_add_index_on_issues_parent_id.rb
+++ b/db/migrate/20161220091118_add_index_on_issues_parent_id.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIndexOnIssuesParentId < ActiveRecord::Migration[4.2]
def change
add_index :issues, :parent_id
diff --git a/db/migrate/20170207050700_add_index_on_disk_filename_to_attachments.rb b/db/migrate/20170207050700_add_index_on_disk_filename_to_attachments.rb
index e350e328d..3f2eaee8e 100644
--- a/db/migrate/20170207050700_add_index_on_disk_filename_to_attachments.rb
+++ b/db/migrate/20170207050700_add_index_on_disk_filename_to_attachments.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddIndexOnDiskFilenameToAttachments < ActiveRecord::Migration[4.2]
def change
add_index :attachments, :disk_filename
diff --git a/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb b/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb
index 36cc76015..620deb251 100644
--- a/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb
+++ b/db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeAttachmentsDigestLimitTo64 < ActiveRecord::Migration[4.2]
def up
change_column :attachments, :digest, :string, limit: 64
diff --git a/db/migrate/20170309214320_add_project_default_assigned_to_id.rb b/db/migrate/20170309214320_add_project_default_assigned_to_id.rb
index 0919594de..40d3282f4 100644
--- a/db/migrate/20170309214320_add_project_default_assigned_to_id.rb
+++ b/db/migrate/20170309214320_add_project_default_assigned_to_id.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddProjectDefaultAssignedToId < ActiveRecord::Migration[4.2]
def up
add_column :projects, :default_assigned_to_id, :integer, :default => nil
diff --git a/db/migrate/20170320051650_change_repositories_extra_info_limit.rb b/db/migrate/20170320051650_change_repositories_extra_info_limit.rb
index adfebaf31..104111a39 100644
--- a/db/migrate/20170320051650_change_repositories_extra_info_limit.rb
+++ b/db/migrate/20170320051650_change_repositories_extra_info_limit.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeRepositoriesExtraInfoLimit < ActiveRecord::Migration[4.2]
def up
if ActiveRecord::Base.connection.adapter_name =~ /mysql/i
diff --git a/db/migrate/20170418090031_add_view_news_to_all_existing_roles.rb b/db/migrate/20170418090031_add_view_news_to_all_existing_roles.rb
index 1722eb316..7c9896c98 100644
--- a/db/migrate/20170418090031_add_view_news_to_all_existing_roles.rb
+++ b/db/migrate/20170418090031_add_view_news_to_all_existing_roles.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddViewNewsToAllExistingRoles < ActiveRecord::Migration[4.2]
def up
Role.all.each { |role| role.add_permission! :view_news }
diff --git a/db/migrate/20170419144536_add_view_messages_to_all_existing_roles.rb b/db/migrate/20170419144536_add_view_messages_to_all_existing_roles.rb
index 62d7023ea..7a3ba67e3 100644
--- a/db/migrate/20170419144536_add_view_messages_to_all_existing_roles.rb
+++ b/db/migrate/20170419144536_add_view_messages_to_all_existing_roles.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddViewMessagesToAllExistingRoles < ActiveRecord::Migration[4.2]
def up
Role.all.each { |role| role.add_permission! :view_messages }
diff --git a/db/migrate/20170723112801_rename_comments_to_content.rb b/db/migrate/20170723112801_rename_comments_to_content.rb
index c522c3fad..6c014286d 100644
--- a/db/migrate/20170723112801_rename_comments_to_content.rb
+++ b/db/migrate/20170723112801_rename_comments_to_content.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RenameCommentsToContent < ActiveRecord::Migration[5.1]
def change
rename_column :comments, :comments, :content
diff --git a/db/migrate/20180501132547_add_author_id_to_time_entries.rb b/db/migrate/20180501132547_add_author_id_to_time_entries.rb
index 186421976..3d79bf210 100644
--- a/db/migrate/20180501132547_add_author_id_to_time_entries.rb
+++ b/db/migrate/20180501132547_add_author_id_to_time_entries.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddAuthorIdToTimeEntries < ActiveRecord::Migration[5.1]
def up
add_column :time_entries, :author_id, :integer, :default => nil, :after => :project_id
diff --git a/db/migrate/20180913072918_add_verify_peer_to_auth_sources.rb b/db/migrate/20180913072918_add_verify_peer_to_auth_sources.rb
index ac9ade809..b36564c10 100644
--- a/db/migrate/20180913072918_add_verify_peer_to_auth_sources.rb
+++ b/db/migrate/20180913072918_add_verify_peer_to_auth_sources.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class AddVerifyPeerToAuthSources < ActiveRecord::Migration[5.2]
def change
change_table :auth_sources do |t|
diff --git a/db/migrate/20180923082945_change_sqlite_booleans_to_0_and_1.rb b/db/migrate/20180923082945_change_sqlite_booleans_to_0_and_1.rb
index 4e202f59c..fb789ae10 100644
--- a/db/migrate/20180923082945_change_sqlite_booleans_to_0_and_1.rb
+++ b/db/migrate/20180923082945_change_sqlite_booleans_to_0_and_1.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeSqliteBooleansTo0And1 < ActiveRecord::Migration[5.2]
COLUMNS = {
diff --git a/db/migrate/20180923091603_change_sqlite_booleans_default.rb b/db/migrate/20180923091603_change_sqlite_booleans_default.rb
index 05af84e23..563bf3237 100644
--- a/db/migrate/20180923091603_change_sqlite_booleans_default.rb
+++ b/db/migrate/20180923091603_change_sqlite_booleans_default.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class ChangeSqliteBooleansDefault < ActiveRecord::Migration[5.2]
DEFAULTS = {
"auth_sources" => {
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
diff --git a/lib/generators/redmine_plugin/redmine_plugin_generator.rb b/lib/generators/redmine_plugin/redmine_plugin_generator.rb
index 7a5d81dd2..ce2e2aa42 100644
--- a/lib/generators/redmine_plugin/redmine_plugin_generator.rb
+++ b/lib/generators/redmine_plugin/redmine_plugin_generator.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RedminePluginGenerator < Rails::Generators::NamedBase
source_root File.expand_path("../templates", __FILE__)
diff --git a/lib/generators/redmine_plugin/templates/routes.rb b/lib/generators/redmine_plugin/templates/routes.rb
index eb4cf1c74..1803173d0 100644
--- a/lib/generators/redmine_plugin/templates/routes.rb
+++ b/lib/generators/redmine_plugin/templates/routes.rb
@@ -1,4 +1,2 @@
-# frozen_string_literal: false
-
# Plugin's routes
# See: http://guides.rubyonrails.org/routing.html
diff --git a/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb b/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb
index f228f1759..16a820ebf 100644
--- a/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb
+++ b/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RedminePluginControllerGenerator < Rails::Generators::NamedBase
source_root File.expand_path("../templates", __FILE__)
argument :controller, :type => :string
diff --git a/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb b/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb
index 7e96d49c5..f26f8779c 100644
--- a/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb
+++ b/lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class RedminePluginModelGenerator < Rails::Generators::NamedBase
source_root File.expand_path("../templates", __FILE__)
diff --git a/lib/plugins/gravatar/Rakefile b/lib/plugins/gravatar/Rakefile
index a501a1c25..e67e5e7f9 100644
--- a/lib/plugins/gravatar/Rakefile
+++ b/lib/plugins/gravatar/Rakefile
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
require 'spec/rake/spectask'
require 'rake/rdoctask'
diff --git a/lib/plugins/gravatar/spec/gravatar_spec.rb b/lib/plugins/gravatar/spec/gravatar_spec.rb
index 365d42dbf..6f78d79ad 100644
--- a/lib/plugins/gravatar/spec/gravatar_spec.rb
+++ b/lib/plugins/gravatar/spec/gravatar_spec.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
require 'rubygems'
require 'erb' # to get "h"
require 'active_support' # to get "returning"
diff --git a/lib/plugins/open_id_authentication/Rakefile b/lib/plugins/open_id_authentication/Rakefile
index 3af3cd1f6..31074b856 100644
--- a/lib/plugins/open_id_authentication/Rakefile
+++ b/lib/plugins/open_id_authentication/Rakefile
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
diff --git a/lib/plugins/open_id_authentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb b/lib/plugins/open_id_authentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb
index 7c2ea2547..6f78afc71 100644
--- a/lib/plugins/open_id_authentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb
+++ b/lib/plugins/open_id_authentication/generators/open_id_authentication_tables/open_id_authentication_tables_generator.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class OpenIdAuthenticationTablesGenerator < Rails::Generator::NamedBase
def initialize(runtime_args, runtime_options = {})
super
diff --git a/lib/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/upgrade_open_id_authentication_tables_generator.rb b/lib/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/upgrade_open_id_authentication_tables_generator.rb
index e23257938..02fddd7fd 100644
--- a/lib/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/upgrade_open_id_authentication_tables_generator.rb
+++ b/lib/plugins/open_id_authentication/generators/upgrade_open_id_authentication_tables/upgrade_open_id_authentication_tables_generator.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
class UpgradeOpenIdAuthenticationTablesGenerator < Rails::Generator::NamedBase
def initialize(runtime_args, runtime_options = {})
super
diff --git a/lib/plugins/open_id_authentication/lib/open_id_authentication.rb b/lib/plugins/open_id_authentication/lib/open_id_authentication.rb
index 711a38d43..538f0cfdb 100644
--- a/lib/plugins/open_id_authentication/lib/open_id_authentication.rb
+++ b/lib/plugins/open_id_authentication/lib/open_id_authentication.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
require 'uri'
require 'openid'
require 'rack/openid'
diff --git a/lib/plugins/open_id_authentication/lib/tasks/open_id_authentication_tasks.rake b/lib/plugins/open_id_authentication/lib/tasks/open_id_authentication_tasks.rake
index 424852bd7..c71434a50 100644
--- a/lib/plugins/open_id_authentication/lib/tasks/open_id_authentication_tasks.rake
+++ b/lib/plugins/open_id_authentication/lib/tasks/open_id_authentication_tasks.rake
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
namespace :open_id_authentication do
namespace :db do
desc "Creates authentication tables for use with OpenIdAuthentication"
diff --git a/lib/plugins/open_id_authentication/test/mem_cache_store_test.rb b/lib/plugins/open_id_authentication/test/mem_cache_store_test.rb
index ef5e424a3..18a943979 100644
--- a/lib/plugins/open_id_authentication/test/mem_cache_store_test.rb
+++ b/lib/plugins/open_id_authentication/test/mem_cache_store_test.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
require File.dirname(__FILE__) + '/test_helper'
require File.dirname(__FILE__) + '/../lib/open_id_authentication/mem_cache_store'
diff --git a/lib/plugins/open_id_authentication/test/normalize_test.rb b/lib/plugins/open_id_authentication/test/normalize_test.rb
index 2968fc9c2..635d3abc9 100644
--- a/lib/plugins/open_id_authentication/test/normalize_test.rb
+++ b/lib/plugins/open_id_authentication/test/normalize_test.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
require File.dirname(__FILE__) + '/test_helper'
class NormalizeTest < Test::Unit::TestCase
diff --git a/lib/plugins/open_id_authentication/test/open_id_authentication_test.rb b/lib/plugins/open_id_authentication/test/open_id_authentication_test.rb
index 147ebe7ae..ddcc17b96 100644
--- a/lib/plugins/open_id_authentication/test/open_id_authentication_test.rb
+++ b/lib/plugins/open_id_authentication/test/open_id_authentication_test.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
require File.dirname(__FILE__) + '/test_helper'
class OpenIdAuthenticationTest < Test::Unit::TestCase
diff --git a/lib/plugins/open_id_authentication/test/status_test.rb b/lib/plugins/open_id_authentication/test/status_test.rb
index 9bf39056e..bf7bfb382 100644
--- a/lib/plugins/open_id_authentication/test/status_test.rb
+++ b/lib/plugins/open_id_authentication/test/status_test.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
require File.dirname(__FILE__) + '/test_helper'
class StatusTest < Test::Unit::TestCase
diff --git a/lib/plugins/open_id_authentication/test/test_helper.rb b/lib/plugins/open_id_authentication/test/test_helper.rb
index 9af4077a5..cb76ceddc 100644
--- a/lib/plugins/open_id_authentication/test/test_helper.rb
+++ b/lib/plugins/open_id_authentication/test/test_helper.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
require 'test/unit'
require 'rubygems'
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'