From c4fdfabcc8ea3f6186d1560f7756211fce125be3 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 16 Dec 2015 05:31:54 +0000 Subject: handle ext/ as r53141 g -L frozen_string_literal ext/**/*.rb|xargs ruby -Ka -e'ARGV.each{|fn|puts fn;open(fn,"r+"){|f|s=f.read.sub(/\A(#!.*\n)?(#.*coding.*\n)?/,"\\&# frozen_string_literal: false\n");f.rewind;f.write s}}' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/-test-/marshal/compat/extconf.rb | 1 + ext/-test-/marshal/internal_ivar/extconf.rb | 1 + ext/-test-/marshal/usr/extconf.rb | 1 + 3 files changed, 3 insertions(+) (limited to 'ext/-test-/marshal') diff --git a/ext/-test-/marshal/compat/extconf.rb b/ext/-test-/marshal/compat/extconf.rb index bb11ebfb8c..9bf44b473a 100644 --- a/ext/-test-/marshal/compat/extconf.rb +++ b/ext/-test-/marshal/compat/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/marshal/compat") diff --git a/ext/-test-/marshal/internal_ivar/extconf.rb b/ext/-test-/marshal/internal_ivar/extconf.rb index 9b905d91d7..cb3f825dbd 100644 --- a/ext/-test-/marshal/internal_ivar/extconf.rb +++ b/ext/-test-/marshal/internal_ivar/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/marshal/internal_ivar") diff --git a/ext/-test-/marshal/usr/extconf.rb b/ext/-test-/marshal/usr/extconf.rb index c662b23dd5..b7886b9eea 100644 --- a/ext/-test-/marshal/usr/extconf.rb +++ b/ext/-test-/marshal/usr/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/marshal/usr") -- cgit v1.2.3