ruby-changes:72776
From: David <ko1@a...>
Date: Tue, 2 Aug 2022 16:10:38 +0900 (JST)
Subject: [ruby-changes:72776] 91b9bd6234 (master): [rubygems/rubygems] This should go through the standard source search logic
https://git.ruby-lang.org/ruby.git/commit/?id=91b9bd6234 From 91b9bd62347dbb0971904593a11320d64076a1ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Mon, 25 Jul 2022 11:14:06 +0200 Subject: [rubygems/rubygems] This should go through the standard source search logic https://github.com/rubygems/rubygems/commit/087e3e4e3b --- lib/bundler/lazy_specification.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb index fdf37fd7a4..3d704a7f12 100644 --- a/lib/bundler/lazy_specification.rb +++ b/lib/bundler/lazy_specification.rb @@ -88,9 +88,7 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/lazy_specification.rb#L88 end def __materialize__(platform) - @specification = if source.is_a?(Source::Gemspec) && source.gemspec.name == name - source.gemspec.tap {|s| s.source = source } - else + @specification = begin search_object = if source.is_a?(Source::Path) || !ruby_platform_materializes_to_ruby_platform? Dependency.new(name, version) else -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/