summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-10 11:48:14 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-10 11:48:14 +0000
commit68ebbbfebe5b666cf76ab41f1e6191a172d62690 (patch)
treee5a70eda2da39ba4b0e83b6139da3ce65ee4faae /lib
parenta01b6453eb9d9e396f76f7bc73439f6669d0f5fb (diff)
* lib/open-uri.rb: Remove indicator for "frozen_string_literal: true".
* lib/pp.rb: Ditto. * lib/prettyprint.rb: Ditto. * lib/resolv.rb: Ditto. * lib/securerandom.rb: Ditto. * lib/tmpdir.rb: Ditto. * lib/unicode_normalize/tables.rb: Ditto. * test/net/ftp/test_buffered_socket.rb: Ditto. * test/net/ftp/test_mlsx_entry.rb: Ditto. * test/open-uri/test_open-uri.rb: Ditto. * test/open-uri/test_ssl.rb: Ditto. * test/pathname/test_pathname.rb: Ditto. * test/test_pp.rb: Ditto. * test/test_prettyprint.rb: Ditto. * tool/transcode-tblgen.rb: Ditto. * ext/pathname/lib/pathname.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/open-uri.rb3
-rw-r--r--lib/pp.rb3
-rw-r--r--lib/prettyprint.rb3
-rw-r--r--lib/resolv.rb3
-rw-r--r--lib/securerandom.rb2
-rw-r--r--lib/tmpdir.rb3
-rw-r--r--lib/unicode_normalize/tables.rb2
7 files changed, 7 insertions, 12 deletions
diff --git a/lib/open-uri.rb b/lib/open-uri.rb
index b8093ad40c..c63e5292aa 100644
--- a/lib/open-uri.rb
+++ b/lib/open-uri.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'uri'
require 'stringio'
require 'time'
diff --git a/lib/pp.rb b/lib/pp.rb
index 6db423da23..9678774b8c 100644
--- a/lib/pp.rb
+++ b/lib/pp.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'prettyprint'
diff --git a/lib/prettyprint.rb b/lib/prettyprint.rb
index 454c69233d..2a3ca90dc1 100644
--- a/lib/prettyprint.rb
+++ b/lib/prettyprint.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
#
# This class implements a pretty printing algorithm. It finds line breaks and
# nice indentations for grouped structure.
diff --git a/lib/resolv.rb b/lib/resolv.rb
index 17c832037f..61bed16b3f 100644
--- a/lib/resolv.rb
+++ b/lib/resolv.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'socket'
require 'timeout'
diff --git a/lib/securerandom.rb b/lib/securerandom.rb
index 49995d9eb3..5a38fc0292 100644
--- a/lib/securerandom.rb
+++ b/lib/securerandom.rb
@@ -1,5 +1,5 @@
# -*- coding: us-ascii -*-
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
begin
require 'openssl'
rescue LoadError
diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb
index 3c6c00bc8e..e4df93c2d0 100644
--- a/lib/tmpdir.rb
+++ b/lib/tmpdir.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
#
# tmpdir - retrieve temporary directory path
#
diff --git a/lib/unicode_normalize/tables.rb b/lib/unicode_normalize/tables.rb
index 64f16c2318..06d92714fe 100644
--- a/lib/unicode_normalize/tables.rb
+++ b/lib/unicode_normalize/tables.rb
@@ -1,5 +1,5 @@
# coding: us-ascii
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
# automatically generated by template/unicode_norm_gen.tmpl