witrin/magento-gifts — pull request #2 by quafzi (2013-03-28 10:22:49+00:00)
Title: just ignore gift if it's currently not available

If your gift is out of stock, you are not able to fill your cart, when the rule matches. So we need to just skip adding the gift.