Skip to content

Commit

Permalink
Provide a 'Changelog' link on rubygems.org/gems/haml
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/haml
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 authored and amatsuda committed Dec 22, 2023
1 parent 99e7e43 commit 7e24ee4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions haml.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Gem::Specification.new do |spec|

spec.metadata = { 'rubygems_mfa_required' => 'true' }

spec.metadata["changelog_uri"] = spec.homepage + "/blob/main/CHANGELOG.md"

spec.required_ruby_version = '>= 2.1.0'

spec.add_dependency 'temple', '>= 0.8.2'
Expand Down

0 comments on commit 7e24ee4

Please sign in to comment.