…error on Windows. Patch by usa from ruby-trunk r35337
Before accessing the core API (indexes, specs, .gem files), RubyGems will query the source via a DNS SRV record, to see if there is a specific API host to connect to rather than directly to the source itself. This allows for the usage of short, simple source names (like https://rubygems.org) with specific api endpoint names, which improves load balancing.
fake fetcher should follow suit.
…UBY_REVISION when patchlevel is -1
… into erikh-cache-normalization * 'cache-normalization' of https://github.com/erikh/rubygems: * Fix more extraneous File.join calls * Silly wabbit. remote fetcher tests More tests most commands out of the way. install command fetch command test_gem.rb moar gem cache handling in base test case Checkpointing; cache api slightly modified and redocumented; applied to most non-test places. ! Gem.cache_dir always references the proper cache dir. Pass true to support a user path. ! Gem.cache_gem, given a filename always references the cache gem. Pass true to support a user path.
…nstead of a name and version
…to most non-test places.
cache_dir renamed to cache_gem and stuffed in Gem::Specification download_in_cache extracted from unpack/pristine and shoved in Gem::RemoteFetcher. FakeFetcher got this change too. Test fix because I'm a moron who can't run tests right before commit.