rehash method
Version bump to 0.4.0
Regenerate gemspec for version 0.4.0