class Dependabot::GitMetadataFetcher
def provider_url(ref)
def provider_url(ref) provider_url = url.gsub(/\.git$/, "") api_url = { github: provider_url.gsub("github.com", "api.github.com/repos") }.freeze "#{api_url[:github]}/commits?per_page=100&sha=#{ref}" end