mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 06:25:31 +02:00
13 lines
239 B
Ruby
13 lines
239 B
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative "helpers/compact_index"
|
|
|
|
class CompactIndexNoGem < CompactIndexAPI
|
|
get "/gems/:id" do
|
|
halt 500
|
|
end
|
|
end
|
|
|
|
require_relative "helpers/artifice"
|
|
|
|
Artifice.activate_with(CompactIndexNoGem)
|