class HTMLProofer::Cache

def determine_additions(urls_detected, type)

prepare to add new URLs detected
def determine_additions(urls_detected, type)
ons = type == :external ? determine_external_additions(urls_detected) : determine_internal_additions(urls_detected)
nk_count = additions.length
nk_text = pluralize(new_link_count, "new #{type} link", "new #{type} links")
r.log(:debug, "Adding #{new_link_text} to the cache")
ons