summaryrefslogtreecommitdiff
path: root/spec/realworld
diff options
context:
space:
mode:
authorHomu <homu@barosl.com>2016-01-26 10:33:29 +0900
committerHomu <homu@barosl.com>2016-01-26 10:33:29 +0900
commit5bf695a971537c641635ce42f81e1ed78ab15af1 (patch)
treed2ca529e1185fe0c6f4478c684dc5be3fa183264 /spec/realworld
parent61d100fd6445b7b14b98d3d17df44e1b99193a81 (diff)
parent2cc678fe19c9ea337958ba0e62f1d214a05c9975 (diff)
downloadbundler-5bf695a971537c641635ce42f81e1ed78ab15af1.tar.gz
Auto merge of #3556 - bundler:seg-new-index-fetchers, r=segiddins
[Fetcher] Add Fetchers for the new index format! Things that need to be tested: - [x] CompactGemList sources - [x] mixed compact and full index sources - [x] mixed compact and api sources - [x] mixed compact, full, and api sources - [x] fallback from compact to api - [x] fallback from compact to full Things that need to be finished to ship this: - [x] install gems via compact index - [x] stop requesting /api/v1/dependencies if compact index request succeeds - [x] stop printing "Need to query more than 500 gems. Downloading full index instead..." - [x] stop printing "Fetching source index from https://bundler-api-staging.herokuapp.com/" - [ ] print useful info message, proposed: - [x] print "Fetching gem information from <server>..." before requesting `/versions` - [ ] print "." for each additional `/info/<gem>` request - [x] accept full files gzipped - [x] request and accept ranges using un-gzipped offsets - [ ] make sure this client works against fastly-cached text files - [x] share cache between mirrors and original source - [x] Add username to cache path
Diffstat (limited to 'spec/realworld')
-rw-r--r--spec/realworld/gemfile_source_header_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/realworld/gemfile_source_header_spec.rb b/spec/realworld/gemfile_source_header_spec.rb
index 70039fa640..6c2c05eaa7 100644
--- a/spec/realworld/gemfile_source_header_spec.rb
+++ b/spec/realworld/gemfile_source_header_spec.rb
@@ -1,7 +1,7 @@
require "spec_helper"
require "thread"
-describe "fetching dependencies with a mirrored source", :rubygems => ">= 2.0" do
+describe "fetching dependencies with a mirrored source", :realworld => true, :rubygems => ">= 2.0" do
let(:mirror) { "https://server.example.org" }
let(:original) { "http://127.0.0.1:#{@port}" }