diff options
author | Laurent Arnoud <laurent@spkdev.net> | 2016-03-26 12:27:13 +0100 |
---|---|---|
committer | Laurent Arnoud <laurent@spkdev.net> | 2016-03-29 18:53:57 +0200 |
commit | e469222292e5bb3fbac26c47563de39a956b3aad (patch) | |
tree | 795c0e232c115a94598674c7e1676b0742bef585 | |
parent | 8e5ae78f89ae89ed689c3b2eeff2260bd74a48f7 (diff) | |
download | bundler-e469222292e5bb3fbac26c47563de39a956b3aad.tar.gz |
Fix 80 column on newgem gemspec
-rw-r--r-- | lib/bundler/templates/newgem/newgem.gemspec.tt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/bundler/templates/newgem/newgem.gemspec.tt b/lib/bundler/templates/newgem/newgem.gemspec.tt index 22916f12ad..9d6d491dce 100644 --- a/lib/bundler/templates/newgem/newgem.gemspec.tt +++ b/lib/bundler/templates/newgem/newgem.gemspec.tt @@ -21,10 +21,13 @@ Gem::Specification.new do |spec| 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"] |