Darin Ruf, who was released by the Mets on April 2, will be returning to the Giants, who traded him last season to New York, on a minor league deal.