From 9e29e021bb7b4d988597062a24ef5f6a3d99b547 Mon Sep 17 00:00:00 2001 From: Tilo Sloboda Date: Wed, 31 Jul 2024 10:49:46 -0700 Subject: [PATCH] adding CHANGELOG.md to gemspec, so Rubygems.org finds the change log. --- domain_name.gemspec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/domain_name.gemspec b/domain_name.gemspec index a72f7e8..38e846f 100644 --- a/domain_name.gemspec +++ b/domain_name.gemspec @@ -19,6 +19,10 @@ Suffix List. gem.homepage = "https://github.com/knu/ruby-domain_name" gem.licenses = ["BSD-2-Clause", "BSD-3-Clause", "MPL-2.0"] + gem.metadata["homepage_uri"] = gem.homepage + gem.metadata["source_code_uri"] = gem.homepage + gem.metadata["changelog_uri"] = "https://github.com/knu/ruby-domain_name/blob/master/CHANGELOG.md" + gem.files = `git ls-files`.split($/) gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/})