diff options
Diffstat (limited to 'spec/bundler/support/artifice/compact_index_redirects.rb')
-rw-r--r-- | spec/bundler/support/artifice/compact_index_redirects.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/spec/bundler/support/artifice/compact_index_redirects.rb b/spec/bundler/support/artifice/compact_index_redirects.rb deleted file mode 100644 index e83451b5b6..0000000000 --- a/spec/bundler/support/artifice/compact_index_redirects.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -require File.expand_path("../compact_index", __FILE__) - -Artifice.deactivate - -class CompactIndexRedirect < CompactIndexAPI - get "/fetch/actual/gem/:id" do - redirect "/fetch/actual/gem/#{params[:id]}" - end - - get "/versions" do - status 404 - end - - get "/api/v1/dependencies" do - status 404 - end -end - -Artifice.activate_with(CompactIndexRedirect) |