Skip to content

Commit

Permalink
Auto-correct Gemspec/RequireMFA violation
Browse files Browse the repository at this point in the history
  • Loading branch information
floehopper committed Jan 1, 2025
1 parent 2b88818 commit ea957ee
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:
- 'mocha.gemspec'

# Offense count: 28
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLineAfterGuardClause:
Expand Down
3 changes: 2 additions & 1 deletion mocha.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ Gem::Specification.new do |s|
'documentation_uri' => 'https://mocha.jamesmead.org/',
'funding_uri' => 'https://github.com/sponsors/floehopper',
'homepage_uri' => s.homepage,
'source_code_uri' => 'https://github.com/freerange/mocha'
'source_code_uri' => 'https://github.com/freerange/mocha',
'rubygems_mfa_required' => 'true'
}

s.add_dependency 'ruby2_keywords', '>= 0.0.5'
Expand Down

0 comments on commit ea957ee

Please sign in to comment.