From aadd72e7f301855a6951130234527da21cc28002 Mon Sep 17 00:00:00 2001 From: "Garen J. Torikian" Date: Sun, 8 Mar 2020 20:15:30 +0000 Subject: [PATCH] Update the URIs to more recognizable choices --- bundler/spec/commands/fund_spec.rb | 10 +++++----- bundler/spec/commands/info_spec.rb | 2 +- bundler/spec/support/builders.rb | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bundler/spec/commands/fund_spec.rb b/bundler/spec/commands/fund_spec.rb index d0bbb4ef33bf..afa1c144ff06 100644 --- a/bundler/spec/commands/fund_spec.rb +++ b/bundler/spec/commands/fund_spec.rb @@ -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 @@ -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 @@ -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 diff --git a/bundler/spec/commands/info_spec.rb b/bundler/spec/commands/info_spec.rb index 323bc8d20c79..1b8d7c3a3d38 100644 --- a/bundler/spec/commands/info_spec.rb +++ b/bundler/spec/commands/info_spec.rb @@ -57,7 +57,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 diff --git a/bundler/spec/support/builders.rb b/bundler/spec/support/builders.rb index 7677ad72de13..39105db1430c 100644 --- a/bundler/spec/support/builders.rb +++ b/bundler/spec/support/builders.rb @@ -310,7 +310,7 @@ 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", } @@ -318,7 +318,7 @@ def __pry__ 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