1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Remove unnecessary special case for Bundler

https://github.com/rubygems/rubygems/commit/2777e79b8e
This commit is contained in:
David Rodríguez 2022-07-23 09:19:34 +02:00 committed by git
parent 6ec8f684aa
commit 7cc5a657ee
2 changed files with 2 additions and 8 deletions

View file

@ -524,10 +524,8 @@ module Bundler
end
end
unless specs["bundler"].any?
bundler = sources.metadata_source.specs.search(Gem::Dependency.new("bundler", VERSION)).last
specs["bundler"] = bundler
end
bundler = sources.metadata_source.specs.search(Gem::Dependency.new("bundler", VERSION)).last
specs["bundler"] = bundler
specs
end

View file

@ -35,10 +35,6 @@ module Bundler
end
end
if spec = lookup["bundler"].first
specs << spec
end
specs
end