From 18f8e4834649c3860ab5ebd77b02671e57ddd0c7 Mon Sep 17 00:00:00 2001 From: Mark Young Date: Fri, 7 Jun 2024 14:49:38 +0100 Subject: [PATCH] Provide a 'Changelog' link on rubygems.org/gems/dotenv By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/dotenv 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/ --- dotenv.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotenv.gemspec b/dotenv.gemspec index 33a7badc..a55aafc4 100644 --- a/dotenv.gemspec +++ b/dotenv.gemspec @@ -16,4 +16,6 @@ Gem::Specification.new "dotenv", Dotenv::VERSION do |gem| gem.add_development_dependency "standard" gem.required_ruby_version = ">= 3.0" + + gem.metadata["changelog_uri"] = gem.homepage + "/blob/master/Changelog.md" end