From bc041a9186147e9e0ee5911e05ea9ec1df82af93 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Wed, 23 Oct 2024 13:29:03 +0200 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/ --- rackup.gemspec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rackup.gemspec b/rackup.gemspec index abd3648..fd1bd01 100644 --- a/rackup.gemspec +++ b/rackup.gemspec @@ -18,6 +18,10 @@ Gem::Specification.new do |spec| spec.required_ruby_version = ">= 2.4.0" + spec.metadata = { + "rubygems_mfa_required" => "true" + } + spec.add_dependency "rack", ">= 3" spec.add_dependency "webrick", "~> 1.8"