Details
Description
Create a hosted rubygems repo
Create a proxy of this hosted repo
Deploy a gem to the hosted repo
gem sources -c on the client to clear caches
Fetch the specs file from the proxy, ie. via search
> gem search -V -a bundler *** REMOTE GEMS *** GET http://localhost:8081/nexus/content/repositories/proxyruby/specs.4.8.gz 200 OK
= no results
but if you hit the hosted as well, the new gem is found, proving the gem specs file was updated:
> gem search --source http://localhost:8081/nexus/content/repositories/hostedruby -V -a bundler *** REMOTE GEMS *** GET http://localhost:8081/nexus/content/repositories/proxyruby/specs.4.8.gz 200 OK GET http://localhost:8081/nexus/content/repositories/hostedruby/specs.4.8.gz 200 OK bundler (1.6.3)
Expected: proxy should get the updated specs file on cache expiration and report deployed gem as available.