diff options
author | Go MAEDA <maeda@farend.jp> | 2019-03-16 09:37:35 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-03-16 09:37:35 +0000 |
commit | 07b3087fda0e84d4a7609a04f8adb8450b062861 (patch) | |
tree | e96b036e82124d573b9f1bb057468d5bccec15a1 /app/models | |
parent | e70c283a22dd18cbeb8661ad80062776658325e2 (diff) | |
download | redmine-07b3087fda0e84d4a7609a04f8adb8450b062861.tar.gz redmine-07b3087fda0e84d4a7609a04f8adb8450b062861.zip |
Enable frozen_string_literal for some files under app and lib directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
60 files changed, 60 insertions, 60 deletions
diff --git a/app/models/auth_source.rb b/app/models/auth_source.rb index 768e7e860..c622b1853 100644 --- a/app/models/auth_source.rb +++ b/app/models/auth_source.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/board.rb b/app/models/board.rb index df53596c9..559602ea8 100644 --- a/app/models/board.rb +++ b/app/models/board.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/change.rb b/app/models/change.rb index e4afd0975..2ad5d2b08 100644 --- a/app/models/change.rb +++ b/app/models/change.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/changeset.rb b/app/models/changeset.rb index 1d3734073..1d80c46b0 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/comment.rb b/app/models/comment.rb index 0f768b1cb..d4048c1f7 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/custom_field.rb b/app/models/custom_field.rb index 744599ea1..52594de99 100644 --- a/app/models/custom_field.rb +++ b/app/models/custom_field.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/custom_field_enumeration.rb b/app/models/custom_field_enumeration.rb index 75c7187dc..fba0101a7 100644 --- a/app/models/custom_field_enumeration.rb +++ b/app/models/custom_field_enumeration.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/custom_field_value.rb b/app/models/custom_field_value.rb index 2b16656b6..e14bca4e1 100644 --- a/app/models/custom_field_value.rb +++ b/app/models/custom_field_value.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/custom_value.rb b/app/models/custom_value.rb index f5678967c..de852b12e 100644 --- a/app/models/custom_value.rb +++ b/app/models/custom_value.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/document.rb b/app/models/document.rb index 668de8016..5be0a61c7 100644 --- a/app/models/document.rb +++ b/app/models/document.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/document_category.rb b/app/models/document_category.rb index db260fe72..c00e75068 100644 --- a/app/models/document_category.rb +++ b/app/models/document_category.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/document_category_custom_field.rb b/app/models/document_category_custom_field.rb index 849ede90c..dd70ffcd5 100644 --- a/app/models/document_category_custom_field.rb +++ b/app/models/document_category_custom_field.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/document_custom_field.rb b/app/models/document_custom_field.rb index 0123685a0..801976973 100644 --- a/app/models/document_custom_field.rb +++ b/app/models/document_custom_field.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/email_address.rb b/app/models/email_address.rb index 14c031c5c..702c3a7e4 100644 --- a/app/models/email_address.rb +++ b/app/models/email_address.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/enabled_module.rb b/app/models/enabled_module.rb index 38e371a6f..c4dfe9c0c 100644 --- a/app/models/enabled_module.rb +++ b/app/models/enabled_module.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/enumeration.rb b/app/models/enumeration.rb index 4099df89e..39529b2b1 100644 --- a/app/models/enumeration.rb +++ b/app/models/enumeration.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/group.rb b/app/models/group.rb index e20e35142..a6a61130c 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/group_anonymous.rb b/app/models/group_anonymous.rb index 906ffb287..9a75233b9 100644 --- a/app/models/group_anonymous.rb +++ b/app/models/group_anonymous.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/group_builtin.rb b/app/models/group_builtin.rb index 763f6f008..6bf7afcab 100644 --- a/app/models/group_builtin.rb +++ b/app/models/group_builtin.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/group_custom_field.rb b/app/models/group_custom_field.rb index 6eb28a939..2fcde3e16 100644 --- a/app/models/group_custom_field.rb +++ b/app/models/group_custom_field.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/group_non_member.rb b/app/models/group_non_member.rb index 096689abf..11bcfd722 100644 --- a/app/models/group_non_member.rb +++ b/app/models/group_non_member.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/import.rb b/app/models/import.rb index fb5b0e3af..28c76268d 100644 --- a/app/models/import.rb +++ b/app/models/import.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/import_item.rb b/app/models/import_item.rb index afb995115..cb7603f72 100644 --- a/app/models/import_item.rb +++ b/app/models/import_item.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/issue_category.rb b/app/models/issue_category.rb index a7781411d..4826dd024 100644 --- a/app/models/issue_category.rb +++ b/app/models/issue_category.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/issue_custom_field.rb b/app/models/issue_custom_field.rb index eddc34c47..9afedfdaa 100644 --- a/app/models/issue_custom_field.rb +++ b/app/models/issue_custom_field.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/issue_import.rb b/app/models/issue_import.rb index ffffd44fc..6c59b26db 100644 --- a/app/models/issue_import.rb +++ b/app/models/issue_import.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/issue_priority.rb b/app/models/issue_priority.rb index 88b4ff402..3f9123fc1 100644 --- a/app/models/issue_priority.rb +++ b/app/models/issue_priority.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/issue_priority_custom_field.rb b/app/models/issue_priority_custom_field.rb index af73b26d3..04e58bae0 100644 --- a/app/models/issue_priority_custom_field.rb +++ b/app/models/issue_priority_custom_field.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb index b0e13ca9c..7e8c2e6a8 100644 --- a/app/models/issue_query.rb +++ b/app/models/issue_query.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/issue_relation.rb b/app/models/issue_relation.rb index 786296e5f..19167c344 100644 --- a/app/models/issue_relation.rb +++ b/app/models/issue_relation.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/issue_status.rb b/app/models/issue_status.rb index 2d9fd77de..d1a292aeb 100644 --- a/app/models/issue_status.rb +++ b/app/models/issue_status.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/journal_detail.rb b/app/models/journal_detail.rb index fccff4af2..a064d65e1 100644 --- a/app/models/journal_detail.rb +++ b/app/models/journal_detail.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index d62c4b043..01a04e924 100755 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/member.rb b/app/models/member.rb index c9c5c2d54..1774e95c5 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/member_role.rb b/app/models/member_role.rb index 41734af26..c8ef2ad16 100644 --- a/app/models/member_role.rb +++ b/app/models/member_role.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/message.rb b/app/models/message.rb index 81df08743..c466f66be 100644 --- a/app/models/message.rb +++ b/app/models/message.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/news.rb b/app/models/news.rb index 74508c818..02418107c 100644 --- a/app/models/news.rb +++ b/app/models/news.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/project_custom_field.rb b/app/models/project_custom_field.rb index 81d75e536..b6024ad3c 100644 --- a/app/models/project_custom_field.rb +++ b/app/models/project_custom_field.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/role.rb b/app/models/role.rb index 8f159cb77..322dc7f28 100644 --- a/app/models/role.rb +++ b/app/models/role.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/setting.rb b/app/models/setting.rb index 390a8f861..85914b7c4 100644 --- a/app/models/setting.rb +++ b/app/models/setting.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/time_entry.rb b/app/models/time_entry.rb index 2601d6b38..0aa08c991 100644 --- a/app/models/time_entry.rb +++ b/app/models/time_entry.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/time_entry_activity.rb b/app/models/time_entry_activity.rb index 26cc95bcf..e37ae487f 100644 --- a/app/models/time_entry_activity.rb +++ b/app/models/time_entry_activity.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/time_entry_activity_custom_field.rb b/app/models/time_entry_activity_custom_field.rb index 065f39d38..760be661b 100644 --- a/app/models/time_entry_activity_custom_field.rb +++ b/app/models/time_entry_activity_custom_field.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/time_entry_custom_field.rb b/app/models/time_entry_custom_field.rb index 162085823..f98b7ccca 100644 --- a/app/models/time_entry_custom_field.rb +++ b/app/models/time_entry_custom_field.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/time_entry_query.rb b/app/models/time_entry_query.rb index 59bb3e429..0c42206c0 100644 --- a/app/models/time_entry_query.rb +++ b/app/models/time_entry_query.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/token.rb b/app/models/token.rb index 69459c77a..cf32c6aca 100644 --- a/app/models/token.rb +++ b/app/models/token.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/tracker.rb b/app/models/tracker.rb index 3565294a3..088ad3948 100644 --- a/app/models/tracker.rb +++ b/app/models/tracker.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/user_custom_field.rb b/app/models/user_custom_field.rb index aca965bbe..995d9d7ec 100644 --- a/app/models/user_custom_field.rb +++ b/app/models/user_custom_field.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/user_preference.rb b/app/models/user_preference.rb index 403c58a89..d55b8ac58 100644 --- a/app/models/user_preference.rb +++ b/app/models/user_preference.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/version.rb b/app/models/version.rb index 19ce4f337..66d1a8070 100644 --- a/app/models/version.rb +++ b/app/models/version.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/version_custom_field.rb b/app/models/version_custom_field.rb index 7b5029373..5e18162f0 100644 --- a/app/models/version_custom_field.rb +++ b/app/models/version_custom_field.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/watcher.rb b/app/models/watcher.rb index 4e5417b68..4666a6c92 100644 --- a/app/models/watcher.rb +++ b/app/models/watcher.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/wiki.rb b/app/models/wiki.rb index 605a6496e..261e42433 100644 --- a/app/models/wiki.rb +++ b/app/models/wiki.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/wiki_content.rb b/app/models/wiki_content.rb index 44be2d8e8..7bda26009 100644 --- a/app/models/wiki_content.rb +++ b/app/models/wiki_content.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/wiki_content_version.rb b/app/models/wiki_content_version.rb index 67459de2a..2bf2322a2 100644 --- a/app/models/wiki_content_version.rb +++ b/app/models/wiki_content_version.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb index 7bd660890..bbcfa61f7 100644 --- a/app/models/wiki_page.rb +++ b/app/models/wiki_page.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/wiki_redirect.rb b/app/models/wiki_redirect.rb index 674a72000..d5fad1611 100644 --- a/app/models/wiki_redirect.rb +++ b/app/models/wiki_redirect.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/workflow_permission.rb b/app/models/workflow_permission.rb index 7c08b5fd3..bf507dcef 100644 --- a/app/models/workflow_permission.rb +++ b/app/models/workflow_permission.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/workflow_rule.rb b/app/models/workflow_rule.rb index 831ab231d..8b391708d 100644 --- a/app/models/workflow_rule.rb +++ b/app/models/workflow_rule.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang diff --git a/app/models/workflow_transition.rb b/app/models/workflow_transition.rb index 7d664d7e8..e92a0570f 100644 --- a/app/models/workflow_transition.rb +++ b/app/models/workflow_transition.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: false +# frozen_string_literal: true # Redmine - project management software # Copyright (C) 2006-2017 Jean-Philippe Lang |