Skip to content

Commit

Permalink
Adds rubygems_mfa_required to gemspec (#2493)
Browse files Browse the repository at this point in the history
* Adds rubygems_mfa_required to gemspec

* Add CHANGELOG.md entry
  • Loading branch information
ericproulx authored Sep 1, 2024
1 parent c33f93e commit dc31f1c
Show file tree
Hide file tree
Showing 3 changed files with 3 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* [#2475](https://github.com/ruby-grape/grape/pull/2475): Remove Grape::Util::Registrable - [@ericproulx](https://github.com/ericproulx).
* [#2484](https://github.com/ruby-grape/grape/pull/2484): Refactor versioner middlewares - [@ericproulx](https://github.com/ericproulx).
* [#2489](https://github.com/ruby-grape/grape/pull/2489): Add Rails 7.2 in CI workflow - [@ericproulx](https://github.com/ericproulx).
* [#2493](https://github.com/ruby-grape/grape/pull/2493): MFA required when releasing - [@ericproulx](https://github.com/ericproulx).
* Your contribution here.

#### Fixes
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 dc31f1c

Please sign in to comment.