class Gem::Specification

def deleted_gem?

def deleted_gem?
  !default_gem? && !File.directory?(full_gem_path)
end