From eb1b8ea280920b03ccfa3f4a2764ce828429cbb5 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Wed, 24 Jul 2024 18:17:14 -0700 Subject: [PATCH] Add metadata to gemspec, including changelog_uri This will make the changelog more discoverable. Fixes #608. --- mocha.gemspec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mocha.gemspec b/mocha.gemspec index 52fb9c9f2..13a3a476d 100644 --- a/mocha.gemspec +++ b/mocha.gemspec @@ -21,6 +21,14 @@ Gem::Specification.new do |s| s.homepage = 'https://mocha.jamesmead.org' s.require_paths = ['lib'] s.summary = 'Mocking and stubbing library' + s.metadata = { + 'bug_tracker_uri' => 'https://github.com/freerange/mocha/issues', + 'changelog_uri' => 'https://github.com/freerange/mocha/blob/main/RELEASE.md', + 'documentation_uri' => 'https://mocha.jamesmead.org/', + 'funding_uri' => 'https://github.com/sponsors/floehopper', + 'homepage_uri' => s.homepage, + 'source_code_uri' => 'https://github.com/freerange/mocha' + } s.add_runtime_dependency 'ruby2_keywords', '>= 0.0.5' end