зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Make private helper private
https://github.com/rubygems/rubygems/commit/de9dc90026
This commit is contained in:
Родитель
76916217b6
Коммит
e900814467
|
@ -312,10 +312,6 @@ module Bundler
|
|||
end
|
||||
end
|
||||
|
||||
def should_complete_platforms?
|
||||
!lockfile_exists? && generic_local_platform_is_ruby? && !Bundler.settings[:force_ruby_platform]
|
||||
end
|
||||
|
||||
def spec_git_paths
|
||||
sources.git_sources.map {|s| File.realpath(s.path) if File.exist?(s.path) }.compact
|
||||
end
|
||||
|
@ -517,6 +513,10 @@ module Bundler
|
|||
|
||||
private
|
||||
|
||||
def should_complete_platforms?
|
||||
!lockfile_exists? && generic_local_platform_is_ruby? && !Bundler.settings[:force_ruby_platform]
|
||||
end
|
||||
|
||||
def lockfile_exists?
|
||||
lockfile && File.exist?(lockfile)
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче