summaryrefslogtreecommitdiff
path: root/ext/-test-
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-16 05:31:54 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-16 05:31:54 +0000
commitc4fdfabcc8ea3f6186d1560f7756211fce125be3 (patch)
tree52953802cfeae93908e52c59596365a3e946118b /ext/-test-
parent183c1a0fa1c9599f613ea8f4c54ed5229354714f (diff)
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
Diffstat (limited to 'ext/-test-')
-rw-r--r--ext/-test-/array/resize/extconf.rb1
-rw-r--r--ext/-test-/bignum/extconf.rb1
-rw-r--r--ext/-test-/bug-3571/extconf.rb1
-rw-r--r--ext/-test-/bug-5832/extconf.rb1
-rw-r--r--ext/-test-/bug_reporter/extconf.rb1
-rw-r--r--ext/-test-/class/extconf.rb1
-rw-r--r--ext/-test-/debug/extconf.rb1
-rw-r--r--ext/-test-/dln/empty/extconf.rb1
-rw-r--r--ext/-test-/exception/extconf.rb1
-rw-r--r--ext/-test-/fatal/extconf.rb1
-rw-r--r--ext/-test-/file/extconf.rb1
-rw-r--r--ext/-test-/float/extconf.rb1
-rw-r--r--ext/-test-/funcall/extconf.rb1
-rw-r--r--ext/-test-/gvl/call_without_gvl/extconf.rb1
-rw-r--r--ext/-test-/hash/extconf.rb1
-rw-r--r--ext/-test-/iseq_load/extconf.rb1
-rw-r--r--ext/-test-/iter/extconf.rb1
-rw-r--r--ext/-test-/load/dot.dot/extconf.rb1
-rw-r--r--ext/-test-/marshal/compat/extconf.rb1
-rw-r--r--ext/-test-/marshal/internal_ivar/extconf.rb1
-rw-r--r--ext/-test-/marshal/usr/extconf.rb1
-rw-r--r--ext/-test-/method/extconf.rb1
-rw-r--r--ext/-test-/notimplement/extconf.rb1
-rw-r--r--ext/-test-/num2int/extconf.rb1
-rw-r--r--ext/-test-/path_to_class/extconf.rb1
-rw-r--r--ext/-test-/popen_deadlock/extconf.rb1
-rw-r--r--ext/-test-/postponed_job/extconf.rb1
-rw-r--r--ext/-test-/printf/extconf.rb1
-rw-r--r--ext/-test-/proc/extconf.rb1
-rw-r--r--ext/-test-/rational/extconf.rb1
-rw-r--r--ext/-test-/recursion/extconf.rb1
-rw-r--r--ext/-test-/st/foreach/extconf.rb1
-rw-r--r--ext/-test-/st/numhash/extconf.rb1
-rw-r--r--ext/-test-/st/update/extconf.rb1
-rw-r--r--ext/-test-/string/extconf.rb1
-rw-r--r--ext/-test-/struct/extconf.rb1
-rw-r--r--ext/-test-/symbol/extconf.rb1
-rw-r--r--ext/-test-/time/extconf.rb1
-rw-r--r--ext/-test-/tracepoint/extconf.rb1
-rw-r--r--ext/-test-/typeddata/extconf.rb1
-rw-r--r--ext/-test-/wait_for_single_fd/extconf.rb1
-rw-r--r--ext/-test-/win32/console/extconf.rb1
-rw-r--r--ext/-test-/win32/dln/extconf.rb1
-rw-r--r--ext/-test-/win32/fd_setsize/extconf.rb1
44 files changed, 44 insertions, 0 deletions
diff --git a/ext/-test-/array/resize/extconf.rb b/ext/-test-/array/resize/extconf.rb
index 6500a87..bc827e1 100644
--- a/ext/-test-/array/resize/extconf.rb
+++ b/ext/-test-/array/resize/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/array/resize")
diff --git a/ext/-test-/bignum/extconf.rb b/ext/-test-/bignum/extconf.rb
index e8c1feb..34f503c 100644
--- a/ext/-test-/bignum/extconf.rb
+++ b/ext/-test-/bignum/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
diff --git a/ext/-test-/bug-3571/extconf.rb b/ext/-test-/bug-3571/extconf.rb
index 6390fce..10b3bb3 100644
--- a/ext/-test-/bug-3571/extconf.rb
+++ b/ext/-test-/bug-3571/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/bug-3571/bug")
diff --git a/ext/-test-/bug-5832/extconf.rb b/ext/-test-/bug-5832/extconf.rb
index 55a4b7d..948e779 100644
--- a/ext/-test-/bug-5832/extconf.rb
+++ b/ext/-test-/bug-5832/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/bug-5832/bug")
diff --git a/ext/-test-/bug_reporter/extconf.rb b/ext/-test-/bug_reporter/extconf.rb
index 0fccd81..fb2ed40 100644
--- a/ext/-test-/bug_reporter/extconf.rb
+++ b/ext/-test-/bug_reporter/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/bug_reporter/bug_reporter")
diff --git a/ext/-test-/class/extconf.rb b/ext/-test-/class/extconf.rb
index a07d660..1c7837d 100644
--- a/ext/-test-/class/extconf.rb
+++ b/ext/-test-/class/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
diff --git a/ext/-test-/debug/extconf.rb b/ext/-test-/debug/extconf.rb
index 8f7922e..0f34383 100644
--- a/ext/-test-/debug/extconf.rb
+++ b/ext/-test-/debug/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
inits.delete("init")
diff --git a/ext/-test-/dln/empty/extconf.rb b/ext/-test-/dln/empty/extconf.rb
index 6110887..20310b6 100644
--- a/ext/-test-/dln/empty/extconf.rb
+++ b/ext/-test-/dln/empty/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/dln/empty")
diff --git a/ext/-test-/exception/extconf.rb b/ext/-test-/exception/extconf.rb
index 0faf6d5..55bbb1f 100644
--- a/ext/-test-/exception/extconf.rb
+++ b/ext/-test-/exception/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
inits.delete("init")
diff --git a/ext/-test-/fatal/extconf.rb b/ext/-test-/fatal/extconf.rb
index e0cfeb2..d5849c0 100644
--- a/ext/-test-/fatal/extconf.rb
+++ b/ext/-test-/fatal/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/fatal/rb_fatal")
diff --git a/ext/-test-/file/extconf.rb b/ext/-test-/file/extconf.rb
index 87a2f4a..c4cfdad 100644
--- a/ext/-test-/file/extconf.rb
+++ b/ext/-test-/file/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
headers = %w[sys/param.h sys/mount.h sys/vfs.h].select {|h| have_header(h)}
diff --git a/ext/-test-/float/extconf.rb b/ext/-test-/float/extconf.rb
index 0a9a299..15709a1 100644
--- a/ext/-test-/float/extconf.rb
+++ b/ext/-test-/float/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
diff --git a/ext/-test-/funcall/extconf.rb b/ext/-test-/funcall/extconf.rb
index 8a9179a..35c3078 100644
--- a/ext/-test-/funcall/extconf.rb
+++ b/ext/-test-/funcall/extconf.rb
@@ -1,2 +1,3 @@
+# frozen_string_literal: false
require 'mkmf'
create_makefile("-test-/funcall/funcall")
diff --git a/ext/-test-/gvl/call_without_gvl/extconf.rb b/ext/-test-/gvl/call_without_gvl/extconf.rb
index 601944c..56181b6 100644
--- a/ext/-test-/gvl/call_without_gvl/extconf.rb
+++ b/ext/-test-/gvl/call_without_gvl/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/gvl/call_without_gvl")
diff --git a/ext/-test-/hash/extconf.rb b/ext/-test-/hash/extconf.rb
index 9d4ef4f..c823cb9 100644
--- a/ext/-test-/hash/extconf.rb
+++ b/ext/-test-/hash/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
diff --git a/ext/-test-/iseq_load/extconf.rb b/ext/-test-/iseq_load/extconf.rb
index 860f30b..c5bd6c0 100644
--- a/ext/-test-/iseq_load/extconf.rb
+++ b/ext/-test-/iseq_load/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/iseq_load/iseq_load")
diff --git a/ext/-test-/iter/extconf.rb b/ext/-test-/iter/extconf.rb
index 0ba9969..a0f03e2 100644
--- a/ext/-test-/iter/extconf.rb
+++ b/ext/-test-/iter/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
diff --git a/ext/-test-/load/dot.dot/extconf.rb b/ext/-test-/load/dot.dot/extconf.rb
index 6287db6..b5292c7 100644
--- a/ext/-test-/load/dot.dot/extconf.rb
+++ b/ext/-test-/load/dot.dot/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/load/dot.dot/dot.dot")
diff --git a/ext/-test-/marshal/compat/extconf.rb b/ext/-test-/marshal/compat/extconf.rb
index bb11ebf..9bf44b4 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 9b905d9..cb3f825 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 c662b23..b7886b9 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")
diff --git a/ext/-test-/method/extconf.rb b/ext/-test-/method/extconf.rb
index 658b7af..3a52c1a 100644
--- a/ext/-test-/method/extconf.rb
+++ b/ext/-test-/method/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
inits.delete("init")
diff --git a/ext/-test-/notimplement/extconf.rb b/ext/-test-/notimplement/extconf.rb
index a2feb77..54403cd 100644
--- a/ext/-test-/notimplement/extconf.rb
+++ b/ext/-test-/notimplement/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/notimplement")
diff --git a/ext/-test-/num2int/extconf.rb b/ext/-test-/num2int/extconf.rb
index 2bc820e..c585462 100644
--- a/ext/-test-/num2int/extconf.rb
+++ b/ext/-test-/num2int/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/num2int/num2int")
diff --git a/ext/-test-/path_to_class/extconf.rb b/ext/-test-/path_to_class/extconf.rb
index e1072b1..8f05248 100644
--- a/ext/-test-/path_to_class/extconf.rb
+++ b/ext/-test-/path_to_class/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
inits.delete("init")
diff --git a/ext/-test-/popen_deadlock/extconf.rb b/ext/-test-/popen_deadlock/extconf.rb
index f993ff7..24a7d79 100644
--- a/ext/-test-/popen_deadlock/extconf.rb
+++ b/ext/-test-/popen_deadlock/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
case RUBY_PLATFORM
when /solaris/i, /linux/i
create_makefile("-test-/popen_deadlock/infinite_loop_dlsym")
diff --git a/ext/-test-/postponed_job/extconf.rb b/ext/-test-/postponed_job/extconf.rb
index aa29b59..58fbd3b 100644
--- a/ext/-test-/postponed_job/extconf.rb
+++ b/ext/-test-/postponed_job/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile('-test-/postponed_job')
diff --git a/ext/-test-/printf/extconf.rb b/ext/-test-/printf/extconf.rb
index 7b96da0..fb8fa8d 100644
--- a/ext/-test-/printf/extconf.rb
+++ b/ext/-test-/printf/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/printf")
diff --git a/ext/-test-/proc/extconf.rb b/ext/-test-/proc/extconf.rb
index 40741d0..9f87575 100644
--- a/ext/-test-/proc/extconf.rb
+++ b/ext/-test-/proc/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
diff --git a/ext/-test-/rational/extconf.rb b/ext/-test-/rational/extconf.rb
index bd658de..28c5d69 100644
--- a/ext/-test-/rational/extconf.rb
+++ b/ext/-test-/rational/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
diff --git a/ext/-test-/recursion/extconf.rb b/ext/-test-/recursion/extconf.rb
index 92b2865..1382811 100644
--- a/ext/-test-/recursion/extconf.rb
+++ b/ext/-test-/recursion/extconf.rb
@@ -1,2 +1,3 @@
+# frozen_string_literal: false
require 'mkmf'
create_makefile("-test-/recursion")
diff --git a/ext/-test-/st/foreach/extconf.rb b/ext/-test-/st/foreach/extconf.rb
index 969f386..a734620 100644
--- a/ext/-test-/st/foreach/extconf.rb
+++ b/ext/-test-/st/foreach/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/st/foreach")
diff --git a/ext/-test-/st/numhash/extconf.rb b/ext/-test-/st/numhash/extconf.rb
index 867fd75..27d28a0 100644
--- a/ext/-test-/st/numhash/extconf.rb
+++ b/ext/-test-/st/numhash/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/st/numhash")
diff --git a/ext/-test-/st/update/extconf.rb b/ext/-test-/st/update/extconf.rb
index 96dbae4..5152b24 100644
--- a/ext/-test-/st/update/extconf.rb
+++ b/ext/-test-/st/update/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/st/update")
diff --git a/ext/-test-/string/extconf.rb b/ext/-test-/string/extconf.rb
index 9981a4d..5e8b709 100644
--- a/ext/-test-/string/extconf.rb
+++ b/ext/-test-/string/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
diff --git a/ext/-test-/struct/extconf.rb b/ext/-test-/struct/extconf.rb
index 0e4f955..3b01a19 100644
--- a/ext/-test-/struct/extconf.rb
+++ b/ext/-test-/struct/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
diff --git a/ext/-test-/symbol/extconf.rb b/ext/-test-/symbol/extconf.rb
index fc00ec9..f62fd47 100644
--- a/ext/-test-/symbol/extconf.rb
+++ b/ext/-test-/symbol/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
inits.delete("init")
diff --git a/ext/-test-/time/extconf.rb b/ext/-test-/time/extconf.rb
index b974199..c0b1934 100644
--- a/ext/-test-/time/extconf.rb
+++ b/ext/-test-/time/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
diff --git a/ext/-test-/tracepoint/extconf.rb b/ext/-test-/tracepoint/extconf.rb
index c0c2399..2b7258d 100644
--- a/ext/-test-/tracepoint/extconf.rb
+++ b/ext/-test-/tracepoint/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/tracepoint")
diff --git a/ext/-test-/typeddata/extconf.rb b/ext/-test-/typeddata/extconf.rb
index 02e3e41..84b92c7 100644
--- a/ext/-test-/typeddata/extconf.rb
+++ b/ext/-test-/typeddata/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/typeddata/typeddata")
diff --git a/ext/-test-/wait_for_single_fd/extconf.rb b/ext/-test-/wait_for_single_fd/extconf.rb
index 1a28b23..edb1874 100644
--- a/ext/-test-/wait_for_single_fd/extconf.rb
+++ b/ext/-test-/wait_for_single_fd/extconf.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
create_makefile("-test-/wait_for_single_fd/wait_for_single_fd")
diff --git a/ext/-test-/win32/console/extconf.rb b/ext/-test-/win32/console/extconf.rb
index 4de9fa7..fb9ef9d 100644
--- a/ext/-test-/win32/console/extconf.rb
+++ b/ext/-test-/win32/console/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
if $mingw or $mswin
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
diff --git a/ext/-test-/win32/dln/extconf.rb b/ext/-test-/win32/dln/extconf.rb
index edc02ac..55c2d16 100644
--- a/ext/-test-/win32/dln/extconf.rb
+++ b/ext/-test-/win32/dln/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
if $mingw or $mswin
dlntestlib = "dlntest.#{$LIBEXT}"
$LOCAL_LIBS << " #{dlntestlib}"
diff --git a/ext/-test-/win32/fd_setsize/extconf.rb b/ext/-test-/win32/fd_setsize/extconf.rb
index ed40f8b..caa4b85 100644
--- a/ext/-test-/win32/fd_setsize/extconf.rb
+++ b/ext/-test-/win32/fd_setsize/extconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
if $mingw or $mswin
create_makefile("-test-/win32/fd_setsize")
end