Skip to content

Commit

Permalink
use funding instead
Browse files Browse the repository at this point in the history
  • Loading branch information
colby-swandale committed Jan 30, 2020
1 parent 4adaddb commit 819c784
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/rubygems/specification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def licenses=(licenses)
# "mailing_list_uri" => "https://groups.example.com/bestgemever",
# "source_code_uri" => "https://example.com/user/bestgemever",
# "wiki_uri" => "https://example.com/user/bestgemever/wiki"
# "donation_uri" => "https://example.com/donation"
# "funding_uri" => "https://example.com/donate"
# }
#
# These links will be used on your gem's page on rubygems.org and must pass
Expand Down
2 changes: 1 addition & 1 deletion lib/rubygems/specification_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Gem::SpecificationPolicy
mailing_list_uri
source_code_uri
wiki_uri
donation_uri
funding_uri
].freeze # :nodoc:

def initialize(specification)
Expand Down
2 changes: 1 addition & 1 deletion test/rubygems/test_gem_specification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3533,7 +3533,7 @@ def test_metadata_validates_ok
"one" => "two",
"home" => "three",
"homepage_uri" => "https://example.com/user/repo",
"donation_uri" => "https://example.com/donation"
"funding_uri" => "https://example.com/donate"
}
end

Expand Down

0 comments on commit 819c784

Please sign in to comment.