Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Merge #7379
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bundlerbot and jonathanhefner committed Oct 19, 2019
2 parents c9d1635 + 768bfbe commit 43f1ab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 %>
Expand All @@ -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"
Expand Down

0 comments on commit 43f1ab7

Please sign in to comment.