From 3c17aab510be81b1e16a2e72c44773d70e1a1f4d Mon Sep 17 00:00:00 2001 From: Eduardo Hernandez Date: Wed, 11 Aug 2021 16:39:11 -0500 Subject: [PATCH] Adding funding_uri & other metadata For more information: - https://github.com/rubygems/rubygems/pull/3390 - https://github.com/rubygems/rubygems/pull/3060 --- ruby_jard.gemspec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/ruby_jard.gemspec b/ruby_jard.gemspec index 75a1e71e..589219ba 100644 --- a/ruby_jard.gemspec +++ b/ruby_jard.gemspec @@ -15,11 +15,15 @@ Gem::Specification.new do |spec| spec.license = 'MIT' spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0') - spec.metadata['allowed_push_host'] = 'https://rubygems.org' - - spec.metadata['homepage_uri'] = spec.homepage - spec.metadata['source_code_uri'] = 'https://github.com/nguyenquangminh0711/ruby_jard' - spec.metadata['changelog_uri'] = 'https://github.com/nguyenquangminh0711/ruby_jard' + spec.metadata = { + 'allowed_push_host' => 'https://rubygems.org', + 'bug_tracker_uri' => "#{spec.homepage}/issues", + 'changelog_uri' => "#{spec.homepage}/blob/master/CHANGELOG.md", + 'documentation_uri' => spec.homepage, + 'funding_uri' => 'https://ko-fi.com/nguyenquangminh0711', + 'homepage_uri' => spec.homepage, + 'source_code_uri' => spec.homepage + } # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git.