diff --git a/lib/gemirro/gems_fetcher.rb b/lib/gemirro/gems_fetcher.rb index f546e14..241a8c0 100644 --- a/lib/gemirro/gems_fetcher.rb +++ b/lib/gemirro/gems_fetcher.rb @@ -73,7 +73,6 @@ def versions_for(gem) # def fetch_gemspec(gem, version) filename = gem.gemspec_filename(version) - puts filename.inspect satisfied = if gem.only_latest? true else diff --git a/lib/gemirro/server.rb b/lib/gemirro/server.rb index 6fcef25..c8304e7 100644 --- a/lib/gemirro/server.rb +++ b/lib/gemirro/server.rb @@ -168,7 +168,7 @@ def update_indexes Utils.logger.info('Generating indexes') indexer.update_index indexer.updated_gems.peach do |gem| - Utils.cache.flush_key(gem.name) + Utils.cache.flush_key(File.basename(gem)) end rescue SystemExit => e Utils.logger.info(e.message)