# File lib/rubygems/source_info_cache_entry.rb, line 23 def refresh(source_uri) remote_size = Gem::RemoteFetcher.fetcher.fetch_size source_uri + '/yaml' return if @size == remote_size # HACK bad check, local cache not YAML @source_index.update source_uri @size = remote_size end