mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 03:24:00 +02:00
Merge pull request #5482 from hsbt/rubygems-3-3-bundler-2-3
Merge RubyGems 3.3.x and Bundler 2.3.x
This commit is contained in:
parent
69463805f0
commit
6794f8cf92
115 changed files with 1701 additions and 889 deletions
|
@ -117,12 +117,12 @@ If no gems are named all gems in GEM_HOME are cleaned.
|
|||
|
||||
def get_candidate_gems
|
||||
@candidate_gems = unless options[:args].empty?
|
||||
options[:args].map do |gem_name|
|
||||
Gem::Specification.find_all_by_name gem_name
|
||||
end.flatten
|
||||
else
|
||||
Gem::Specification.to_a
|
||||
end
|
||||
options[:args].map do |gem_name|
|
||||
Gem::Specification.find_all_by_name gem_name
|
||||
end.flatten
|
||||
else
|
||||
Gem::Specification.to_a
|
||||
end
|
||||
end
|
||||
|
||||
def get_gems_to_cleanup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue