summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog34
-rw-r--r--ext/pathname/lib/pathname.rb3
-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
-rw-r--r--test/net/ftp/test_buffered_socket.rb3
-rw-r--r--test/net/ftp/test_mlsx_entry.rb3
-rw-r--r--test/open-uri/test_open-uri.rb3
-rw-r--r--test/open-uri/test_ssl.rb3
-rw-r--r--test/pathname/test_pathname.rb3
-rw-r--r--test/test_pp.rb3
-rw-r--r--test/test_prettyprint.rb3
-rw-r--r--tool/transcode-tblgen.rb3
17 files changed, 50 insertions, 30 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f1b0b5..4b7f67c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,37 @@
+Tue Nov 10 20:35:12 2015 Tanaka Akira <akr@fsij.org>
+
+ * 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.
+
Tue Nov 10 18:42:24 2015 Aleksandrs Ledovskis <aleksandrs@ledovskis.lv>
* defs/id.def, parse.y: Switch internal token name to reflect
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb
index 68cc01b..a662156 100644
--- a/ext/pathname/lib/pathname.rb
+++ b/ext/pathname/lib/pathname.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
#
# = pathname.rb
#
diff --git a/lib/open-uri.rb b/lib/open-uri.rb
index b8093ad..c63e529 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 6db423d..9678774 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 454c692..2a3ca90 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 17c8320..61bed16 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 49995d9..5a38fc0 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 3c6c00b..e4df93c 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 64f16c2..06d9271 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
diff --git a/test/net/ftp/test_buffered_socket.rb b/test/net/ftp/test_buffered_socket.rb
index 419d50b..3cc46fa 100644
--- a/test/net/ftp/test_buffered_socket.rb
+++ b/test/net/ftp/test_buffered_socket.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require "net/ftp"
require "test/unit"
diff --git a/test/net/ftp/test_mlsx_entry.rb b/test/net/ftp/test_mlsx_entry.rb
index 7321caa..92fe411 100644
--- a/test/net/ftp/test_mlsx_entry.rb
+++ b/test/net/ftp/test_mlsx_entry.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require "net/ftp"
require "test/unit"
diff --git a/test/open-uri/test_open-uri.rb b/test/open-uri/test_open-uri.rb
index 5ad8e59..19451e2 100644
--- a/test/open-uri/test_open-uri.rb
+++ b/test/open-uri/test_open-uri.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'test/unit'
require 'open-uri'
require 'webrick'
diff --git a/test/open-uri/test_ssl.rb b/test/open-uri/test_ssl.rb
index 12e97ad..956fe05 100644
--- a/test/open-uri/test_ssl.rb
+++ b/test/open-uri/test_ssl.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'test/unit'
require 'open-uri'
require 'stringio'
diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb
index 94bcc90..2690a3f 100644
--- a/test/pathname/test_pathname.rb
+++ b/test/pathname/test_pathname.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'test/unit'
require 'pathname'
diff --git a/test/test_pp.rb b/test/test_pp.rb
index 70390c7..5f8216d 100644
--- a/test/test_pp.rb
+++ b/test/test_pp.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'pp'
require 'delegate'
diff --git a/test/test_prettyprint.rb b/test/test_prettyprint.rb
index 30b0009..27e7198 100644
--- a/test/test_prettyprint.rb
+++ b/test/test_prettyprint.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'prettyprint'
require 'test/unit'
diff --git a/tool/transcode-tblgen.rb b/tool/transcode-tblgen.rb
index 3ff6011..c873638 100644
--- a/tool/transcode-tblgen.rb
+++ b/tool/transcode-tblgen.rb
@@ -1,5 +1,4 @@
-#
-# -*- frozen_string_literal: true -*-
+# frozen_string_literal: true
require 'optparse'
require 'erb'