lib/bundler/templates/newgem/newgem.gemspec.tt in bundler-1.12.6 vs lib/bundler/templates/newgem/newgem.gemspec.tt in bundler-1.13.0.pre.1

- old
+ new

@@ -19,13 +19,16 @@ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' # to allow pushing to a single host or delete this section to allow pushing to any host. if spec.respond_to?(:metadata) spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'" else - raise "RubyGems 2.0 or newer is required to protect against public gem pushes." + raise "RubyGems 2.0 or newer is required to protect against " \ + "public gem pushes." end - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + spec.files = `git ls-files -z`.split("\x0").reject do |f| + f.match(%r{^(test|spec|features)/}) + end spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] <%- if config[:ext] -%> spec.extensions = ["ext/<%=config[:underscored_name]%>/extconf.rb"]