Rafael Devers crushed a solo shot, Luis Arraez tacked on an RBI-triple and came into score twice, and Robbie Ray allowed two runs over 5.1 innings as the San Francisco Giants defeated the New York Mets 7-2.