diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-10-11 01:34:12 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-10-18 16:33:15 +0900 |
commit | 4d3dbbe77e273262757483d402ee1157a48453e9 (patch) | |
tree | 73b991fafa7ee759a0cb110207b6f01d2d4838e3 /lib/bundler | |
parent | 74dbb0d09a694c40b8406ce35ca5d4278185c3f0 (diff) | |
download | ruby-4d3dbbe77e273262757483d402ee1157a48453e9.tar.gz |
[rubygems/rubygems] Remove unnecessary receiver
https://github.com/rubygems/rubygems/commit/ba9d9b1890
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/lazy_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 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) |