diff options
author | naruse <naruse@ruby-lang.org> | 2015-12-16 05:31:54 +0000 |
---|---|---|
committer | naruse <naruse@ruby-lang.org> | 2015-12-16 05:31:54 +0000 |
commit | b5c5e75fdfaf9865a50ea342b375ef3ccb2e4954 (patch) | |
tree | 133a14cba5cf9fa7c0fe143af2549801989df332 /lib | |
parent | 9fea64deb2c3c200eec1ffabf002304a07696650 (diff) | |
download | ruby-openssl-history-b5c5e75fdfaf9865a50ea342b375ef3ccb2e4954.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 'lib')
-rw-r--r-- | lib/openssl.rb | 1 | ||||
-rw-r--r-- | lib/openssl/bn.rb | 1 | ||||
-rw-r--r-- | lib/openssl/buffering.rb | 1 | ||||
-rw-r--r-- | lib/openssl/cipher.rb | 1 | ||||
-rw-r--r-- | lib/openssl/config.rb | 1 | ||||
-rw-r--r-- | lib/openssl/digest.rb | 1 | ||||
-rw-r--r-- | lib/openssl/pkey.rb | 1 | ||||
-rw-r--r-- | lib/openssl/ssl.rb | 1 | ||||
-rw-r--r-- | lib/openssl/x509.rb | 1 |
9 files changed, 9 insertions, 0 deletions
diff --git a/lib/openssl.rb b/lib/openssl.rb index 57f6f97..26d167a 100644 --- a/lib/openssl.rb +++ b/lib/openssl.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false =begin = Info 'OpenSSL for Ruby 2' project diff --git a/lib/openssl/bn.rb b/lib/openssl/bn.rb index 17148f9..6d6c96e 100644 --- a/lib/openssl/bn.rb +++ b/lib/openssl/bn.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # # = Ruby-space definitions that completes C-space funcs for BN diff --git a/lib/openssl/buffering.rb b/lib/openssl/buffering.rb index a97d9ea..d082199 100644 --- a/lib/openssl/buffering.rb +++ b/lib/openssl/buffering.rb @@ -1,4 +1,5 @@ # coding: binary +# frozen_string_literal: false #-- #= Info # 'OpenSSL for Ruby 2' project diff --git a/lib/openssl/cipher.rb b/lib/openssl/cipher.rb index c7f0aec..a69d5ac 100644 --- a/lib/openssl/cipher.rb +++ b/lib/openssl/cipher.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # = Ruby-space predefined Cipher subclasses # diff --git a/lib/openssl/config.rb b/lib/openssl/config.rb index e1f5dbe..8822545 100644 --- a/lib/openssl/config.rb +++ b/lib/openssl/config.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false =begin = Ruby-space definitions that completes C-space funcs for Config diff --git a/lib/openssl/digest.rb b/lib/openssl/digest.rb index 8bf8510..1240bf5 100644 --- a/lib/openssl/digest.rb +++ b/lib/openssl/digest.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # = Ruby-space predefined Digest subclasses # diff --git a/lib/openssl/pkey.rb b/lib/openssl/pkey.rb index 007934f..3f65ada 100644 --- a/lib/openssl/pkey.rb +++ b/lib/openssl/pkey.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module OpenSSL module PKey if defined?(OpenSSL::PKey::DH) diff --git a/lib/openssl/ssl.rb b/lib/openssl/ssl.rb index d3ae155..41a09f1 100644 --- a/lib/openssl/ssl.rb +++ b/lib/openssl/ssl.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false =begin = Info 'OpenSSL for Ruby 2' project diff --git a/lib/openssl/x509.rb b/lib/openssl/x509.rb index e76c6b8..aef3456 100644 --- a/lib/openssl/x509.rb +++ b/lib/openssl/x509.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # = Ruby-space definitions that completes C-space funcs for X509 and subclasses # |