Pepper spray is my last resort. Years ago, my sister once accidently discharge a pepper spray while the family was opening gift. She did not know what it was and hit the button. It hit the wall between my dad and mom. Everybody instantly started coughing uncontrollably. That is some powerful stuff. It took 1/2 hour before anyone can go back in. If I knew the dog better, I will not spray it, however a wild and unknown agressive dog is a different story. I have once sprayed a dog with a water gun filled with ammonia and he didn't like it at all, but I never really tried it on a very aggressive dog.
I have a 5ft cable for locking my wheels. I like to fold it in half and take the velcro strap and tie the tip together tightly. If I ever need it, it makes a good whip. For storing it, I slip it into two Twofish block mounted on my top tube near mu stem and seat post. It allow me to pull the cable out fast when I have to.