Skip to content

Commit 50f6259

Browse files
committed
Opt-in for MFA requirement explicitly
As a pupular gem, `regexp_parser` implicitly requires that all privileged operations by any of the owners require OTP. However, by explicitly setting `rubygems_mfa_required` metadata, the gem will show "NEW VERSIONS REQUIRE MFA" and "VERSION PUBLISHED WITH MFA" in the sidebar at https://github.com/ammar/regexp_parser Ref: - https://blog.rubygems.org/2022/08/15/requiring-mfa-on-popular-gems.html - https://guides.rubygems.org/mfa-requirement-opt-in/
1 parent 9883215 commit 50f6259

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

regexp_parser.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Gem::Specification.new do |spec|
1616
spec.metadata['source_code_uri'] = spec.homepage
1717
spec.metadata['wiki_uri'] = "#{spec.homepage}/wiki"
1818

19+
spec.metadata['rubygems_mfa_required'] = 'true'
20+
1921
spec.authors = ['Ammar Ali', 'Janosch Müller']
2022
2123

0 commit comments

Comments
 (0)