mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02:00
[rubygems/rubygems] Enable Style/PercentLiteralDelimiters cop in rubygems
So it matches the style used by bundler.
ab0580fd65
This commit is contained in:
parent
f987302cf4
commit
ba9dcdab36
47 changed files with 302 additions and 302 deletions
|
@ -27,7 +27,7 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
|
|||
# Details: https://github.com/rubygems/rubygems/issues/977#issuecomment-171544940
|
||||
tmp_dest = get_relative_path(tmp_dest)
|
||||
|
||||
Tempfile.open %w"siteconf .rb", "." do |siteconf|
|
||||
Tempfile.open %w[siteconf .rb], "." do |siteconf|
|
||||
siteconf.puts "require 'rbconfig'"
|
||||
siteconf.puts "dest_path = #{tmp_dest.dump}"
|
||||
%w[sitearchdir sitelibdir].each do |dir|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue