PHOENIX -- The way Arizona is hitting right now, left-hander Wade Miley has one goal when he takes the mound. Throw strikes and let his offense get back to work.
Backed by three home runs and Cody Ross' first career five-hit game, Miley won his first game in a month in the Diamondbacks' 11-1 victory over the Colorado Rockies on Saturday night.
"They are hitting the ball well right now. You want to go right after guys and get the offense back out there as soon as possible," Miley said.
Paul Goldschmidt hit his career-high 21st home run, Martin Prado hit his eighth and Miguel Montero connected for his sixth of the season as the Diamondbacks (46-41) won their fourth straight game.
Goldschmidt extended his National League RBI lead to 73 with a two-run shot in the fifth. Prado hit a two-run homer in the seventh and Montero added a three-run blast in the eighth.
Miley (5-7) gave up one run and five hits in eight innings, his longest outing of the year, as the Diamondbacks extended their NL West to lead to 4 1/2 games. Miley had not won in five starts since June 5, although his ERA during that span was 2.76.
"I was locating with the fastball getting ahead, expanding the plate a little bit," Miley said. "I got some guys to take some awkward swings. I'm just going out there trying to pitch, trying to keep the team in the game."
Carlos Gonzalez, like Goldschmidt named to the NL All-Star team on Saturday, hit his league-leading 24th home run of the season in the seventh inning to end Miley's career-high streak of 13 consecutive scoreless innings.
Gonzalez had four of Colorado's six hits as the Rockies (42-46) lost for the fifth time in the past six games.
Colorado manager Walt Weiss said it is important for the Rockies to make a push before the All-Star break.
"We have talked about being in the division this entire road trip," Weiss said. "This would be a great time to show that resiliency."
The Rockies, tied for second place in the NL West. have series in San Diego and Los Angeles before the All-Star break.
Michael Cuddyer, also named to the NL All-Star team, doubled off Miley in the seventh inning. He has hit safely in 31 of his last 32 games and is second in the NL with a .341 batting average.
Miley opened the scoring with a three-run double with two outs in the second, after Ross doubled and Gerardo Parra and Didi Gregorius walked off Drew Pomeranz (0-2).
"That's huge when a pitcher can come up and help himself out in that situation. It calms him. It calms the team," Ross said. "They can just go out there and focus on throwing strikes, and that's what he did."
Goldschmidt's homer in the third make it 5-0.
"I was just rushing myself and made some bad pitches in bad spots," Pomeranz said. "It is frustrating but I have to put my team in a better spot to win the game."
Ross added four singles and scored three runs. He has hit safely in seven of eight games, with two homers.
"It obviously feels good. It even feels better with the win," Ross said. "That's the main thing. When you contribute and help out the team, that is the best part of it."
Ross singled to open the fifth inning, took second on Manny Corpas' balk and scored on Parra's double to center. Parra has 26 doubles, tied for third in the NL.
Gonzalez's home run leading off the seventh broke up Miley's shutout and was the first Colorado runner past first base. Miley gave up three singles and a walk in the first six innings, and two were erased on double-play grounders.
"He gave up a solo homer to 'Cargo,' and that was it. 'Cargo' swung the bat well, but when nobody is on in front of him, it doesn't matter. Very well done," Ross said.
NOTES: Gonzalez was back in the lineup after missing Friday's game with a strained back muscle. Gonzalez was one of three Rockies named to the NL All-Star team with SS Troy Tulowitzki and Cuddyer. ... The Diamondbacks had two All-Stars -- Goldschmidt and LHP Patrick Corbin. Corbin (9-1) is to make his seventh attempt at his 10th victory in the series finale on Sunday. ... Colorado RHP Roy Oswalt will make his fourth start of the season on Sunday. He has given up 27 hits and 14 runs in his first three outings covering 16 innings.