From e2bc06a27f7796954ba379f581c2762501246cdd Mon Sep 17 00:00:00 2001 From: Eric Date: Sun, 1 Sep 2024 13:47:24 +0200 Subject: [PATCH] Adds rubygems_mfa_required to gemspec --- .rubocop_todo.yml | 8 -------- grape.gemspec | 3 ++- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 10cc2c7ed8..81384c026d 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,14 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: Severity, Include. -# Include: **/*.gemspec -Gemspec/RequireMFA: - Exclude: - - 'grape.gemspec' - # Offense count: 1 # Configuration parameters: AllowedMethods. # AllowedMethods: enums diff --git a/grape.gemspec b/grape.gemspec index e3383f9277..bdb4ba1c17 100644 --- a/grape.gemspec +++ b/grape.gemspec @@ -17,7 +17,8 @@ Gem::Specification.new do |s| 'bug_tracker_uri' => 'https://github.com/ruby-grape/grape/issues', 'changelog_uri' => "https://github.com/ruby-grape/grape/blob/v#{s.version}/CHANGELOG.md", 'documentation_uri' => "https://www.rubydoc.info/gems/grape/#{s.version}", - 'source_code_uri' => "https://github.com/ruby-grape/grape/tree/v#{s.version}" + 'source_code_uri' => "https://github.com/ruby-grape/grape/tree/v#{s.version}", + 'rubygems_mfa_required' => 'true' } s.add_runtime_dependency 'activesupport', '>= 6'