зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] This should go through the standard source search logic
https://github.com/rubygems/rubygems/commit/087e3e4e3b
This commit is contained in:
Родитель
35e508d13e
Коммит
91b9bd6234
|
@ -88,9 +88,7 @@ module Bundler
|
|||
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче