Skip to content

Commit

Permalink
Adds rubygems_mfa_required to gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
ericproulx committed Sep 1, 2024
1 parent 12dc739 commit e2bc06a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion grape.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit e2bc06a

Please sign in to comment.