aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/definition.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2024-06-27 19:53:52 +0200
committergit <svn-admin@ruby-lang.org>2024-07-23 19:40:09 +0000
commit481c83453b447f2645a146bc5c45199659c71860 (patch)
tree82b4e958a3dee42b5ba217578edb7ff0419dcc17 /lib/bundler/definition.rb
parent5b931d9de6ca578b72ca55a134cd69863880092d (diff)
downloadruby-481c83453b447f2645a146bc5c45199659c71860.tar.gz
[rubygems/rubygems] Enable checksums on Bundler 3 for fresh lockfiles
And get specs passing. https://github.com/rubygems/rubygems/commit/c23b5f5b84
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r--lib/bundler/definition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index d403f2d586..8014056c23 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -115,7 +115,7 @@ module Bundler
@originally_locked_specs = @locked_specs
@locked_sources = []
@locked_platforms = []
- @locked_checksums = nil
+ @locked_checksums = Bundler.feature_flag.bundler_3_mode?
end
locked_gem_sources = @locked_sources.select {|s| s.is_a?(Source::Rubygems) }