Skip to content

Commit

Permalink
Opt-in for MFA requirement (#1133)
Browse files Browse the repository at this point in the history
Make the gem more secure by requiring that all privileged operations by
any of the owners require OTP.

Ref: https://guides.rubygems.org/mfa-requirement-opt-in/
  • Loading branch information
tagliala committed Apr 7, 2023
1 parent d0a86c3 commit cf69a33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions haml.gemspec
Expand Up @@ -19,6 +19,8 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.metadata = { 'rubygems_mfa_required' => 'true' }

if /java/ === RUBY_PLATFORM
spec.platform = 'java'
else
Expand Down

0 comments on commit cf69a33

Please sign in to comment.