Ace Hardware reports sales gains in Q2