summaryrefslogtreecommitdiff
path: root/lib/rubygems/ext/ext_conf_builder.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2020-03-24 19:51:43 +0100
committerHiroshi SHIBATA <[email protected]>2020-03-30 12:42:10 +0900
commitba9dcdab3669f11b2e265712ceb43227c366fc3b ()
treee6aa19535d1b3388c9303497e1dc649e9e804ed8 /lib/rubygems/ext/ext_conf_builder.rb
parentf987302cf4a59944e5f01572d8ac36bbdbbc97cc (diff)
[rubygems/rubygems] Enable Style/PercentLiteralDelimiters cop in rubygems
So it matches the style used by bundler. https://.com/rubygems/rubygems/commit/ab0580fd65
-rw-r--r--lib/rubygems/ext/ext_conf_builder.rb2
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
# Details: https://.com/rubygems/rubygems/issues/977#issuecomment-171544940
tmp_dest = get_relative_path(tmp_dest)
- Tempfile.open %w"siteconf .rb", "." do |siteconf|
siteconf.puts "require 'rbconfig'"
siteconf.puts "dest_path = #{tmp_dest.dump}"
%w[sitearchdir sitelibdir].each do |dir|