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
This commit is contained in:
naruse 2015-12-16 05:31:54 +00:00
parent 183c1a0fa1
commit c4fdfabcc8
854 changed files with 854 additions and 0 deletions

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/array/resize") create_makefile("-test-/array/resize")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/bug-3571/bug") create_makefile("-test-/bug-3571/bug")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/bug-5832/bug") create_makefile("-test-/bug-5832/bug")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/bug_reporter/bug_reporter") create_makefile("-test-/bug_reporter/bug_reporter")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}
inits.delete("init") inits.delete("init")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/dln/empty") create_makefile("-test-/dln/empty")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}
inits.delete("init") inits.delete("init")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/fatal/rb_fatal") create_makefile("-test-/fatal/rb_fatal")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
headers = %w[sys/param.h sys/mount.h sys/vfs.h].select {|h| have_header(h)} headers = %w[sys/param.h sys/mount.h sys/vfs.h].select {|h| have_header(h)}

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}

View File

@ -1,2 +1,3 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
create_makefile("-test-/funcall/funcall") create_makefile("-test-/funcall/funcall")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/gvl/call_without_gvl") create_makefile("-test-/gvl/call_without_gvl")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/iseq_load/iseq_load") create_makefile("-test-/iseq_load/iseq_load")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/load/dot.dot/dot.dot") create_makefile("-test-/load/dot.dot/dot.dot")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/marshal/compat") create_makefile("-test-/marshal/compat")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/marshal/internal_ivar") create_makefile("-test-/marshal/internal_ivar")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/marshal/usr") create_makefile("-test-/marshal/usr")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}
inits.delete("init") inits.delete("init")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/notimplement") create_makefile("-test-/notimplement")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/num2int/num2int") create_makefile("-test-/num2int/num2int")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}
inits.delete("init") inits.delete("init")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
case RUBY_PLATFORM case RUBY_PLATFORM
when /solaris/i, /linux/i when /solaris/i, /linux/i
create_makefile("-test-/popen_deadlock/infinite_loop_dlsym") create_makefile("-test-/popen_deadlock/infinite_loop_dlsym")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile('-test-/postponed_job') create_makefile('-test-/postponed_job')

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/printf") create_makefile("-test-/printf")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}

View File

@ -1,2 +1,3 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
create_makefile("-test-/recursion") create_makefile("-test-/recursion")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/st/foreach") create_makefile("-test-/st/foreach")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/st/numhash") create_makefile("-test-/st/numhash")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/st/update") create_makefile("-test-/st/update")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}
inits.delete("init") inits.delete("init")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/tracepoint") create_makefile("-test-/tracepoint")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/typeddata/typeddata") create_makefile("-test-/typeddata/typeddata")

View File

@ -1 +1,2 @@
# frozen_string_literal: false
create_makefile("-test-/wait_for_single_fd/wait_for_single_fd") create_makefile("-test-/wait_for_single_fd/wait_for_single_fd")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
if $mingw or $mswin if $mingw or $mswin
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")} inits = $srcs.map {|s| File.basename(s, ".*")}

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
if $mingw or $mswin if $mingw or $mswin
dlntestlib = "dlntest.#{$LIBEXT}" dlntestlib = "dlntest.#{$LIBEXT}"
$LOCAL_LIBS << " #{dlntestlib}" $LOCAL_LIBS << " #{dlntestlib}"

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
if $mingw or $mswin if $mingw or $mswin
create_makefile("-test-/win32/fd_setsize") create_makefile("-test-/win32/fd_setsize")
end end

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
have_func("labs", "stdlib.h") have_func("labs", "stdlib.h")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
# #
# require 'bigdecimal/jacobian' # require 'bigdecimal/jacobian'
# #

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'bigdecimal' require 'bigdecimal'
# #

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'bigdecimal' require 'bigdecimal'
# #

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require "bigdecimal/ludcmp" require "bigdecimal/ludcmp"
require "bigdecimal/jacobian" require "bigdecimal/jacobian"

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
# BigDecimal extends the native Integer class to provide the #to_d method. # BigDecimal extends the native Integer class to provide the #to_d method.
# #
# When you require the BigDecimal library in your application, this methodwill # When you require the BigDecimal library in your application, this methodwill

View File

@ -1,4 +1,5 @@
#!/usr/local/bin/ruby #!/usr/local/bin/ruby
# frozen_string_literal: false
# #
# linear.rb # linear.rb

View File

@ -1,4 +1,5 @@
#!/usr/local/bin/ruby #!/usr/local/bin/ruby
# frozen_string_literal: false
# #
# nlsolve.rb # nlsolve.rb

View File

