diff options
| author | Mark Young <mark.w.young@keyloop.com> | 2024-12-31 16:53:12 +0000 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-01-06 01:19:45 +0000 |
| commit | ce09b43aa056f8902cd99b7aee253aae725da996 (patch) | |
| tree | 2f629ef008659038a7eb022a6077970ca5f56ad3 /lib | |
| parent | 3b659457b8095d4f6694250b6f93b028fd63010c (diff) | |
[ruby/ostruct] Provide a 'Changelog' link on rubygems.org/gems/ostruct
By providing a 'changelog_uri' in the metadata of the gemspec a
'Changelog' link will be shown on https://rubygems.org/gems/ostruct
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/#metadata
https://github.com/ruby/ostruct/commit/47d84001eb
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ostruct.gemspec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ostruct.gemspec b/lib/ostruct.gemspec index 3ffa9c4344..28b5f1f2c0 100644 --- a/lib/ostruct.gemspec +++ b/lib/ostruct.gemspec @@ -21,4 +21,6 @@ Gem::Specification.new do |spec| spec.files = [".gitignore", "Gemfile", "COPYING", "BSDL", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/ostruct.rb", "ostruct.gemspec"] spec.require_paths = ["lib"] + + spec.metadata["changelog_uri"] = spec.homepage + "/releases" end |
