A spark can *definitely* support the ignition/combustion of a flammable liquid. However, a bullet pierces the tank so quickly that sparks are rarely generated, OR they simply dissipate so quickly that the gasses never have a chance to ignite.
This would be the case with Rick's Colt. A .357 Magnum would rip through a fuel tank like a hot knife through butter.