[rubygems/rubygems] No reason for Definition#sources
to be private
https://github.com/rubygems/rubygems/commit/432fe083a6
This commit is contained in:
parent
9d5be3d9ed
commit
cff18256ca
@ -19,7 +19,8 @@ module Bundler
|
||||
:ruby_version,
|
||||
:lockfile,
|
||||
:gemfiles,
|
||||
:locked_checksums
|
||||
:locked_checksums,
|
||||
:sources
|
||||
)
|
||||
|
||||
# Given a gemfile and lockfile creates a Bundler definition
|
||||
@ -500,8 +501,6 @@ module Bundler
|
||||
|
||||
private
|
||||
|
||||
attr_reader :sources
|
||||
|
||||
def should_add_extra_platforms?
|
||||
!lockfile_exists? && generic_local_platform_is_ruby? && !Bundler.settings[:force_ruby_platform]
|
||||
end
|
||||
|
@ -29,7 +29,7 @@ module Bundler
|
||||
private
|
||||
|
||||
def add_sources
|
||||
definition.send(:sources).lock_sources.each_with_index do |source, idx|
|
||||
definition.sources.lock_sources.each_with_index do |source, idx|
|
||||
out << "\n" unless idx.zero?
|
||||
|
||||
# Add the source header
|
||||
|
Loading…
x
Reference in New Issue
Block a user