From 07d01feec2e3befdd91c26381fc34e13147e3509 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Sat, 7 Dec 2024 21:55:04 +0100 Subject: [PATCH] Opt-in for MFA requirement 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/ --- solargraph.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/solargraph.gemspec b/solargraph.gemspec index 7be8dcb73..cfae8b074 100755 --- a/solargraph.gemspec +++ b/solargraph.gemspec @@ -20,6 +20,8 @@ Gem::Specification.new do |s| s.metadata["bug_tracker_uri"] = "https://github.com/castwide/solargraph/issues" s.metadata["changelog_uri"] = "https://github.com/castwide/solargraph/blob/master/CHANGELOG.md" s.metadata["source_code_uri"] = "https://github.com/castwide/solargraph" + s.metadata["source_code_uri"] = "https://github.com/castwide/solargraph" + s.metadata["rubygems_mfa_required"] = "true" s.required_ruby_version = '>= 2.6'