MIAMI — Tropical Storm Barbara strengthens into a hurricane off western Mexico coast.