Dodgers 4, Giants 3

SAN FRANCISCO -- Los Angeles scored three times in the fifth inning, taking the lead for good en route to a victory over San Francisco and a three-game sweep in the matchup of National League West front-runners.

Hyun-Jin Ryu earned his 12th win and three Dodgers relievers combined for three innings of shutout ball as Los Angeles moved 1 1/2 games ahead of San Francisco after beginning the series 1 1/2 games back.

Hanley Ramirez broke a 2-2 tie with an RBI single in the fifth, and Carl Crawford drove in the eventual winning run with a triple.