Skip to content

Commit 1826a26

Browse files
committed
Enforce MFA to be enabled via gemspec + RuboCop
1 parent b2a2286 commit 1826a26

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

.rubocop_todo.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9-
# Offense count: 1
10-
# This cop supports safe autocorrection (--autocorrect).
11-
Gemspec/RequireMFA:
12-
Exclude:
13-
- 'rouge.gemspec'
14-
159
# Offense count: 8
1610
# Configuration parameters: AllowedMethods.
1711
# AllowedMethods: enums

rouge.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ Gem::Specification.new do |s|
2121
"bug_tracker_uri" => "https://github.com/rouge-ruby/rouge/issues",
2222
"changelog_uri" => "https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md",
2323
"documentation_uri" => "https://rouge-ruby.github.io/docs/",
24-
"source_code_uri" => "https://github.com/rouge-ruby/rouge"
24+
"source_code_uri" => "https://github.com/rouge-ruby/rouge",
25+
"rubygems_mfa_required" => "true"
2526
}
2627

2728
s.add_dependency 'strscan', '~> 3.1'

0 commit comments

Comments
 (0)