fixed dependency order
Version bump to 0.0.31
Regenerate gemspec for version 0.0.31