diff --git a/bundler/lib/bundler/cli/common.rb b/bundler/lib/bundler/cli/common.rb index bddc48be341c..23ac78a103b8 100644 --- a/bundler/lib/bundler/cli/common.rb +++ b/bundler/lib/bundler/cli/common.rb @@ -23,7 +23,7 @@ def self.output_fund_metadata_summary return if count.zero? - intro = count > 1 ? "#{count} gems you directly depend on are" : "#{count} gem you directly depend on is" + intro = count > 1 ? "#{count} installed gems you directly depend on are" : "#{count} installed gem you directly depend on is" message = "#{intro} looking for funding.\n Run `bundle fund` for details" Bundler.ui.info message end diff --git a/bundler/lib/bundler/cli/fund.rb b/bundler/lib/bundler/cli/fund.rb index d5eccb19b6a5..52db5aef68ae 100644 --- a/bundler/lib/bundler/cli/fund.rb +++ b/bundler/lib/bundler/cli/fund.rb @@ -27,7 +27,7 @@ def run end if fund_info.empty? - Bundler.ui.info "None of the gems you directly depend on are looking for funding." + Bundler.ui.info "None of the installed gems you directly depend on are looking for funding." else Bundler.ui.info fund_info.join("\n") end diff --git a/bundler/spec/commands/fund_spec.rb b/bundler/spec/commands/fund_spec.rb index 19d333b147f8..ee3aff3a29dc 100644 --- a/bundler/spec/commands/fund_spec.rb +++ b/bundler/spec/commands/fund_spec.rb @@ -36,7 +36,7 @@ bundle "fund" - expect(out).to include("None of the gems you directly depend on are looking for funding.") + expect(out).to include("None of the installed gems you directly depend on are looking for funding.") end describe "with --group option" do diff --git a/bundler/spec/install/gems/fund_spec.rb b/bundler/spec/install/gems/fund_spec.rb index 59d591828f1d..57e7c3aed393 100644 --- a/bundler/spec/install/gems/fund_spec.rb +++ b/bundler/spec/install/gems/fund_spec.rb @@ -11,7 +11,7 @@ gem 'rack-obama' G - expect(out).to include("2 gems you directly depend on are looking for funding.") + expect(out).to include("2 installed gems you directly depend on are looking for funding.") end it "displays the singular fund message after installing" do @@ -21,7 +21,7 @@ gem 'rack-obama' G - expect(out).to include("1 gem you directly depend on is looking for funding.") + expect(out).to include("1 installed gem you directly depend on is looking for funding.") end end @@ -61,7 +61,7 @@ gem 'also_has_funding', :git => '#{lib_path("also_has_funding-1.0")}' G - expect(out).to include("1 gem you directly depend on is looking for funding.") + expect(out).to include("1 installed gem you directly depend on is looking for funding.") end it "displays the fund message if repo is updated" do @@ -85,7 +85,7 @@ gem 'also_has_funding', :git => '#{lib_path("also_has_funding-1.1")}' G - expect(out).to include("1 gem you directly depend on is looking for funding.") + expect(out).to include("1 installed gem you directly depend on is looking for funding.") end it "displays the fund message if repo is not updated" do @@ -100,10 +100,10 @@ G bundle :install - expect(out).to include("1 gem you directly depend on is looking for funding.") + expect(out).to include("1 installed gem you directly depend on is looking for funding.") bundle :install - expect(out).to include("1 gem you directly depend on is looking for funding.") + expect(out).to include("1 installed gem you directly depend on is looking for funding.") end end end diff --git a/bundler/spec/update/gems/fund_spec.rb b/bundler/spec/update/gems/fund_spec.rb index 82d0771049af..6d7075b42412 100644 --- a/bundler/spec/update/gems/fund_spec.rb +++ b/bundler/spec/update/gems/fund_spec.rb @@ -23,7 +23,7 @@ end it "displays fund message" do - expect(out).to include("2 gems you directly depend on are looking for funding.") + expect(out).to include("2 installed gems you directly depend on are looking for funding.") end end end