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 --- 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 +- 7 files changed, 7 insertions(+), 12 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3