A dog described as the "thinnest" RSPCA inspectors had ever seen is ready to be rehomed after being nursed back to health.