After months of souring views driven in part by a surge in gas prices, Americans are feeling more and more optimistic about the economy, according to new data released Friday.

High gas prices pushed annual inflation to the highest level in three years, according to May data released by the Commerce Department on Thursday.

"Increases were seen across income, wealth, and political affiliation,"