@ -1,4 +1,5 @@
#!/usr/local/bin/ruby #!/usr/local/bin/ruby
# frozen_string_literal: false
# #
# pi.rb # pi.rb

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
create_makefile('continuation') create_makefile('continuation')

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
$VPATH << '$(topdir)' << '$(top_srcdir)' $VPATH << '$(topdir)' << '$(top_srcdir)'
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $INCFLAGS << " -I$(topdir) -I$(top_srcdir)"

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
config_string("strict_warnflags") {|w| $warnflags += " #{w}"} config_string("strict_warnflags") {|w| $warnflags += " #{w}"}
create_makefile('date_core') create_makefile('date_core')

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
# date.rb: Written by Tadayoshi Funaba 1998-2011 # date.rb: Written by Tadayoshi Funaba 1998-2011
require 'date_core' require 'date_core'

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
# configure option: # configure option:
# --with-dbm-type=COMMA-SEPARATED-NDBM-TYPES # --with-dbm-type=COMMA-SEPARATED-NDBM-TYPES
# #

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
$defs << "-DHAVE_CONFIG_H" $defs << "-DHAVE_CONFIG_H"

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
def digest_conf(name, hdr = name, funcs = nil, types = nil) def digest_conf(name, hdr = name, funcs = nil, types = nil)
unless with_config("bundled-#{name}") unless with_config("bundled-#{name}")
cc = with_config("common-digest") cc = with_config("common-digest")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
# $RoughId: extconf.rb,v 1.6 2001/07/13 15:38:27 knu Exp $ # $RoughId: extconf.rb,v 1.6 2001/07/13 15:38:27 knu Exp $
# $Id$ # $Id$

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'digest.so' require 'digest.so'
module Digest module Digest

View File

@ -1,4 +1,5 @@
# -*- coding: us-ascii -*- # -*- coding: us-ascii -*-
# frozen_string_literal: false
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ # $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
# $Id$ # $Id$

View File

@ -1,4 +1,5 @@
# -*- coding: us-ascii -*- # -*- coding: us-ascii -*-
# frozen_string_literal: false
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ # $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
# $Id$ # $Id$

View File

@ -1,4 +1,5 @@
# -*- coding: us-ascii -*- # -*- coding: us-ascii -*-
# frozen_string_literal: false
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ # $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
# $Id$ # $Id$

View File

@ -1,4 +1,5 @@
# -*- coding: us-ascii -*- # -*- coding: us-ascii -*-
# frozen_string_literal: false
# $RoughId: extconf.rb,v 1.4 2001/08/14 19:54:51 knu Exp $ # $RoughId: extconf.rb,v 1.4 2001/08/14 19:54:51 knu Exp $
# $Id$ # $Id$

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
#-- #--
# sha2.rb - defines Digest::SHA2 class which wraps up the SHA256, # sha2.rb - defines Digest::SHA2 class which wraps up the SHA256,
# SHA384, and SHA512 classes. # SHA384, and SHA512 classes.

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
headers = [] headers = []

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'optparse' require 'optparse'
require 'erb' require 'erb'

View File

@ -1,5 +1,6 @@
#! /usr/local/bin/ruby #! /usr/local/bin/ruby
# -*- mode: ruby; coding: us-ascii -*- # -*- mode: ruby; coding: us-ascii -*-
# frozen_string_literal: false
# :stopdoc: # :stopdoc:
$extension = nil $extension = nil

View File

@ -1,2 +1,3 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
create_makefile('fcntl') create_makefile('fcntl')

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
create_makefile('fiber') create_makefile('fiber')

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
# :stopdoc: # :stopdoc:

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'fiddle.so' require 'fiddle.so'
require 'fiddle/function' require 'fiddle/function'
require 'fiddle/closure' require 'fiddle/closure'

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
module Fiddle module Fiddle
class Closure class Closure

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
module Fiddle module Fiddle
# A mixin that provides methods for parsing C struct and prototype signatures. # A mixin that provides methods for parsing C struct and prototype signatures.
# #

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
module Fiddle module Fiddle
class Function class Function
# The ABI of the Function. # The ABI of the Function.

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'fiddle' require 'fiddle'
require 'fiddle/struct' require 'fiddle/struct'
require 'fiddle/cparser' require 'fiddle/cparser'

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'fiddle' require 'fiddle'
module Fiddle module Fiddle

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'fiddle' require 'fiddle'
require 'fiddle/value' require 'fiddle/value'
require 'fiddle/pack' require 'fiddle/pack'

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
module Fiddle module Fiddle
# Adds Windows type aliases to the including class for use with # Adds Windows type aliases to the including class for use with
# Fiddle::Importer. # Fiddle::Importer.

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'fiddle' require 'fiddle'
module Fiddle module Fiddle

View File

@ -1,4 +1,5 @@
#!/usr/bin/ruby #!/usr/bin/ruby
# frozen_string_literal: false
require 'fileutils' require 'fileutils'
basedir = File.dirname(__FILE__) basedir = File.dirname(__FILE__)

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
dir_config("gdbm") dir_config("gdbm")

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
ok = true ok = true

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
# fallback to console window size # fallback to console window size
def IO.default_console_size def IO.default_console_size
[ [

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
target = "io/nonblock" target = "io/nonblock"

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
target = "io/wait" target = "io/wait"

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
create_makefile('json') create_makefile('json')

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'mkmf' require 'mkmf'
$defs << "-DJSON_GENERATOR" $defs << "-DJSON_GENERATOR"

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
require 'json/common' require 'json/common'
## ##

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json' require 'json'
end end

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json' require 'json'
end end

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
# This file requires the implementations of ruby core's custom objects for # This file requires the implementations of ruby core's custom objects for
# serialisation/deserialisation. # serialisation/deserialisation.

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json' require 'json'
end end

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json' require 'json'
end end

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json' require 'json'
end end

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json' require 'json'
end end

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json' require 'json'
end end

View File

@ -1,3 +1,4 @@
# frozen_string_literal: false
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json' require 'json'
end end

Some files were not shown because too many files have changed in this diff Show More