From 9edc29740c2dadb3b10c1e9b48f347d5f5098fb4 Mon Sep 17 00:00:00 2001 From: Mark Young Date: Wed, 26 Jun 2024 09:12:01 +0100 Subject: [PATCH] Provide a 'Changelog' link on rubygems.org/gems/memory_profiler By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/memory_profiler which makes it quick and easy for someone to check on the changes introduced with a new version. Details of this functionality can be found on https://guides.rubygems.org/specification-reference/ --- memory_profiler.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/memory_profiler.gemspec b/memory_profiler.gemspec index 282f245..f0a03d0 100644 --- a/memory_profiler.gemspec +++ b/memory_profiler.gemspec @@ -19,4 +19,6 @@ Gem::Specification.new do |spec| spec.files = Dir["README.md", "CHANGELOG.md", "LICENSE.txt", "lib/**/*", "bin/ruby-memory-profiler"] spec.required_ruby_version = ">= 3.1.0" + + spec.metadata["changelog_uri"] = spec.homepage + "/blob/master/CHANGELOG.md" end