This rum-spiked fruit in syrup can be refrigerated up to 1 week. Use this recipe to make Golden Cakes with Ginger-Poached Fruit.
Bring sugar, ginger, allspice, and 3/4 cup water to a boil in a medium saucepan, stirring, and cook 1 minute. Add pineapple, mango, and rum, and return to a boil. Remove from heat, and let cool 1 hour. Discard ginger and allspice.