generate version in gemspec dynamically