Extract `ReleaseCommand.new` into a `setup` block to remove duplication.
Add #filter_gemspecs to `GemRelease::Helpers` to remove gemspecs listed that exist in Bundler's vendor folder. Add specs for following cases: - No vendor folder gemspecs - Mix of vendor folder gemspecs and other gemspecs - Gemspecs existing inside a folder such as `src/vendor` which should be accessible to `gem-release`. Add vendor folder to gitignore.
The gemspec file was not being properly re-evaluated after the version file changed in rubygems 2.1.11, which led to the old version being used to tag and release gems that were just bumped. This workaround ensures that the new version number will be used by subsequent commands by passing it as an option that will be evaluated prior to the gemspec version. [Fixes #36]