From 7d97dde2e283e792314826e52be4bbd22b296cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 2 Aug 2024 20:55:32 +0200 Subject: [PATCH] [rubygems/rubygems] Move private reader to private section https://github.com/rubygems/rubygems/commit/651cf3ea7a --- lib/bundler/definition.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 4cae6cd892..31b9517693 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -476,9 +476,6 @@ module Bundler end end - attr_reader :sources - private :sources - def nothing_changed? return false unless lockfile_exists? @@ -504,6 +501,8 @@ module Bundler private + attr_reader :sources + def should_add_extra_platforms? !lockfile_exists? && generic_local_platform_is_ruby? && !Bundler.settings[:force_ruby_platform] end