mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 05:55:46 +02:00
13 lines
261 B
Ruby
13 lines
261 B
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative "helpers/compact_index"
|
|
|
|
class CompactIndexApiMissing < CompactIndexAPI
|
|
get "/fetch/actual/gem/:id" do
|
|
halt 404
|
|
end
|
|
end
|
|
|
|
require_relative "helpers/artifice"
|
|
|
|
Artifice.activate_with(CompactIndexApiMissing)
|