Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 293 Bytes
require File.expand_path("../endpoint", __FILE__)
Artifice.deactivate
class EndpointRedirect < Endpoint
get "/fetch/actual/gem/:id" do
redirect "/fetch/actual/gem/#{params[:id]}"
end
get "/api/v1/dependencies" do
status 404
end
end
Artifice.activate_with(EndpointRedirect)
Something went wrong with that request. Please try again.