module Bundler::CLI::Common
def self.output_fund_metadata_summary
def self.output_fund_metadata_summary return if Bundler.settings["ignore_funding_requests"] definition = Bundler.definition current_dependencies = definition.requested_dependencies current_specs = definition.specs count = current_dependencies.count {|dep| current_specs[dep.name].first.metadata.key?("funding_uri") } return if count.zero? 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