Justin Ruggiano hit a leadoff homer to get Miami started and capped the game with a two-run shot in the ninth inning to lead the Marlins to their 10th win in their last 11 games in San Francisco, 7-2 over the Giants on Sunday.