mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
a9509068db
The compact index should not request any marshaled gemspecs whatsoever. https://github.com/rubygems/rubygems/commit/6dbd44d0c0
13 lines
237 B
Ruby
13 lines
237 B
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative "compact_index"
|
|
|
|
Artifice.deactivate
|
|
|
|
class CompactIndexApiMissing < CompactIndexAPI
|
|
get "/fetch/actual/gem/:id" do
|
|
halt 404
|
|
end
|
|
end
|
|
|
|
Artifice.activate_with(CompactIndexApiMissing)
|