ab022182a6 (master): [ruby/rubygems] Remove Bundler::CompactIndexClient

0 views
Skip to first unread message

Hiroshi SHIBATA

unread,
Aug 3, 2026, 10:35:22 PM (14 hours ago) Aug 3
to ruby...@g.ruby-lang.org
Hiroshi SHIBATA 2026-08-03 01:41:32 +0000 (Mon, 03 Aug 2026)

New Revision: ab022182a6

https://github.com/ruby/ruby/commit/ab022182a6

Log:
[ruby/rubygems] Remove Bundler::CompactIndexClient

Bundler now uses Gem::CompactIndexClient, so delete the duplicate
client and its unit specs. Coverage the specs had over the RubyGems
test suite moves to test-unit: available? boundaries, yanked-line
checksums, versions lines without a checksum, missing ETag headers
(https://github.com/ruby/rubygems/pull/5463), invalid gzip responses, blank partial responses, an etag
written concurrently by another process, and non UTF-8 responses under
an ASCII default internal encoding. This also fixes two latent Bundler
bugs by inheriting the RubyGems behavior: an inverted debug message in
the info fetch skip path, and a NoMethodError on malformed Digest
headers.

https://github.com/ruby/rubygems/commit/b2f2ce3161

Co-Authored-By: Claude Fable 5 <nor...@anthropic.com>

Removed files:
lib/bundler/compact_index_client.rb
lib/bundler/compact_index_client/cache.rb
lib/bundler/compact_index_client/cache_file.rb
lib/bundler/compact_index_client/parser.rb
lib/bundler/compact_index_client/updater.rb
spec/bundler/bundler/compact_index_client/cache_file_spec.rb
spec/bundler/bundler/compact_index_client/cache_spec.rb
spec/bundler/bundler/compact_index_client/parser_spec.rb
spec/bundler/bundler/compact_index_client/updater_spec.rb
Modified files:
lib/rubygems/compact_index_client.rb
spec/bundler/bundler/fetcher/compact_index_spec.rb
spec/bundler/support/shards.rb
test/rubygems/test_gem_compact_index_client_parser.rb
test/rubygems/test_gem_compact_index_client_updater.rb
Reply all
Reply to author
Forward
0 new messages