class KPM::Installer
def clean_up_sha1s(removed_plugins, plugins_dir)
def clean_up_sha1s(removed_plugins, plugins_dir) sha1checker = KPM::Sha1Checker.from_file(File.join(plugins_dir, KPM::BaseInstaller::SHA1_FILENAME)) removed_plugins.each do |removed| coordinates = KPM::Coordinates.build_coordinates(group_id: removed['group_id'], artifact_id: removed['artifact_id'], packaging: removed['packaging'], classifier: removed['classifier'], version: removed['version']) sha1checker.remove_entry!(coordinates) end end