Skip to content

Commit ca084a5

Browse files
Provide a 'Changelog' link on rubygems.org/gems/foreman
By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/foreman 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 3a26271 commit ca084a5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

foreman.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ Gem::Specification.new do |gem|
1616
gem.executables = "foreman"
1717
gem.files = Dir["**/*"].select { |d| d =~ %r{^(README|bin/|data/|ext/|lib/|spec/|test/)} }
1818
gem.files << "man/foreman.1"
19+
20+
gem.metadata["changelog_uri"] = gem.homepage + "/blob/master/Changelog.md"
1921
end

0 commit comments

Comments
 (0)