Robbie Ray boosts trade value in Giants victory