Skip to content

Commit

Permalink
Update the URIs to more recognizable choices
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Sep 16, 2020
1 parent be66b9f commit 986682a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions bundler/spec/commands/fund_spec.rb
Expand Up @@ -11,8 +11,8 @@

bundle "fund"

expect(out).to include("* has_metadata (1.0)\n Funding: https://example.com/bestgemever/funding")
expect(out).to include("* has_funding (1.2.3)\n Funding: https://example.com/somewildgem/funding")
expect(out).to include("* has_metadata (1.0)\n Funding: https://example.com/has_metadata/funding")
expect(out).to include("* has_funding (1.2.3)\n Funding: https://example.com/has_funding/funding")
expect(out).to_not include("rack-obama")
end

Expand All @@ -24,7 +24,7 @@

bundle "fund"

expect(out).to_not include("* has_funding (1.2.3)\n Funding: https://example.com/somewildgem/funding")
expect(out).to_not include("* has_funding (1.2.3)\n Funding: https://example.com/has_funding/funding")
expect(out).to_not include("gem_with_dependent_funding")
end

Expand All @@ -48,8 +48,8 @@
G

bundle "fund --group development"
expect(out).to include("* has_metadata (1.0)\n Funding: https://example.com/bestgemever/funding")
expect(out).to_not include("* has_funding (1.2.3)\n Funding: https://example.com/somewildgem/funding")
expect(out).to include("* has_metadata (1.0)\n Funding: https://example.com/has_metadata/funding")
expect(out).to_not include("* has_funding (1.2.3)\n Funding: https://example.com/has_funding/funding")
end
end
end
2 changes: 1 addition & 1 deletion bundler/spec/commands/info_spec.rb
Expand Up @@ -66,7 +66,7 @@
\tHomepage: http://example.com
\tDocumentation: https://www.example.info/gems/bestgemever/0.0.1
\tSource Code: https://example.com/user/bestgemever
\tFunding: https://example.com/bestgemever/funding
\tFunding: https://example.com/has_metadata/funding
\tWiki: https://example.com/user/bestgemever/wiki
\tChangelog: https://example.com/user/bestgemever/CHANGELOG.md
\tBug Tracker: https://example.com/user/bestgemever/issues
Expand Down
4 changes: 2 additions & 2 deletions bundler/spec/support/builders.rb
Expand Up @@ -322,15 +322,15 @@ def __pry__
"documentation_uri" => "https://www.example.info/gems/bestgemever/0.0.1",
"homepage_uri" => "https://bestgemever.example.io",
"mailing_list_uri" => "https://groups.example.com/bestgemever",
"funding_uri" => "https://example.com/bestgemever/funding",
"funding_uri" => "https://example.com/has_metadata/funding",
"source_code_uri" => "https://example.com/user/bestgemever",
"wiki_uri" => "https://example.com/user/bestgemever/wiki",
}
end

build_gem "has_funding", "1.2.3" do |s|
s.metadata = {
"funding_uri" => "https://example.com/somewildgem/funding",
"funding_uri" => "https://example.com/has_funding/funding",
}
end

Expand Down

0 comments on commit 986682a

Please sign in to comment.