diff options
author | Bundlerbot <bot@bundler.io> | 2019-10-19 18:20:30 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2019-10-19 18:20:30 +0000 |
commit | 43f1ab7c48e8a0dbe49c07d13a7ff8f47e675ee1 (patch) | |
tree | 5fef67ade15809320471cadccd5960977c64d93e /lib/bundler | |
parent | c9d16351b4e2a8a41ce9e3a812b7612970b25a78 (diff) | |
parent | 768bfbeebce264f146ed9020149ae2a79004b877 (diff) | |
download | bundler-43f1ab7c48e8a0dbe49c07d13a7ff8f47e675ee1.tar.gz |
Merge #7379
7379: Switch to double quotes to match rest of file r=deivid-rodriguez a=jonathanhefner
### What was your diagnosis of the problem?
It is common to prefer double quotes, unless single quotes are needed. It is also generally preferred to use a consistent quote style (whether double quotes or single quotes).
### What is your fix for the problem, implemented in this PR?
Switch the anomalous single quotes to double quotes.
Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/templates/newgem/newgem.gemspec.tt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/templates/newgem/newgem.gemspec.tt b/lib/bundler/templates/newgem/newgem.gemspec.tt index 9bb3d0ff50..7961ccf24c 100644 --- a/lib/bundler/templates/newgem/newgem.gemspec.tt +++ b/lib/bundler/templates/newgem/newgem.gemspec.tt @@ -1,4 +1,4 @@ -require_relative 'lib/<%=config[:namespaced_path]%>/version' +require_relative "lib/<%=config[:namespaced_path]%>/version" Gem::Specification.new do |spec| spec.name = <%= config[:name].inspect %> @@ -22,7 +22,7 @@ Gem::Specification.new do |spec| # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. - spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do + spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } end spec.bindir = "exe" |