A woman has been banned from keeping animals after a puppy that belonged to her was found starved to death in the garden of her home in North Yorkshire.