Deputy Juan Ruiz was a three-year veteran of the force