ruby-changes:74085
From: David <ko1@a...>
Date: Tue, 18 Oct 2022 16:33:44 +0900 (JST)
Subject: [ruby-changes:74085] 4d3dbbe77e (master): [rubygems/rubygems] Remove unnecessary receiver
https://git.ruby-lang.org/ruby.git/commit/?id=4d3dbbe77e From 4d3dbbe77e273262757483d402ee1157a48453e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Tue, 11 Oct 2022 01:34:12 +0200 Subject: [rubygems/rubygems] Remove unnecessary receiver https://github.com/rubygems/rubygems/commit/ba9d9b1890 --- lib/bundler/lazy_specification.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb index ec141cfa27..3630de5672 100644 --- a/lib/bundler/lazy_specification.rb +++ b/lib/bundler/lazy_specification.rb @@ -77,7 +77,7 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/lazy_specification.rb#L77 source.local! candidates = if source.is_a?(Source::Path) || !ruby_platform_materializes_to_ruby_platform? - target_platform = ruby_platform_materializes_to_ruby_platform? ? platform : Bundler.local_platform + target_platform = ruby_platform_materializes_to_ruby_platform? ? platform : local_platform source.specs.search(Dependency.new(name, version)).select do |spec| MatchPlatform.platforms_match?(spec.platform, target_platform) -- cgit v1.2.3 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/