summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2024-08-02 20:55:32 +0200
committergit <svn-admin@ruby-lang.org>2024-08-05 17:27:10 +0000
commit7d97dde2e283e792314826e52be4bbd22b296cc0 (patch)
treea10b5b747fabc2fb6c4ac37c4c32705ac5b8098b
parent2985770b05acdc11929b40978dacc645b86461d8 (diff)
[rubygems/rubygems] Move private reader to private section
https://github.com/rubygems/rubygems/commit/651cf3ea7a
-rw-r--r--lib/bundler/definition.rb5
1 files 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