diff options
author | Terence Lee <hone02@gmail.com> | 2011-08-04 18:00:40 -0500 |
---|---|---|
committer | Terence Lee <hone02@gmail.com> | 2011-08-04 18:00:40 -0500 |
commit | c9c9828afbbbcbeefb606d6049f8e7d2c38e97f6 (patch) | |
tree | 7987b0d7bf923fecb121dabdea8012608c0e5240 /spec/support/fakeweb | |
parent | a8e4badc3197c582750955dc5510a838fc10f4ce (diff) | |
download | bundler-c9c9828afbbbcbeefb606d6049f8e7d2c38e97f6.tar.gz |
Revert "need the whole list of gemspecs available when using the modern index"
This reverts commit a8e4badc3197c582750955dc5510a838fc10f4ce.
Diffstat (limited to 'spec/support/fakeweb')
-rw-r--r-- | spec/support/fakeweb/windows.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/support/fakeweb/windows.rb b/spec/support/fakeweb/windows.rb index c6c85598ee..b015e63970 100644 --- a/spec/support/fakeweb/windows.rb +++ b/spec/support/fakeweb/windows.rb @@ -6,8 +6,6 @@ files = [ 'specs.4.8.gz', 'quick/Marshal.4.8/rcov-1.0-mswin32.gemspec.rz', 'gems/rcov-1.0-mswin32.gem' ] -gemspecs = Dir["#{gem_repo1}/quick/Marshal.4.8/*.gemspec.rz"] - # Set up pretend http gem server with FakeWeb $LOAD_PATH.unshift "#{Dir[base_system_gems.join("gems/fakeweb*/lib")].first}" require 'fakeweb' @@ -18,11 +16,6 @@ files.each do |file| FakeWeb.register_uri(:get, "http://localgemserver.test/#{file}", :body => File.read("#{gem_repo1}/#{file}")) end -gemspecs.each do |gemspec| - FakeWeb.register_uri(:get, "http://localgemserver.test/quick/Marshal.4.8/#{File.basename(gemspec)}", - :body => File.read(gemspec)) -end - FakeWeb.register_uri(:get, "http://localgemserver.test/gems/rcov-1.0-x86-mswin32.gem", :status => ["404", "Not Found"]) |