Skip to content

Commit 883c86a

Browse files
committed
Add funding_uri to gemspec
1 parent 948e0a9 commit 883c86a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

minitest-matchers_vaccine.gemspec

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,27 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
44
require 'minitest/matchers_vaccine/version'
55

66
Gem::Specification.new do |spec|
7+
username = "rmm5t"
78
spec.name = "minitest-matchers_vaccine"
89
spec.version = Minitest::MatchersVaccine::VERSION
910
spec.authors = ["Ryan McGeary"]
1011
spec.email = ["ryan@mcgeary.org"]
1112
spec.summary = %q{Adds support for RSpec-style matchers to minitest.}
1213
spec.description = %q{Adds matcher support to minitest without all the other RSpec-style expectation "infections."}
13-
spec.homepage = "https://github.com/rmm5t/minitest-matchers_vaccine"
14+
spec.homepage = "https://github.com/#{username}/#{spec.name}"
1415
spec.license = "MIT"
1516

1617
spec.files = Dir["{lib,test}/**/*", "README*", "LICENSE*"]
1718
spec.test_files = Dir["{test}/**/*"]
1819
spec.require_paths = ["lib"]
1920

21+
spec.metadata = {
22+
"bug_tracker_uri" => "#{spec.homepage}/issues",
23+
"changelog_uri" => "#{spec.homepage}/blob/master/CHANGELOG.md",
24+
"source_code_uri" => spec.homepage,
25+
"funding_uri" => "https://github.com/sponsors/#{username}",
26+
}
27+
2028
spec.required_ruby_version = ">= 1.9"
2129

2230
spec.add_dependency "minitest", "~> 5.0"

0 commit comments

Comments
 (0)