Attempt to fix test-bundler

f7cf641469161c3770b58f79e08e312512212aa8 broke spec/bundler/install/gems/resolving_spec.rb:356.
This line seems to impact that test, so I slightly modified the
implementation for that spec's case.
This commit is contained in:
Takashi Kokubun 2022-09-04 21:44:52 -07:00
parent 4d469472e2
commit 277498e2a2
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD

View File

@ -12,7 +12,7 @@ module Bundler
super()
@name = name
@version = Gem::Version.create version
@platform = Gem::Platform.new(platform)
@platform = platform.nil? ? nil : Gem::Platform.new(platform)
@spec_fetcher = spec_fetcher
@dependencies = dependencies.map {|dep, reqs| build_dependency(dep, reqs) }