Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1.3.1
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (11 sloc) 0.293 kb
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)
Jump to Line
Something went wrong with that request. Please try again.