Riveiro revels in Pirates’ top form