Home Depot Inc. said early Thursday that it had agreed to buy SRS Distribution Inc., a building ... while Moody’s rates it at A2, placing it firmly in the investment-grade category.