refactor gemspec