groupie.gemspec in groupie-0.4.1 vs groupie.gemspec in groupie-0.5.0
- old
+ new
@@ -16,9 +16,11 @@
spec.required_ruby_version = '>= 2.6.0' # EOL for 2.6 is 2022-03-31, so support this as the minimum for now
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/Narnach/groupie'
spec.metadata['changelog_uri'] = 'https://github.com/Narnach/groupie/blob/stable/CHANGELOG.md'
+ # Require multi-factor authentication to publish the gem
+ spec.metadata['rubygems_mfa_required'] = 'true'
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }