diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2024-08-02 20:55:32 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-08-05 17:27:10 +0000 |
| commit | 7d97dde2e283e792314826e52be4bbd22b296cc0 (patch) | |
| tree | a10b5b747fabc2fb6c4ac37c4c32705ac5b8098b /lib | |
| parent | 2985770b05acdc11929b40978dacc645b86461d8 (diff) | |
[rubygems/rubygems] Move private reader to private section
https://github.com/rubygems/rubygems/commit/651cf3ea7a
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bundler/definition.rb | 5 |
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 |
