Skip to content

Commit 636f204

Browse files
committed
Opt-in for MFA requirement
Make the gem more secure by requiring that all privileged operations by any of the owners require OTP. Additionally, explicitly set minimum required Ruby version to 3.0, as commander ~> 5.0 requires Ruby >= 3.0 Ref: - https://guides.rubygems.org/mfa-requirement-opt-in/ - castwide/solargraph#1215
1 parent 8713f8a commit 636f204

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sord.gemspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ Gem::Specification.new do |spec|
1313
spec.homepage = "https://github.com/AaronC81/sord"
1414
spec.license = "MIT"
1515

16+
spec.metadata = { 'rubygems_mfa_required' => 'true' }
17+
18+
spec.required_ruby_version = '>= 3.0'
19+
1620
# Specify which files should be added to the gem when it is released.
1721
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
1822
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do

0 commit comments

Comments
 (0)