From a61c8bb9da6f31e419083ce4a560096948d75e01 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Sun, 9 Apr 2023 10:52:55 +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/ --- jsonapi-rails.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jsonapi-rails.gemspec b/jsonapi-rails.gemspec index 4e3518a..04b8d82 100644 --- a/jsonapi-rails.gemspec +++ b/jsonapi-rails.gemspec @@ -11,6 +11,8 @@ Gem::Specification.new do |spec| spec.homepage = 'https://github.com/jsonapi-rb/jsonapi-rails' spec.license = 'MIT' + spec.metadata = { 'rubygems_mfa_required' => 'true' } + spec.files = Dir['README.md', 'lib/**/*'] spec.require_path = 'lib'