Skip to content

Commit

Permalink
Provide a 'Changelog' link on rubygems.org/gems/memory_profiler
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
mark-young-atg committed Jun 26, 2024
1 parent 366dee1 commit 6fe664b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions memory_profiler.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6fe664b

Please sign in to comment.