Tractor Supply sees third-quarter gains