diff options
author | Thong Kuah <tkuah@gitlab.com> | 2022-08-01 11:42:18 +1200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-10-23 13:59:01 +0900 |
commit | ad08674d8dc17c4ca031ce20760c4a4779c83e27 (patch) | |
tree | bf4958d6f06c36051f9c65e53c9e615ea1d978b2 /spec/bundler/plugins/source | |
parent | 2d468358a516f575d013f07801079e0906c61f0c (diff) |
[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
Diffstat (limited to 'spec/bundler/plugins/source')
-rw-r--r-- | spec/bundler/plugins/source/example_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/bundler/plugins/source/example_spec.rb b/spec/bundler/plugins/source/example_spec.rb index 9d153b6063..993a890b6c 100644 --- a/spec/bundler/plugins/source/example_spec.rb +++ b/spec/bundler/plugins/source/example_spec.rb @@ -87,6 +87,9 @@ RSpec.describe "real source plugins" do DEPENDENCIES a-path-gem! + CHECKSUMS + a-path-gem (1.0) + BUNDLED WITH #{Bundler::VERSION} G @@ -354,6 +357,9 @@ RSpec.describe "real source plugins" do DEPENDENCIES ma-gitp-gem! + CHECKSUMS + ma-gitp-gem (1.0) + BUNDLED WITH #{Bundler::VERSION} G |