Skip to content

Commit 9edc297

Browse files
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/
1 parent 366dee1 commit 9edc297

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

memory_profiler.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ Gem::Specification.new do |spec|
1919
spec.files = Dir["README.md", "CHANGELOG.md", "LICENSE.txt", "lib/**/*", "bin/ruby-memory-profiler"]
2020

2121
spec.required_ruby_version = ">= 3.1.0"
22+
23+
spec.metadata["changelog_uri"] = spec.homepage + "/blob/master/CHANGELOG.md"
2224
end

0 commit comments

Comments
 (0)