[rubygems/rubygems] Stop allowing calling #gem on random objects

4b8570ae15
This commit is contained in:
David Rodríguez 2025-07-02 10:39:12 +02:00 committed by Hiroshi SHIBATA
parent 845e878f88
commit 6a5808965b
6 changed files with 1 additions and 27 deletions

View file

@ -33,7 +33,6 @@ module Bundler
settings_flag(:global_gem_cache) { bundler_4_mode? }
settings_flag(:lockfile_checksums) { bundler_4_mode? }
settings_flag(:plugins) { @bundler_version >= Gem::Version.new("1.14") }
settings_flag(:setup_makes_kernel_gem_public) { !bundler_4_mode? }
settings_flag(:update_requires_all_flag) { bundler_5_mode? }
settings_option(:default_cli_command) { bundler_4_mode? ? :cli_help : :install }