From ad08674d8dc17c4ca031ce20760c4a4779c83e27 Mon Sep 17 00:00:00 2001 From: Thong Kuah Date: Mon, 1 Aug 2022 11:42:18 +1200 Subject: [rubygems/rubygems] Add CHECKSUMS for each gem in lockfile We lock the checksum for each resolved spec under a new CHECKSUMS section in the lockfile. If the locked spec does not resolve for the local platform, we preserve the locked checksum, similar to how we preserve specs. Checksum locking only makes sense on install. The compact index information is only available then. https://github.com/rubygems/rubygems/commit/bde37ca6bf --- spec/bundler/install/yanked_spec.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec/bundler/install/yanked_spec.rb') diff --git a/spec/bundler/install/yanked_spec.rb b/spec/bundler/install/yanked_spec.rb index dc054b50bb..930e3c4791 100644 --- a/spec/bundler/install/yanked_spec.rb +++ b/spec/bundler/install/yanked_spec.rb @@ -160,6 +160,8 @@ RSpec.context "when resolving a bundle that includes yanked gems, but unlocking bar foo + CHECKSUMS + BUNDLED WITH #{Bundler::VERSION} L -- cgit v1.2.3