[rubygems/rubygems] Move private reader to private section

https://github.com/rubygems/rubygems/commit/651cf3ea7a
This commit is contained in:
David Rodríguez 2024-08-02 20:55:32 +02:00 committed by git
parent 2985770b05
commit 7d97dde2e2

View File

@ -476,9 +476,6 @@ module Bundler
end end
end end
attr_reader :sources
private :sources
def nothing_changed? def nothing_changed?
return false unless lockfile_exists? return false unless lockfile_exists?
@ -504,6 +501,8 @@ module Bundler
private private
attr_reader :sources
def should_add_extra_platforms? def should_add_extra_platforms?
!lockfile_exists? && generic_local_platform_is_ruby? && !Bundler.settings[:force_ruby_platform] !lockfile_exists? && generic_local_platform_is_ruby? && !Bundler.settings[:force_ruby_platform]
end end