From e68aceb711abcc82970d498d9b74bc91b5b35c6e Mon Sep 17 00:00:00 2001 From: Pete Wagner <1559510+thepwagner@users.noreply.github.com> Date: Thu, 22 May 2025 08:06:46 -0400 Subject: [PATCH] gemspec: require MFA This metadata makes Rubygems reject pushes that do not use MFA. We obviously use MFA when publishing, but this metadata allows other users of the gem to _confirm_ that we do. It's pretty common - https://github.com/search?q=path%3A.gemspec%20%2Frubygems_mfa_required%2F&type=code --- rubygem/ejson2env.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/rubygem/ejson2env.gemspec b/rubygem/ejson2env.gemspec index 6c6c513..d558ab2 100644 --- a/rubygem/ejson2env.gemspec +++ b/rubygem/ejson2env.gemspec @@ -17,4 +17,5 @@ Gem::Specification.new do |spec| spec.executables = ["ejson2env"] spec.test_files = [] spec.require_paths = ["lib"] + spec.metadata["rubygems_mfa_required"] = "true" end