diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 05:31:54 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 05:31:54 +0000 |
commit | c4fdfabcc8ea3f6186d1560f7756211fce125be3 (patch) | |
tree | 52953802cfeae93908e52c59596365a3e946118b /ext/digest | |
parent | 183c1a0fa1c9599f613ea8f4c54ed5229354714f (diff) | |
download | bundler-c4fdfabcc8ea3f6186d1560f7756211fce125be3.tar.gz |
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/digest')
-rw-r--r-- | ext/digest/bubblebabble/extconf.rb | 1 | ||||
-rw-r--r-- | ext/digest/digest_conf.rb | 1 | ||||
-rw-r--r-- | ext/digest/extconf.rb | 1 | ||||
-rw-r--r-- | ext/digest/lib/digest.rb | 1 | ||||
-rw-r--r-- | ext/digest/md5/extconf.rb | 1 | ||||
-rw-r--r-- | ext/digest/rmd160/extconf.rb | 1 | ||||
-rw-r--r-- | ext/digest/sha1/extconf.rb | 1 | ||||
-rw-r--r-- | ext/digest/sha2/extconf.rb | 1 | ||||
-rw-r--r-- | ext/digest/sha2/lib/sha2.rb | 1 |
9 files changed, 9 insertions, 0 deletions
diff --git a/ext/digest/bubblebabble/extconf.rb b/ext/digest/bubblebabble/extconf.rb index 1214add293..21feed57fb 100644 --- a/ext/digest/bubblebabble/extconf.rb +++ b/ext/digest/bubblebabble/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' $defs << "-DHAVE_CONFIG_H" diff --git a/ext/digest/digest_conf.rb b/ext/digest/digest_conf.rb index 6a4ef6f176..432652852f 100644 --- a/ext/digest/digest_conf.rb +++ b/ext/digest/digest_conf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false def digest_conf(name, hdr = name, funcs = nil, types = nil) unless with_config("bundled-#{name}") cc = with_config("common-digest") diff --git a/ext/digest/extconf.rb b/ext/digest/extconf.rb index a20ca8d68f..a8c68850a2 100644 --- a/ext/digest/extconf.rb +++ b/ext/digest/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # $RoughId: extconf.rb,v 1.6 2001/07/13 15:38:27 knu Exp $ # $Id$ diff --git a/ext/digest/lib/digest.rb b/ext/digest/lib/digest.rb index ef43c46ac3..d6daf36f80 100644 --- a/ext/digest/lib/digest.rb +++ b/ext/digest/lib/digest.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'digest.so' module Digest diff --git a/ext/digest/md5/extconf.rb b/ext/digest/md5/extconf.rb index 05a990cdd2..dead9a228b 100644 --- a/ext/digest/md5/extconf.rb +++ b/ext/digest/md5/extconf.rb @@ -1,4 +1,5 @@ # -*- coding: us-ascii -*- +# frozen_string_literal: false # $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ # $Id$ diff --git a/ext/digest/rmd160/extconf.rb b/ext/digest/rmd160/extconf.rb index 15fd095cf2..a02ba56169 100644 --- a/ext/digest/rmd160/extconf.rb +++ b/ext/digest/rmd160/extconf.rb @@ -1,4 +1,5 @@ # -*- coding: us-ascii -*- +# frozen_string_literal: false # $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ # $Id$ diff --git a/ext/digest/sha1/extconf.rb b/ext/digest/sha1/extconf.rb index 03cbf66b5e..0ff4158bef 100644 --- a/ext/digest/sha1/extconf.rb +++ b/ext/digest/sha1/extconf.rb @@ -1,4 +1,5 @@ # -*- coding: us-ascii -*- +# frozen_string_literal: false # $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ # $Id$ diff --git a/ext/digest/sha2/extconf.rb b/ext/digest/sha2/extconf.rb index fe515457b7..5c7f76c7f3 100644 --- a/ext/digest/sha2/extconf.rb +++ b/ext/digest/sha2/extconf.rb @@ -1,4 +1,5 @@ # -*- coding: us-ascii -*- +# frozen_string_literal: false # $RoughId: extconf.rb,v 1.4 2001/08/14 19:54:51 knu Exp $ # $Id$ diff --git a/ext/digest/sha2/lib/sha2.rb b/ext/digest/sha2/lib/sha2.rb index 58d12e9b09..58ff9f5cf0 100644 --- a/ext/digest/sha2/lib/sha2.rb +++ b/ext/digest/sha2/lib/sha2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # sha2.rb - defines Digest::SHA2 class which wraps up the SHA256, # SHA384, and SHA512 classes. |