Skip to content

Commit 41b5842

Browse files
committed
Add funding_uri to gemspec
1 parent 918e028 commit 41b5842

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

strip_attributes.gemspec

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
44
require "strip_attributes/version"
55

66
Gem::Specification.new do |spec|
7+
username = "rmm5t"
78
spec.name = "strip_attributes"
89
spec.version = StripAttributes::VERSION
910
spec.authors = ["Ryan McGeary"]
@@ -18,9 +19,10 @@ Gem::Specification.new do |spec|
1819
spec.require_paths = ["lib"]
1920

2021
spec.metadata = {
21-
"bug_tracker_uri" => "https://github.com/rmm5t/strip_attributes/issues",
22-
"changelog_uri" => "https://github.com/rmm5t/strip_attributes/blob/master/CHANGELOG.md",
23-
"source_code_uri" => "https://github.com/rmm5t/strip_attributes",
22+
"bug_tracker_uri" => "https://github.com/#{username}/#{spec.name}/issues",
23+
"changelog_uri" => "https://github.com/#{username}/#{spec.name}/blob/master/CHANGELOG.md",
24+
"source_code_uri" => "https://github.com/#{username}/#{spec.name}",
25+
"funding_uri" => "https://github.com/sponsors/#{username}",
2426
}
2527

2628
spec.add_runtime_dependency "activemodel", ">= 3.0", "< 9.0"

0 commit comments

Comments
 (0)