Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix naming of rubocop rule

Christophe Bliard1e78ce6882ab
diff --git a/modules/two_factor_authentication/lib/open_project/two_factor_authentication/token_strategy/sns.rb b/modules/two_factor_authentication/lib/open_project/two_factor_authentication/token_strategy/sns.rb
index 7be27d4a68d..b6514851a60 100644
--- a/modules/two_factor_authentication/lib/open_project/two_factor_authentication/token_strategy/sns.rb
+++ b/modules/two_factor_authentication/lib/open_project/two_factor_authentication/token_strategy/sns.rb
@@ -62,7 +62,7 @@ module OpenProject::TwoFactorAuthentication
phone
end
- # rubocop:disable Metric/AbcSize
+ # rubocop:disable Metrics/AbcSize
def submit
aws_params = configuration_params.slice 'region', 'access_key_id', 'secret_access_key'
sns = ::Aws::SNS::Client.new aws_params
@@ -96,7 +96,7 @@ module OpenProject::TwoFactorAuthentication
raise I18n.t('two_factor_authentication.sns.delivery_failed')
end
- # rubocop:enable Metric/AbcSize
+ # rubocop:enable Metrics/AbcSize
end
end
end