зеркало из https://github.com/github/ruby.git
[ruby/base64] Provide a 'Changelog' link on rubygems.org/gems/base64
By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/base64 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/ https://github.com/ruby/base64/commit/7cab043d67
This commit is contained in:
Родитель
12ff13c6e4
Коммит
da06c09725
|
@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
|
||||||
|
|
||||||
spec.metadata["homepage_uri"] = spec.homepage
|
spec.metadata["homepage_uri"] = spec.homepage
|
||||||
spec.metadata["source_code_uri"] = spec.homepage
|
spec.metadata["source_code_uri"] = spec.homepage
|
||||||
|
spec.metadata["changelog_uri"] = spec.homepage + "/releases"
|
||||||
|
|
||||||
spec.files = ["README.md", "LICENSE.txt", "lib/base64.rb"]
|
spec.files = ["README.md", "LICENSE.txt", "lib/base64.rb"]
|
||||||
spec.bindir = "exe"
|
spec.bindir = "exe"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче