lib/spandx/rubygems/gateway.rb in spandx-0.8.0 vs lib/spandx/rubygems/gateway.rb in spandx-0.9.0

- old
+ new

@@ -20,9 +20,10 @@ def index @index ||= OfflineIndex.new(:rubygems) end def details_on(name, version) + Spandx.logger.debug("Cache miss: #{name}-#{version}") url = "https://rubygems.org/api/v2/rubygems/#{name}/versions/#{version}.json" response = http.get(url, default: {}) http.ok?(response) ? parse(response.body) : {} end