Rubby De La Rosa stymied the Giants over 5 2/3 innings and Welington Castillo collected an RBI groundout as Arizona played spoiler to San Francisco's chances at a playoff spot, securing a 2-0 win Friday night at AT&T Park.