From 34077f6629ec3bc3dc912f63a0517fe3d4af9966 Mon Sep 17 00:00:00 2001 From: Brandur Date: Mon, 13 May 2024 09:13:20 +0200 Subject: [PATCH] Add metadata to gemspec Add metadata to Committe's gemspec. This includes a bug tracker URI, changelog, and source code URI, but the main improvement is to tighten up security by requiring the use of MFA on RubyGems for pushing new versions. --- committee.gemspec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/committee.gemspec b/committee.gemspec index 96e5511f..1e39a078 100644 --- a/committee.gemspec +++ b/committee.gemspec @@ -33,4 +33,11 @@ Gem::Specification.new do |s| s.add_development_dependency "rubocop" s.add_development_dependency "rubocop-performance" s.add_development_dependency "simplecov" + + s.metadata = { + "bug_tracker_uri" => "https://github.com/interagent/committee/issues", + "changelog_uri" => "https://github.com/interagent/committee/blob/master/CHANGELOG.md", + "rubygems_mfa_required" => "true", + "source_code_uri" => "https://github.com/interagent/committee" + } end