Nucleation of superconductivity in a thin disk with a ring-like defect