diff options
author | Samuel Giddins <[email protected]> | 2023-08-09 13:45:56 -0700 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-10-23 13:59:01 +0900 |
commit | c5fd94073ff2e22b6eea29c242c7e4a12ed7c865 () | |
tree | 327479235e44b16b1dd927b3d6b8b53b36bdc8c8 /spec/bundler/commands/check_spec.rb | |
parent | 69d7e9a12eb6e3dbfa1b1021b73c2afcbf7d4a46 (diff) |
[rubygems/rubygems] Refactor to checksums stored via source
This gets the specs passing, and handles the fact that we expect checkums to be pinned only to a particular source This also avoids reading in .gem files during lockfile generation, instead allowing us to query the source for each resolved gem to grab the checksum Finally, this opens up a route to having user-stored checksum databases, similar to how other package managers do this! Add checksums to dev lockfiles Handle full name conflicts from different original_platforms when adding checksums to store from compact index Specs passing on Bundler 3 https://.com/rubygems/rubygems/commit/86c7084e1c
-rw-r--r-- | spec/bundler/commands/check_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -426,8 +426,8 @@ RSpec.describe "bundle check" do depends_on_rack! CHECKSUMS - #{checksum_for_repo_gem gem_repo4, "depends_on_rack", "1.0"} - #{checksum_for_repo_gem gem_repo4, "rack", "1.0"} BUNDLED WITH #{Bundler::VERSION} |