зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Remove unnecessary receiver
https://github.com/rubygems/rubygems/commit/ba9d9b1890
This commit is contained in:
Родитель
74dbb0d09a
Коммит
4d3dbbe77e
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче