Ray blanks Dodgers through 7, D-Backs win 6-5

Arizona Diamondbacks' Jake Lamb watches the flight of his home run against the Los Angeles Dodgers during the third inning of a baseball game Sunday, July 17, 2016, in Phoenix. (AP Photo/Ross D. Franklin)
Ross D. Franklin/AP

PHOENIX (AP) Robbie Ray pitched seven scoreless innings, Jake Lamb hit his 21st home run and the Arizona Diamondbacks held on to beat Los Angeles 6-5 on Sunday to take two of three from the Dodgers.

Los Angeles had runners at first and third with one out in the ninth when rookie Jake Barrett struck out Yasiel Puig and Chris Taylor to earn his second save.

Ray (5-8) gave up four hits, struck out seven, walked two and hit two batters. The left-hander worked out of a bases-loaded, no-out jam in the second inning and left with a 6-0 lead.

Lamb hit a solo homer and singled in a run off Kenta Maeda (8-7), tagged for a season-worst five runs on seven hits in 4 1/3 innings starts.