From 68ebbbfebe5b666cf76ab41f1e6191a172d62690 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 10 Nov 2015 11:48:14 +0000 Subject: * 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 --- ChangeLog | 34 ++++++++++++++++++++++++++++++++++ ext/pathname/lib/pathname.rb | 3 +-- lib/open-uri.rb | 3 +-- lib/pp.rb | 3 +-- lib/prettyprint.rb | 3 +-- lib/resolv.rb | 3 +-- lib/securerandom.rb | 2 +- lib/tmpdir.rb | 3 +-- lib/unicode_normalize/tables.rb | 2 +- test/net/ftp/test_buffered_socket.rb | 3 +-- test/net/ftp/test_mlsx_entry.rb | 3 +-- test/open-uri/test_open-uri.rb | 3 +-- test/open-uri/test_ssl.rb | 3 +-- test/pathname/test_pathname.rb | 3 +-- test/test_pp.rb | 3 +-- test/test_prettyprint.rb | 3 +-- tool/transcode-tblgen.rb | 3 +-- 17 files changed, 50 insertions(+), 30 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8f1b0b5349..4b7f67c8d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,37 @@ +Tue Nov 10 20:35:12 2015 Tanaka Akira + + * 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 * 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 68cc01b232..a6621565d0 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 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 diff --git a/test/net/ftp/test_buffered_socket.rb b/test/net/ftp/test_buffered_socket.rb index 419d50bb53..3cc46fa555 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 7321caad7d..92fe411548 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 5ad8e5940b..19451e25ee 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 12e97add85..956fe05399 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 94bcc90bf0..2690a3f6de 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 70390c7559..5f8216dcce 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 30b00095d9..27e7198886 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 3ff60112d8..c87363876a 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' -- cgit v1.2.3