diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-09-29 07:30:43 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-10-18 16:33:15 +0900 |
commit | da1981fca450b5dd28d252cd42d59480c7d062b7 (patch) | |
tree | d262ba0e011b4bc293ce3c6ea3054f04bd0dfdf7 /lib/bundler/shared_helpers.rb | |
parent | 4205190cb24c350f0fbe5471881c25e8ecece96c (diff) |
[rubygems/rubygems] Remove unused parameter to `SharedHelpers.pretty_dependency`
https://github.com/rubygems/rubygems/commit/665051d085
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6578
Diffstat (limited to 'lib/bundler/shared_helpers.rb')
-rw-r--r-- | lib/bundler/shared_helpers.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb index 8c4e26f074..899eb68e0a 100644 --- a/lib/bundler/shared_helpers.rb +++ b/lib/bundler/shared_helpers.rb @@ -163,7 +163,7 @@ module Bundler "\nEither installing with `--full-index` or running `bundle update #{spec.name}` should fix the problem." end - def pretty_dependency(dep, print_source = false) + def pretty_dependency(dep) msg = String.new(dep.name) msg << " (#{dep.requirement})" unless dep.requirement == Gem::Requirement.default @@ -172,7 +172,6 @@ module Bundler msg << " " << platform_string if !platform_string.empty? && platform_string != Gem::Platform::RUBY end - msg << " from the `#{dep.source}` source" if print_source && dep.source msg end |