From 3e92b635fb5422207b7bbdc924e292e51e21f040 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 16 Dec 2015 05:07:31 +0000 Subject: Add frozen_string_literal: false for all files When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/uri/common.rb | 1 + lib/uri/ftp.rb | 1 + lib/uri/http.rb | 1 + lib/uri/https.rb | 1 + lib/uri/ldap.rb | 1 + lib/uri/ldaps.rb | 1 + lib/uri/mailto.rb | 1 + lib/uri/rfc2396_parser.rb | 1 + lib/uri/rfc3986_parser.rb | 1 + 9 files changed, 9 insertions(+) (limited to 'lib/uri') diff --git a/lib/uri/common.rb b/lib/uri/common.rb index 28b5c99789..4c7d112e61 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # = uri/common.rb # diff --git a/lib/uri/ftp.rb b/lib/uri/ftp.rb index a90e9b20fd..e5c00b34da 100644 --- a/lib/uri/ftp.rb +++ b/lib/uri/ftp.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # = uri/ftp.rb # # Author:: Akira Yamada diff --git a/lib/uri/http.rb b/lib/uri/http.rb index dc47613cdf..d43e9a28e0 100644 --- a/lib/uri/http.rb +++ b/lib/uri/http.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # = uri/http.rb # # Author:: Akira Yamada diff --git a/lib/uri/https.rb b/lib/uri/https.rb index 7d242e7e79..3c8c905cc3 100644 --- a/lib/uri/https.rb +++ b/lib/uri/https.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # = uri/https.rb # # Author:: Akira Yamada diff --git a/lib/uri/ldap.rb b/lib/uri/ldap.rb index 56d748e59e..4345875e28 100644 --- a/lib/uri/ldap.rb +++ b/lib/uri/ldap.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # = uri/ldap.rb # # Author:: diff --git a/lib/uri/ldaps.rb b/lib/uri/ldaps.rb index 42bbfe86ba..d03f8efa2d 100644 --- a/lib/uri/ldaps.rb +++ b/lib/uri/ldaps.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # = uri/ldap.rb # # License:: You can redistribute it and/or modify it under the same term as Ruby. diff --git a/lib/uri/mailto.rb b/lib/uri/mailto.rb index b4405630a9..495f939a3b 100644 --- a/lib/uri/mailto.rb +++ b/lib/uri/mailto.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # = uri/mailto.rb # # Author:: Akira Yamada diff --git a/lib/uri/rfc2396_parser.rb b/lib/uri/rfc2396_parser.rb index a8af37502a..b9e7b2b26e 100644 --- a/lib/uri/rfc2396_parser.rb +++ b/lib/uri/rfc2396_parser.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # = uri/common.rb # diff --git a/lib/uri/rfc3986_parser.rb b/lib/uri/rfc3986_parser.rb index 3923b0699c..871280044a 100644 --- a/lib/uri/rfc3986_parser.rb +++ b/lib/uri/rfc3986_parser.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module URI class RFC3986_Parser # :nodoc: # URI defined in RFC3986 -- cgit v1.2.3