Also, check that your spare tube is still in your bag. I had a flat a couple of weeks ago and had to resort to patching the tube by the roadside, my spare tube wasn't in my saddle bag, I found it on the floor of the shed when I got home. A couple of years ago I had a pump not working moment, on a bitter December day and was grateful for the appearance of a pair of cyclists who had a working pump.