Classification of Gibbs' states on Smale spaces and one-dimensional lattice systems