diff options
author | David RodrÃguez <[email protected]> | 2024-06-27 19:53:52 +0200 |
---|---|---|
committer | git <[email protected]> | 2024-07-23 19:40:09 +0000 |
commit | 481c83453b447f2645a146bc5c45199659c71860 (patch) | |
tree | 82b4e958a3dee42b5ba217578edb7ff0419dcc17 /lib | |
parent | 5b931d9de6ca578b72ca55a134cd69863880092d (diff) |
[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')
-rw-r--r-- | lib/bundler/definition.rb | 2 |
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) } |