Dog finds home after almost a year in shelter