refactor to fix gemspec.