Shock Acceleration of Ions in the Heliosphere