summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-16 05:07:31 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-16 05:07:31 +0000
commit3e92b635fb5422207b7bbdc924e292e51e21f040 (patch)
tree584f90b868188077c435bf144e15e66540a73acd
parentf6f7073e125ff903b77b8cb982a7417d96d51902 (diff)
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
-rw-r--r--lib/English.rb1
-rw-r--r--lib/abbrev.rb1
-rw-r--r--lib/base64.rb1
-rw-r--r--lib/benchmark.rb1
-rw-r--r--lib/cgi.rb1
-rw-r--r--lib/cgi/cookie.rb1
-rw-r--r--lib/cgi/core.rb1
-rw-r--r--lib/cgi/html.rb1
-rw-r--r--lib/cgi/session.rb1
-rw-r--r--lib/cgi/session/pstore.rb1
-rw-r--r--lib/cgi/util.rb1
-rw-r--r--lib/cmath.rb1
-rw-r--r--lib/debug.rb1
-rw-r--r--lib/delegate.rb1
-rw-r--r--lib/drb.rb1
-rw-r--r--lib/drb/acl.rb1
-rw-r--r--lib/drb/drb.rb1
-rw-r--r--lib/drb/eq.rb1
-rw-r--r--lib/drb/extserv.rb1
-rw-r--r--lib/drb/extservm.rb1
-rw-r--r--lib/drb/gw.rb1
-rw-r--r--lib/drb/invokemethod.rb1
-rw-r--r--lib/drb/observer.rb1
-rw-r--r--lib/drb/ssl.rb1
-rw-r--r--lib/drb/timeridconv.rb1
-rw-r--r--lib/drb/unix.rb1
-rw-r--r--lib/e2mmap.rb1
-rw-r--r--lib/erb.rb1
-rw-r--r--lib/fileutils.rb1
-rw-r--r--lib/find.rb1
-rw-r--r--lib/forwardable.rb1
-rw-r--r--lib/getoptlong.rb1
-rw-r--r--lib/ipaddr.rb1
-rw-r--r--lib/irb.rb1
-rw-r--r--lib/irb/cmd/chws.rb1
-rw-r--r--lib/irb/cmd/fork.rb1
-rw-r--r--lib/irb/cmd/help.rb1
-rw-r--r--lib/irb/cmd/load.rb1
-rw-r--r--lib/irb/cmd/nop.rb1
-rw-r--r--lib/irb/cmd/pushws.rb1
-rw-r--r--lib/irb/cmd/subirb.rb1
-rw-r--r--lib/irb/completion.rb1
-rw-r--r--lib/irb/context.rb1
-rw-r--r--lib/irb/ext/change-ws.rb1
-rw-r--r--lib/irb/ext/history.rb1
-rw-r--r--lib/irb/ext/loader.rb1
-rw-r--r--lib/irb/ext/math-mode.rb1
-rw-r--r--lib/irb/ext/multi-irb.rb1
-rw-r--r--lib/irb/ext/save-history.rb1
-rw-r--r--lib/irb/ext/tracer.rb1
-rw-r--r--lib/irb/ext/use-loader.rb1
-rw-r--r--lib/irb/ext/workspaces.rb1
-rw-r--r--lib/irb/extend-command.rb1
-rw-r--r--lib/irb/frame.rb1
-rw-r--r--lib/irb/help.rb1
-rw-r--r--lib/irb/init.rb1
-rw-r--r--lib/irb/input-method.rb1
-rw-r--r--lib/irb/inspector.rb1
-rw-r--r--lib/irb/lc/error.rb1
-rw-r--r--lib/irb/lc/ja/encoding_aliases.rb1
-rw-r--r--lib/irb/lc/ja/error.rb1
-rw-r--r--lib/irb/locale.rb1
-rw-r--r--lib/irb/magic-file.rb1
-rw-r--r--lib/irb/notifier.rb1
-rw-r--r--lib/irb/output-method.rb1
-rw-r--r--lib/irb/ruby-lex.rb1
-rw-r--r--lib/irb/ruby-token.rb1
-rw-r--r--lib/irb/slex.rb1
-rw-r--r--lib/irb/src_encoding.rb1
-rw-r--r--lib/irb/version.rb1
-rw-r--r--lib/irb/workspace.rb1
-rw-r--r--lib/irb/ws-for-case-2.rb1
-rw-r--r--lib/irb/xmp.rb1
-rw-r--r--lib/logger.rb1
-rw-r--r--lib/mathn.rb1
-rw-r--r--lib/matrix.rb1
-rw-r--r--lib/matrix/eigenvalue_decomposition.rb1
-rw-r--r--lib/matrix/lup_decomposition.rb1
-rw-r--r--lib/mkmf.rb1
-rw-r--r--lib/monitor.rb1
-rw-r--r--lib/mutex_m.rb1
-rw-r--r--lib/net/http.rb1
-rw-r--r--lib/net/http/backward.rb1
-rw-r--r--lib/net/http/exceptions.rb1
-rw-r--r--lib/net/http/generic_request.rb1
-rw-r--r--lib/net/http/header.rb1
-rw-r--r--lib/net/http/proxy_delta.rb1
-rw-r--r--lib/net/http/request.rb1
-rw-r--r--lib/net/http/requests.rb1
-rw-r--r--lib/net/http/response.rb1
-rw-r--r--lib/net/http/responses.rb1
-rw-r--r--lib/net/https.rb1
-rw-r--r--lib/net/pop.rb1
-rw-r--r--lib/net/protocol.rb1
-rw-r--r--lib/net/smtp.rb1
-rw-r--r--lib/observer.rb1
-rw-r--r--lib/optionparser.rb1
-rw-r--r--lib/optparse.rb1
-rw-r--r--lib/optparse/ac.rb1
-rw-r--r--lib/optparse/date.rb1
-rw-r--r--lib/optparse/shellwords.rb1
-rw-r--r--lib/optparse/time.rb1
-rw-r--r--lib/optparse/uri.rb1
-rw-r--r--lib/optparse/version.rb1
-rw-r--r--lib/ostruct.rb1
-rw-r--r--lib/prime.rb1
-rw-r--r--lib/profile.rb1
-rw-r--r--lib/profiler.rb1
-rw-r--r--lib/pstore.rb1
-rw-r--r--lib/racc/parser.rb1
-rw-r--r--lib/rbconfig/datadir.rb1
-rw-r--r--lib/rdoc.rb1
-rw-r--r--lib/rdoc/alias.rb1
-rw-r--r--lib/rdoc/anon_class.rb1
-rw-r--r--lib/rdoc/any_method.rb1
-rw-r--r--lib/rdoc/attr.rb1
-rw-r--r--lib/rdoc/class_module.rb1
-rw-r--r--lib/rdoc/code_object.rb1
-rw-r--r--lib/rdoc/code_objects.rb1
-rw-r--r--lib/rdoc/comment.rb1
-rw-r--r--lib/rdoc/constant.rb1
-rw-r--r--lib/rdoc/context.rb1
-rw-r--r--lib/rdoc/context/section.rb1
-rw-r--r--lib/rdoc/cross_reference.rb1
-rw-r--r--lib/rdoc/encoding.rb1
-rw-r--r--lib/rdoc/erb_partial.rb1
-rw-r--r--lib/rdoc/erbio.rb1
-rw-r--r--lib/rdoc/extend.rb1
-rw-r--r--lib/rdoc/generator.rb1
-rw-r--r--lib/rdoc/generator/darkfish.rb1
-rw-r--r--lib/rdoc/generator/json_index.rb1
-rw-r--r--lib/rdoc/generator/markup.rb1
-rw-r--r--lib/rdoc/generator/pot.rb1
-rw-r--r--lib/rdoc/generator/pot/message_extractor.rb1
-rw-r--r--lib/rdoc/generator/pot/po.rb1
-rw-r--r--lib/rdoc/generator/pot/po_entry.rb1
-rw-r--r--lib/rdoc/generator/ri.rb1
-rw-r--r--lib/rdoc/ghost_method.rb1
-rw-r--r--lib/rdoc/i18n.rb1
-rw-r--r--lib/rdoc/i18n/locale.rb1
-rw-r--r--lib/rdoc/i18n/text.rb1
-rw-r--r--lib/rdoc/include.rb1
-rw-r--r--lib/rdoc/known_classes.rb1
-rw-r--r--lib/rdoc/markdown.rb1
-rw-r--r--lib/rdoc/markdown/entities.rb1
-rw-r--r--lib/rdoc/markdown/literals_1_9.rb1
-rw-r--r--lib/rdoc/markup.rb1
-rw-r--r--lib/rdoc/markup/attr_changer.rb1
-rw-r--r--lib/rdoc/markup/attr_span.rb1
-rw-r--r--lib/rdoc/markup/attribute_manager.rb1
-rw-r--r--lib/rdoc/markup/attributes.rb1
-rw-r--r--lib/rdoc/markup/blank_line.rb1
-rw-r--r--lib/rdoc/markup/block_quote.rb1
-rw-r--r--lib/rdoc/markup/document.rb1
-rw-r--r--lib/rdoc/markup/formatter.rb1
-rw-r--r--lib/rdoc/markup/formatter_test_case.rb1
-rw-r--r--lib/rdoc/markup/hard_break.rb1
-rw-r--r--lib/rdoc/markup/heading.rb1
-rw-r--r--lib/rdoc/markup/include.rb1
-rw-r--r--lib/rdoc/markup/indented_paragraph.rb1
-rw-r--r--lib/rdoc/markup/inline.rb1
-rw-r--r--lib/rdoc/markup/list.rb1
-rw-r--r--lib/rdoc/markup/list_item.rb1
-rw-r--r--lib/rdoc/markup/paragraph.rb1
-rw-r--r--lib/rdoc/markup/parser.rb1
-rw-r--r--lib/rdoc/markup/pre_process.rb1
-rw-r--r--lib/rdoc/markup/raw.rb1
-rw-r--r--lib/rdoc/markup/rule.rb1
-rw-r--r--lib/rdoc/markup/special.rb1
-rw-r--r--lib/rdoc/markup/text_formatter_test_case.rb1
-rw-r--r--lib/rdoc/markup/to_ansi.rb1
-rw-r--r--lib/rdoc/markup/to_bs.rb1
-rw-r--r--lib/rdoc/markup/to_html.rb1
-rw-r--r--lib/rdoc/markup/to_html_crossref.rb1
-rw-r--r--lib/rdoc/markup/to_html_snippet.rb1
-rw-r--r--lib/rdoc/markup/to_joined_paragraph.rb1
-rw-r--r--lib/rdoc/markup/to_label.rb1
-rw-r--r--lib/rdoc/markup/to_markdown.rb1
-rw-r--r--lib/rdoc/markup/to_rdoc.rb1
-rw-r--r--lib/rdoc/markup/to_table_of_contents.rb1
-rw-r--r--lib/rdoc/markup/to_test.rb1
-rw-r--r--lib/rdoc/markup/to_tt_only.rb1
-rw-r--r--lib/rdoc/markup/verbatim.rb1
-rw-r--r--lib/rdoc/meta_method.rb1
-rw-r--r--lib/rdoc/method_attr.rb1
-rw-r--r--lib/rdoc/mixin.rb1
-rw-r--r--lib/rdoc/normal_class.rb1
-rw-r--r--lib/rdoc/normal_module.rb1
-rw-r--r--lib/rdoc/options.rb1
-rw-r--r--lib/rdoc/parser.rb1
-rw-r--r--lib/rdoc/parser/c.rb1
-rw-r--r--lib/rdoc/parser/changelog.rb1
-rw-r--r--lib/rdoc/parser/markdown.rb1
-rw-r--r--lib/rdoc/parser/rd.rb1
-rw-r--r--lib/rdoc/parser/ruby.rb1
-rw-r--r--lib/rdoc/parser/ruby_tools.rb1
-rw-r--r--lib/rdoc/parser/simple.rb1
-rw-r--r--lib/rdoc/parser/text.rb1
-rw-r--r--lib/rdoc/rd.rb1
-rw-r--r--lib/rdoc/rd/block_parser.rb1
-rw-r--r--lib/rdoc/rd/inline.rb1
-rw-r--r--lib/rdoc/rd/inline_parser.rb1
-rw-r--r--lib/rdoc/rdoc.rb1
-rw-r--r--lib/rdoc/require.rb1
-rw-r--r--lib/rdoc/ri.rb1
-rw-r--r--lib/rdoc/ri/driver.rb1
-rw-r--r--lib/rdoc/ri/formatter.rb1
-rw-r--r--lib/rdoc/ri/paths.rb1
-rw-r--r--lib/rdoc/ri/store.rb1
-rw-r--r--lib/rdoc/ri/task.rb1
-rw-r--r--lib/rdoc/ruby_lex.rb1
-rw-r--r--lib/rdoc/ruby_token.rb1
-rw-r--r--lib/rdoc/rubygems_hook.rb1
-rw-r--r--lib/rdoc/servlet.rb1
-rw-r--r--lib/rdoc/single_class.rb1
-rw-r--r--lib/rdoc/stats.rb1
-rw-r--r--lib/rdoc/stats/normal.rb1
-rw-r--r--lib/rdoc/stats/quiet.rb1
-rw-r--r--lib/rdoc/stats/verbose.rb1
-rw-r--r--lib/rdoc/store.rb1
-rw-r--r--lib/rdoc/task.rb1
-rw-r--r--lib/rdoc/test_case.rb1
-rw-r--r--lib/rdoc/text.rb1
-rw-r--r--lib/rdoc/token_stream.rb1
-rw-r--r--lib/rdoc/tom_doc.rb1
-rw-r--r--lib/rdoc/top_level.rb1
-rw-r--r--lib/rexml/attlistdecl.rb1
-rw-r--r--lib/rexml/attribute.rb1
-rw-r--r--lib/rexml/cdata.rb1
-rw-r--r--lib/rexml/child.rb1
-rw-r--r--lib/rexml/comment.rb1
-rw-r--r--lib/rexml/doctype.rb1
-rw-r--r--lib/rexml/document.rb1
-rw-r--r--lib/rexml/dtd/attlistdecl.rb1
-rw-r--r--lib/rexml/dtd/dtd.rb1
-rw-r--r--lib/rexml/dtd/elementdecl.rb1
-rw-r--r--lib/rexml/dtd/entitydecl.rb1
-rw-r--r--lib/rexml/dtd/notationdecl.rb1
-rw-r--r--lib/rexml/element.rb1
-rw-r--r--lib/rexml/encoding.rb1
-rw-r--r--lib/rexml/entity.rb1
-rw-r--r--lib/rexml/formatters/default.rb1
-rw-r--r--lib/rexml/formatters/pretty.rb1
-rw-r--r--lib/rexml/formatters/transitive.rb1
-rw-r--r--lib/rexml/functions.rb1
-rw-r--r--lib/rexml/instruction.rb1
-rw-r--r--lib/rexml/light/node.rb1
-rw-r--r--lib/rexml/namespace.rb1
-rw-r--r--lib/rexml/node.rb1
-rw-r--r--lib/rexml/output.rb1
-rw-r--r--lib/rexml/parent.rb1
-rw-r--r--lib/rexml/parseexception.rb1
-rw-r--r--lib/rexml/parsers/baseparser.rb1
-rw-r--r--lib/rexml/parsers/lightparser.rb1
-rw-r--r--lib/rexml/parsers/pullparser.rb1
-rw-r--r--lib/rexml/parsers/sax2parser.rb1
-rw-r--r--lib/rexml/parsers/streamparser.rb1
-rw-r--r--lib/rexml/parsers/treeparser.rb1
-rw-r--r--lib/rexml/parsers/ultralightparser.rb1
-rw-r--r--lib/rexml/parsers/xpathparser.rb1
-rw-r--r--lib/rexml/quickpath.rb1
-rw-r--r--lib/rexml/rexml.rb1
-rw-r--r--lib/rexml/sax2listener.rb1
-rw-r--r--lib/rexml/security.rb1
-rw-r--r--lib/rexml/source.rb1
-rw-r--r--lib/rexml/streamlistener.rb1
-rw-r--r--lib/rexml/syncenumerator.rb1
-rw-r--r--lib/rexml/text.rb1
-rw-r--r--lib/rexml/undefinednamespaceexception.rb1
-rw-r--r--lib/rexml/validation/relaxng.rb1
-rw-r--r--lib/rexml/validation/validation.rb1
-rw-r--r--lib/rexml/validation/validationexception.rb1
-rw-r--r--lib/rexml/xmldecl.rb1
-rw-r--r--lib/rexml/xmltokens.rb1
-rw-r--r--lib/rexml/xpath.rb1
-rw-r--r--lib/rexml/xpath_parser.rb1
-rw-r--r--lib/rinda/rinda.rb1
-rw-r--r--lib/rinda/ring.rb1
-rw-r--r--lib/rinda/tuplespace.rb1
-rw-r--r--lib/rss.rb1
-rw-r--r--lib/rss/0.9.rb1
-rw-r--r--lib/rss/1.0.rb1
-rw-r--r--lib/rss/2.0.rb1
-rw-r--r--lib/rss/atom.rb1
-rw-r--r--lib/rss/content.rb1
-rw-r--r--lib/rss/content/1.0.rb1
-rw-r--r--lib/rss/content/2.0.rb1
-rw-r--r--lib/rss/converter.rb1
-rw-r--r--lib/rss/dublincore.rb1
-rw-r--r--lib/rss/dublincore/1.0.rb1
-rw-r--r--lib/rss/dublincore/2.0.rb1
-rw-r--r--lib/rss/dublincore/atom.rb1
-rw-r--r--lib/rss/image.rb1
-rw-r--r--lib/rss/itunes.rb1
-rw-r--r--lib/rss/maker.rb1
-rw-r--r--lib/rss/maker/0.9.rb1
-rw-r--r--lib/rss/maker/1.0.rb1
-rw-r--r--lib/rss/maker/2.0.rb1
-rw-r--r--lib/rss/maker/atom.rb1
-rw-r--r--lib/rss/maker/base.rb1
-rw-r--r--lib/rss/maker/content.rb1
-rw-r--r--lib/rss/maker/dublincore.rb1
-rw-r--r--lib/rss/maker/entry.rb1
-rw-r--r--lib/rss/maker/feed.rb1
-rw-r--r--lib/rss/maker/image.rb1
-rw-r--r--lib/rss/maker/itunes.rb1
-rw-r--r--lib/rss/maker/slash.rb1
-rw-r--r--lib/rss/maker/syndication.rb1
-rw-r--r--lib/rss/maker/taxonomy.rb1
-rw-r--r--lib/rss/maker/trackback.rb1
-rw-r--r--lib/rss/parser.rb1
-rw-r--r--lib/rss/rexmlparser.rb1
-rw-r--r--lib/rss/rss.rb1
-rw-r--r--lib/rss/slash.rb1
-rw-r--r--lib/rss/syndication.rb1
-rw-r--r--lib/rss/taxonomy.rb1
-rw-r--r--lib/rss/trackback.rb1
-rw-r--r--lib/rss/utils.rb1
-rw-r--r--lib/rss/xml-stylesheet.rb1
-rw-r--r--lib/rss/xml.rb1
-rw-r--r--lib/rss/xmlparser.rb1
-rw-r--r--lib/rss/xmlscanner.rb1
-rw-r--r--lib/rubygems.rb1
-rw-r--r--lib/rubygems/available_set.rb1
-rw-r--r--lib/rubygems/basic_specification.rb1
-rw-r--r--lib/rubygems/command.rb1
-rw-r--r--lib/rubygems/command_manager.rb1
-rw-r--r--lib/rubygems/commands/build_command.rb1
-rw-r--r--lib/rubygems/commands/cert_command.rb1
-rw-r--r--lib/rubygems/commands/check_command.rb1
-rw-r--r--lib/rubygems/commands/cleanup_command.rb1
-rw-r--r--lib/rubygems/commands/contents_command.rb1
-rw-r--r--lib/rubygems/commands/dependency_command.rb1
-rw-r--r--lib/rubygems/commands/environment_command.rb1
-rw-r--r--lib/rubygems/commands/fetch_command.rb1
-rw-r--r--lib/rubygems/commands/generate_index_command.rb1
-rw-r--r--lib/rubygems/commands/help_command.rb1
-rw-r--r--lib/rubygems/commands/install_command.rb1
-rw-r--r--lib/rubygems/commands/list_command.rb1
-rw-r--r--lib/rubygems/commands/lock_command.rb1
-rw-r--r--lib/rubygems/commands/mirror_command.rb1
-rw-r--r--lib/rubygems/commands/open_command.rb1
-rw-r--r--lib/rubygems/commands/outdated_command.rb1
-rw-r--r--lib/rubygems/commands/owner_command.rb1
-rw-r--r--lib/rubygems/commands/pristine_command.rb1
-rw-r--r--lib/rubygems/commands/push_command.rb1
-rw-r--r--lib/rubygems/commands/query_command.rb1
-rw-r--r--lib/rubygems/commands/rdoc_command.rb1
-rw-r--r--lib/rubygems/commands/search_command.rb1
-rw-r--r--lib/rubygems/commands/server_command.rb1
-rw-r--r--lib/rubygems/commands/setup_command.rb1
-rw-r--r--lib/rubygems/commands/sources_command.rb1
-rw-r--r--lib/rubygems/commands/specification_command.rb1
-rw-r--r--lib/rubygems/commands/stale_command.rb1
-rw-r--r--lib/rubygems/commands/uninstall_command.rb1
-rw-r--r--lib/rubygems/commands/unpack_command.rb1
-rw-r--r--lib/rubygems/commands/update_command.rb1
-rw-r--r--lib/rubygems/commands/which_command.rb1
-rw-r--r--lib/rubygems/commands/yank_command.rb1
-rw-r--r--lib/rubygems/compatibility.rb1
-rw-r--r--lib/rubygems/config_file.rb1
-rw-r--r--lib/rubygems/core_ext/kernel_gem.rb1
-rwxr-xr-xlib/rubygems/core_ext/kernel_require.rb1
-rw-r--r--lib/rubygems/defaults.rb1
-rw-r--r--lib/rubygems/dependency.rb1
-rw-r--r--lib/rubygems/dependency_installer.rb1
-rw-r--r--lib/rubygems/dependency_list.rb1
-rw-r--r--lib/rubygems/deprecate.rb1
-rw-r--r--lib/rubygems/doctor.rb1
-rw-r--r--lib/rubygems/errors.rb1
-rw-r--r--lib/rubygems/exceptions.rb1
-rw-r--r--lib/rubygems/ext.rb1
-rw-r--r--lib/rubygems/ext/build_error.rb1
-rw-r--r--lib/rubygems/ext/builder.rb1
-rw-r--r--lib/rubygems/ext/cmake_builder.rb1
-rw-r--r--lib/rubygems/ext/configure_builder.rb1
-rw-r--r--lib/rubygems/ext/ext_conf_builder.rb1
-rw-r--r--lib/rubygems/ext/rake_builder.rb1
-rw-r--r--lib/rubygems/gem_runner.rb1
-rw-r--r--lib/rubygems/gemcutter_utilities.rb1
-rw-r--r--lib/rubygems/indexer.rb1
-rw-r--r--lib/rubygems/install_default_message.rb1
-rw-r--r--lib/rubygems/install_message.rb1
-rw-r--r--lib/rubygems/install_update_options.rb1
-rw-r--r--lib/rubygems/installer.rb1
-rw-r--r--lib/rubygems/installer_test_case.rb1
-rw-r--r--lib/rubygems/local_remote_options.rb1
-rw-r--r--lib/rubygems/mock_gem_ui.rb1
-rw-r--r--lib/rubygems/name_tuple.rb1
-rw-r--r--lib/rubygems/package.rb1
-rw-r--r--lib/rubygems/package/digest_io.rb1
-rw-r--r--lib/rubygems/package/file_source.rb1
-rw-r--r--lib/rubygems/package/io_source.rb1
-rw-r--r--lib/rubygems/package/old.rb1
-rw-r--r--lib/rubygems/package/source.rb1
-rw-r--r--lib/rubygems/package/tar_header.rb1
-rw-r--r--lib/rubygems/package/tar_reader.rb1
-rw-r--r--lib/rubygems/package/tar_reader/entry.rb1
-rw-r--r--lib/rubygems/package/tar_test_case.rb1
-rw-r--r--lib/rubygems/package/tar_writer.rb1
-rw-r--r--lib/rubygems/package_task.rb1
-rw-r--r--lib/rubygems/path_support.rb1
-rw-r--r--lib/rubygems/platform.rb1
-rw-r--r--lib/rubygems/psych_additions.rb1
-rw-r--r--lib/rubygems/psych_tree.rb1
-rw-r--r--lib/rubygems/rdoc.rb1
-rw-r--r--lib/rubygems/remote_fetcher.rb1
-rw-r--r--lib/rubygems/request.rb1
-rw-r--r--lib/rubygems/request/connection_pools.rb1
-rw-r--r--lib/rubygems/request/http_pool.rb1
-rw-r--r--lib/rubygems/request/https_pool.rb1
-rw-r--r--lib/rubygems/request_set.rb1
-rw-r--r--lib/rubygems/request_set/gem_dependency_api.rb1
-rw-r--r--lib/rubygems/request_set/lockfile.rb1
-rw-r--r--lib/rubygems/request_set/lockfile/parser.rb1
-rw-r--r--lib/rubygems/request_set/lockfile/tokenizer.rb1
-rw-r--r--lib/rubygems/requirement.rb1
-rw-r--r--lib/rubygems/resolver.rb1
-rw-r--r--lib/rubygems/resolver/activation_request.rb1
-rw-r--r--lib/rubygems/resolver/api_set.rb1
-rw-r--r--lib/rubygems/resolver/api_specification.rb1
-rw-r--r--lib/rubygems/resolver/best_set.rb1
-rw-r--r--lib/rubygems/resolver/composed_set.rb1
-rw-r--r--lib/rubygems/resolver/conflict.rb1
-rw-r--r--lib/rubygems/resolver/current_set.rb1
-rw-r--r--lib/rubygems/resolver/dependency_request.rb1
-rw-r--r--lib/rubygems/resolver/git_set.rb1
-rw-r--r--lib/rubygems/resolver/git_specification.rb1
-rw-r--r--lib/rubygems/resolver/index_set.rb1
-rw-r--r--lib/rubygems/resolver/index_specification.rb1
-rw-r--r--lib/rubygems/resolver/installed_specification.rb1
-rw-r--r--lib/rubygems/resolver/installer_set.rb1
-rw-r--r--lib/rubygems/resolver/local_specification.rb1
-rw-r--r--lib/rubygems/resolver/lock_set.rb1
-rw-r--r--lib/rubygems/resolver/lock_specification.rb1
-rw-r--r--lib/rubygems/resolver/molinillo.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/errors.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/state.rb1
-rw-r--r--lib/rubygems/resolver/requirement_list.rb1
-rw-r--r--lib/rubygems/resolver/set.rb1
-rw-r--r--lib/rubygems/resolver/spec_specification.rb1
-rw-r--r--lib/rubygems/resolver/specification.rb1
-rw-r--r--lib/rubygems/resolver/stats.rb1
-rw-r--r--lib/rubygems/resolver/vendor_set.rb1
-rw-r--r--lib/rubygems/resolver/vendor_specification.rb1
-rw-r--r--lib/rubygems/security.rb1
-rw-r--r--lib/rubygems/security/policies.rb1
-rw-r--r--lib/rubygems/security/policy.rb1
-rw-r--r--lib/rubygems/security/signer.rb1
-rw-r--r--lib/rubygems/security/trust_dir.rb1
-rw-r--r--lib/rubygems/server.rb1
-rw-r--r--lib/rubygems/source.rb1
-rw-r--r--lib/rubygems/source/git.rb1
-rw-r--r--lib/rubygems/source/installed.rb1
-rw-r--r--lib/rubygems/source/local.rb1
-rw-r--r--lib/rubygems/source/lock.rb1
-rw-r--r--lib/rubygems/source/specific_file.rb1
-rw-r--r--lib/rubygems/source/vendor.rb1
-rw-r--r--lib/rubygems/source_list.rb1
-rw-r--r--lib/rubygems/source_local.rb1
-rw-r--r--lib/rubygems/source_specific_file.rb1
-rw-r--r--lib/rubygems/spec_fetcher.rb1
-rw-r--r--lib/rubygems/specification.rb1
-rw-r--r--lib/rubygems/stub_specification.rb1
-rw-r--r--lib/rubygems/syck_hack.rb1
-rw-r--r--lib/rubygems/test_case.rb1
-rw-r--r--lib/rubygems/test_utilities.rb1
-rw-r--r--lib/rubygems/text.rb1
-rw-r--r--lib/rubygems/uninstaller.rb1
-rw-r--r--lib/rubygems/uri_formatter.rb1
-rw-r--r--lib/rubygems/user_interaction.rb1
-rw-r--r--lib/rubygems/util.rb1
-rw-r--r--lib/rubygems/util/licenses.rb1
-rw-r--r--lib/rubygems/util/list.rb1
-rw-r--r--lib/rubygems/validator.rb1
-rw-r--r--lib/rubygems/version.rb1
-rw-r--r--lib/rubygems/version_option.rb1
-rw-r--r--lib/scanf.rb1
-rw-r--r--lib/shell.rb1
-rw-r--r--lib/shell/builtin-command.rb1
-rw-r--r--lib/shell/command-processor.rb1
-rw-r--r--lib/shell/error.rb1
-rw-r--r--lib/shell/filter.rb1
-rw-r--r--lib/shell/process-controller.rb1
-rw-r--r--lib/shell/system-command.rb1
-rw-r--r--lib/shell/version.rb1
-rw-r--r--lib/shellwords.rb1
-rw-r--r--lib/singleton.rb1
-rw-r--r--lib/sync.rb1
-rw-r--r--lib/tempfile.rb1
-rw-r--r--lib/thwait.rb1
-rw-r--r--lib/timeout.rb1
-rw-r--r--lib/tracer.rb1
-rw-r--r--lib/ubygems.rb1
-rw-r--r--lib/un.rb1
-rw-r--r--lib/unicode_normalize.rb1
-rw-r--r--lib/unicode_normalize/normalize.rb1
-rw-r--r--lib/uri.rb1
-rw-r--r--lib/uri/common.rb1
-rw-r--r--lib/uri/ftp.rb1
-rw-r--r--lib/uri/http.rb1
-rw-r--r--lib/uri/https.rb1
-rw-r--r--lib/uri/ldap.rb1
-rw-r--r--lib/uri/ldaps.rb1
-rw-r--r--lib/uri/mailto.rb1
-rw-r--r--lib/uri/rfc2396_parser.rb1
-rw-r--r--lib/uri/rfc3986_parser.rb1
-rw-r--r--lib/weakref.rb1
-rw-r--r--lib/webrick.rb1
-rw-r--r--lib/webrick/accesslog.rb1
-rw-r--r--lib/webrick/cgi.rb1
-rw-r--r--lib/webrick/compat.rb1
-rw-r--r--lib/webrick/config.rb1
-rw-r--r--lib/webrick/cookie.rb1
-rw-r--r--lib/webrick/htmlutils.rb1
-rw-r--r--lib/webrick/httpauth.rb1
-rw-r--r--lib/webrick/httpauth/authenticator.rb1
-rw-r--r--lib/webrick/httpauth/basicauth.rb1
-rw-r--r--lib/webrick/httpauth/digestauth.rb1
-rw-r--r--lib/webrick/httpauth/htdigest.rb1
-rw-r--r--lib/webrick/httpauth/htgroup.rb1
-rw-r--r--lib/webrick/httpauth/htpasswd.rb1
-rw-r--r--lib/webrick/httpauth/userdb.rb1
-rw-r--r--lib/webrick/httpproxy.rb1
-rw-r--r--lib/webrick/httprequest.rb1
-rw-r--r--lib/webrick/httpresponse.rb1
-rw-r--r--lib/webrick/https.rb1
-rw-r--r--lib/webrick/httpserver.rb1
-rw-r--r--lib/webrick/httpservlet.rb1
-rw-r--r--lib/webrick/httpservlet/abstract.rb1
-rw-r--r--lib/webrick/httpservlet/cgi_runner.rb1
-rw-r--r--lib/webrick/httpservlet/cgihandler.rb1
-rw-r--r--lib/webrick/httpservlet/erbhandler.rb1
-rw-r--r--lib/webrick/httpservlet/filehandler.rb1
-rw-r--r--lib/webrick/httpservlet/prochandler.rb1
-rw-r--r--lib/webrick/httpstatus.rb1
-rw-r--r--lib/webrick/httputils.rb1
-rw-r--r--lib/webrick/httpversion.rb1
-rw-r--r--lib/webrick/log.rb1
-rw-r--r--lib/webrick/server.rb1
-rw-r--r--lib/webrick/ssl.rb1
-rw-r--r--lib/webrick/utils.rb1
-rw-r--r--lib/webrick/version.rb1
-rw-r--r--lib/xmlrpc.rb1
-rw-r--r--lib/xmlrpc/base64.rb1
-rw-r--r--lib/xmlrpc/client.rb1
-rw-r--r--lib/xmlrpc/config.rb1
-rw-r--r--lib/xmlrpc/create.rb1
-rw-r--r--lib/xmlrpc/datetime.rb1
-rw-r--r--lib/xmlrpc/marshal.rb1
-rw-r--r--lib/xmlrpc/parser.rb1
-rw-r--r--lib/xmlrpc/server.rb1
-rw-r--r--lib/xmlrpc/utils.rb1
-rw-r--r--lib/yaml.rb1
-rw-r--r--lib/yaml/dbm.rb1
-rw-r--r--lib/yaml/store.rb1
-rw-r--r--test/-ext-/array/test_resize.rb1
-rw-r--r--test/-ext-/bignum/test_big2str.rb1
-rw-r--r--test/-ext-/bignum/test_bigzero.rb1
-rw-r--r--test/-ext-/bignum/test_div.rb1
-rw-r--r--test/-ext-/bignum/test_mul.rb1
-rw-r--r--test/-ext-/bignum/test_pack.rb1
-rw-r--r--test/-ext-/bignum/test_str2big.rb1
-rw-r--r--test/-ext-/bug_reporter/test_bug_reporter.rb1
-rw-r--r--test/-ext-/class/test_class2name.rb1
-rw-r--r--test/-ext-/debug/test_debug.rb1
-rw-r--r--test/-ext-/debug/test_profile_frames.rb1
-rw-r--r--test/-ext-/exception/test_data_error.rb1
-rw-r--r--test/-ext-/exception/test_enc_raise.rb1
-rw-r--r--test/-ext-/exception/test_ensured.rb1
-rw-r--r--test/-ext-/file/test_stat.rb1
-rw-r--r--test/-ext-/float/test_nextafter.rb1
-rw-r--r--test/-ext-/funcall/test_passing_block.rb1
-rw-r--r--test/-ext-/gvl/test_last_thread.rb1
-rw-r--r--test/-ext-/hash/test_delete.rb1
-rw-r--r--test/-ext-/iseq_load/test_iseq_load.rb1
-rw-r--r--test/-ext-/iter/test_iter_break.rb1
-rw-r--r--test/-ext-/iter/test_yield_block.rb1
-rw-r--r--test/-ext-/load/test_dot_dot.rb1
-rw-r--r--test/-ext-/marshal/test_internal_ivar.rb1
-rw-r--r--test/-ext-/marshal/test_usrmarshal.rb1
-rw-r--r--test/-ext-/method/test_arity.rb1
-rw-r--r--test/-ext-/num2int/test_num2int.rb1
-rw-r--r--test/-ext-/path_to_class/test_path_to_class.rb1
-rw-r--r--test/-ext-/popen_deadlock/test_popen_deadlock.rb1
-rw-r--r--test/-ext-/postponed_job/test_postponed_job.rb1
-rw-r--r--test/-ext-/proc/test_bmethod.rb1
-rw-r--r--test/-ext-/rational/test_rat.rb1
-rw-r--r--test/-ext-/st/test_foreach.rb1
-rw-r--r--test/-ext-/st/test_numhash.rb1
-rw-r--r--test/-ext-/st/test_update.rb1
-rw-r--r--test/-ext-/string/test_coderange.rb1
-rw-r--r--test/-ext-/string/test_cstr.rb1
-rw-r--r--test/-ext-/string/test_ellipsize.rb1
-rw-r--r--test/-ext-/string/test_enc_associate.rb1
-rw-r--r--test/-ext-/string/test_enc_str_buf_cat.rb1
-rw-r--r--test/-ext-/string/test_fstring.rb1
-rw-r--r--test/-ext-/string/test_modify_expand.rb1
-rw-r--r--test/-ext-/string/test_nofree.rb1
-rw-r--r--test/-ext-/string/test_normalize.rb1
-rw-r--r--test/-ext-/string/test_qsort.rb1
-rw-r--r--test/-ext-/string/test_set_len.rb1
-rw-r--r--test/-ext-/struct/test_member.rb1
-rw-r--r--test/-ext-/symbol/test_inadvertent_creation.rb1
-rw-r--r--test/-ext-/symbol/test_type.rb1
-rw-r--r--test/-ext-/test_bug-3571.rb1
-rw-r--r--test/-ext-/test_bug-5832.rb1
-rw-r--r--test/-ext-/test_notimplement.rb1
-rw-r--r--test/-ext-/test_printf.rb1
-rw-r--r--test/-ext-/test_recursion.rb1
-rw-r--r--test/-ext-/time/test_new.rb1
-rw-r--r--test/-ext-/tracepoint/test_tracepoint.rb1
-rw-r--r--test/-ext-/typeddata/test_typeddata.rb1
-rw-r--r--test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb1
-rw-r--r--test/-ext-/win32/test_console_attr.rb1
-rw-r--r--test/-ext-/win32/test_dln.rb1
-rw-r--r--test/-ext-/win32/test_fd_setsize.rb1
-rw-r--r--test/base64/test_base64.rb1
-rw-r--r--test/benchmark/test_benchmark.rb1
-rw-r--r--test/bigdecimal/test_bigdecimal.rb1
-rw-r--r--test/bigdecimal/test_bigdecimal_util.rb1
-rw-r--r--test/bigdecimal/test_bigmath.rb1
-rw-r--r--test/bigdecimal/testbase.rb1
-rw-r--r--test/cgi/test_cgi_cookie.rb1
-rw-r--r--test/cgi/test_cgi_core.rb1
-rw-r--r--test/cgi/test_cgi_header.rb1
-rw-r--r--test/cgi/test_cgi_modruby.rb1
-rw-r--r--test/cgi/test_cgi_multipart.rb1
-rw-r--r--test/cgi/test_cgi_session.rb1
-rw-r--r--test/cgi/test_cgi_tag_helper.rb1
-rw-r--r--test/cgi/test_cgi_util.rb1
-rw-r--r--test/cgi/update_env.rb1
-rw-r--r--test/coverage/test_coverage.rb1
-rw-r--r--test/csv/base.rb1
-rwxr-xr-xtest/csv/test_csv_parsing.rb1
-rwxr-xr-xtest/csv/test_csv_writing.rb1
-rwxr-xr-xtest/csv/test_data_converters.rb1
-rwxr-xr-xtest/csv/test_encodings.rb1
-rwxr-xr-xtest/csv/test_features.rb1
-rwxr-xr-xtest/csv/test_headers.rb1
-rwxr-xr-xtest/csv/test_interface.rb1
-rwxr-xr-xtest/csv/test_row.rb1
-rwxr-xr-xtest/csv/test_table.rb1
-rw-r--r--test/csv/ts_all.rb1
-rw-r--r--test/date/test_date.rb1
-rw-r--r--test/date/test_date_arith.rb1
-rw-r--r--test/date/test_date_attr.rb1
-rw-r--r--test/date/test_date_base.rb1
-rw-r--r--test/date/test_date_compat.rb1
-rw-r--r--test/date/test_date_conv.rb1
-rw-r--r--test/date/test_date_marshal.rb1
-rw-r--r--test/date/test_date_new.rb1
-rw-r--r--test/date/test_date_parse.rb1
-rw-r--r--test/date/test_date_strftime.rb1
-rw-r--r--test/date/test_date_strptime.rb1
-rw-r--r--test/date/test_switch_hitter.rb1
-rw-r--r--test/dbm/test_dbm.rb1
-rw-r--r--test/digest/digest/foo.rb1
-rw-r--r--test/digest/test_digest.rb1
-rw-r--r--test/digest/test_digest_extend.rb1
-rw-r--r--test/drb/drbtest.rb1
-rw-r--r--test/drb/ignore_test_drb.rb1
-rw-r--r--test/drb/test_acl.rb1
-rw-r--r--test/drb/test_drb.rb1
-rw-r--r--test/drb/test_drbssl.rb1
-rw-r--r--test/drb/test_drbunix.rb1
-rw-r--r--test/drb/ut_array.rb1
-rw-r--r--test/drb/ut_array_drbssl.rb1
-rw-r--r--test/drb/ut_array_drbunix.rb1
-rw-r--r--test/drb/ut_drb.rb1
-rw-r--r--test/drb/ut_drb_drbssl.rb1
-rw-r--r--test/drb/ut_drb_drbunix.rb1
-rw-r--r--test/drb/ut_eq.rb1
-rw-r--r--test/drb/ut_eval.rb1
-rw-r--r--test/drb/ut_large.rb1
-rw-r--r--test/drb/ut_port.rb1
-rw-r--r--test/drb/ut_safe1.rb1
-rw-r--r--test/drb/ut_timerholder.rb1
-rw-r--r--test/dtrace/dummy.rb1
-rw-r--r--test/dtrace/helper.rb1
-rw-r--r--test/dtrace/test_array_create.rb1
-rw-r--r--test/dtrace/test_cmethod.rb1
-rw-r--r--test/dtrace/test_function_entry.rb1
-rw-r--r--test/dtrace/test_gc.rb1
-rw-r--r--test/dtrace/test_hash_create.rb1
-rw-r--r--test/dtrace/test_load.rb1
-rw-r--r--test/dtrace/test_method_cache.rb1
-rw-r--r--test/dtrace/test_object_create_start.rb1
-rw-r--r--test/dtrace/test_raise.rb1
-rw-r--r--test/dtrace/test_require.rb1
-rw-r--r--test/dtrace/test_singleton_function.rb1
-rw-r--r--test/dtrace/test_string.rb1
-rw-r--r--test/erb/test_erb.rb1
-rw-r--r--test/erb/test_erb_command.rb1
-rw-r--r--test/erb/test_erb_m17n.rb1
-rw-r--r--test/etc/test_etc.rb1
-rw-r--r--test/excludes/TestException.rb1
-rw-r--r--test/excludes/TestIO_Console.rb1
-rw-r--r--test/excludes/TestThread.rb1
-rw-r--r--test/fiddle/helper.rb1
-rw-r--r--test/fiddle/test_c_struct_entry.rb1
-rw-r--r--test/fiddle/test_c_union_entity.rb1
-rw-r--r--test/fiddle/test_closure.rb1
-rw-r--r--test/fiddle/test_cparser.rb1
-rw-r--r--test/fiddle/test_fiddle.rb1
-rw-r--r--test/fiddle/test_func.rb1
-rw-r--r--test/fiddle/test_function.rb1
-rw-r--r--test/fiddle/test_handle.rb1
-rw-r--r--test/fiddle/test_import.rb1
-rw-r--r--test/fiddle/test_pointer.rb1
-rw-r--r--test/fileutils/clobber.rb1
-rw-r--r--test/fileutils/fileasserts.rb1
-rw-r--r--test/fileutils/test_dryrun.rb1
-rw-r--r--test/fileutils/test_fileutils.rb1
-rw-r--r--test/fileutils/test_nowrite.rb1
-rw-r--r--test/fileutils/test_verbose.rb1
-rw-r--r--test/fileutils/visibility_tests.rb1
-rw-r--r--test/gdbm/test_gdbm.rb1
-rw-r--r--test/io/console/test_io_console.rb1
-rw-r--r--test/io/nonblock/test_flush.rb1
-rw-r--r--test/io/wait/test_io_wait.rb1
-rw-r--r--test/irb/test_completion.rb1
-rw-r--r--test/irb/test_option.rb1
-rw-r--r--test/irb/test_raise_no_backtrace_exception.rb1
-rw-r--r--test/json/setup_variant.rb1
-rwxr-xr-xtest/json/test_json.rb1
-rw-r--r--test/json/test_json_addition.rb1
-rw-r--r--test/json/test_json_encoding.rb1
-rw-r--r--test/json/test_json_fixtures.rb1
-rw-r--r--test/json/test_json_generate.rb1
-rw-r--r--test/json/test_json_generic_object.rb1
-rw-r--r--test/json/test_json_string_matching.rb1
-rw-r--r--test/json/test_json_unicode.rb1
-rw-r--r--test/lib/envutil.rb1
-rw-r--r--test/lib/find_executable.rb1
-rw-r--r--test/lib/iseq_loader_checker.rb1
-rw-r--r--test/lib/leakchecker.rb1
-rw-r--r--test/lib/memory_status.rb1
-rw-r--r--test/lib/minitest/autorun.rb1
-rw-r--r--test/lib/minitest/benchmark.rb1
-rw-r--r--test/lib/minitest/mock.rb1
-rw-r--r--test/lib/minitest/unit.rb1
-rw-r--r--test/lib/profile_test_all.rb1
-rw-r--r--test/lib/test/unit.rb1
-rw-r--r--test/lib/test/unit/assertions.rb1
-rw-r--r--test/lib/test/unit/parallel.rb1
-rw-r--r--test/lib/test/unit/testcase.rb1
-rw-r--r--test/lib/tracepointchecker.rb1
-rw-r--r--test/lib/with_different_ofs.rb1
-rw-r--r--test/lib/zombie_hunter.rb1
-rw-r--r--test/logger/test_logdevice.rb1
-rw-r--r--test/logger/test_logger.rb1
-rw-r--r--test/logger/test_severity.rb1
-rw-r--r--test/matrix/test_matrix.rb1
-rw-r--r--test/matrix/test_vector.rb1
-rw-r--r--test/minitest/metametameta.rb1
-rw-r--r--test/minitest/test_minitest_benchmark.rb1
-rw-r--r--test/minitest/test_minitest_mock.rb1
-rw-r--r--test/minitest/test_minitest_unit.rb1
-rw-r--r--test/misc/test_ruby_mode.rb1
-rw-r--r--test/mkmf/base.rb1
-rw-r--r--test/mkmf/test_config.rb1
-rw-r--r--test/mkmf/test_constant.rb1
-rw-r--r--test/mkmf/test_convertible.rb1
-rw-r--r--test/mkmf/test_find_executable.rb1
-rw-r--r--test/mkmf/test_flags.rb1
-rw-r--r--test/mkmf/test_framework.rb1
-rw-r--r--test/mkmf/test_have_func.rb1
-rw-r--r--test/mkmf/test_have_library.rb1
-rw-r--r--test/mkmf/test_have_macro.rb1
-rw-r--r--test/mkmf/test_libs.rb1
-rw-r--r--test/mkmf/test_signedness.rb1
-rw-r--r--test/mkmf/test_sizeof.rb1
-rw-r--r--test/monitor/test_monitor.rb1
-rw-r--r--test/net/http/test_buffered_io.rb1
-rw-r--r--test/net/http/test_http.rb1
-rw-r--r--test/net/http/test_http_request.rb1
-rw-r--r--test/net/http/test_httpheader.rb1
-rw-r--r--test/net/http/test_httpresponse.rb1
-rw-r--r--test/net/http/test_httpresponses.rb1
-rw-r--r--test/net/http/test_https.rb1
-rw-r--r--test/net/http/test_https_proxy.rb1
-rw-r--r--test/net/http/utils.rb1
-rw-r--r--test/net/pop/test_pop.rb1
-rw-r--r--test/net/protocol/test_protocol.rb1
-rw-r--r--test/net/smtp/test_response.rb1
-rw-r--r--test/net/smtp/test_smtp.rb1
-rw-r--r--test/net/smtp/test_ssl_socket.rb1
-rw-r--r--test/nkf/test_kconv.rb1
-rw-r--r--test/nkf/test_nkf.rb1
-rw-r--r--test/objspace/test_objspace.rb1
-rw-r--r--test/openssl/test_asn1.rb1
-rw-r--r--test/openssl/test_bn.rb1
-rw-r--r--test/openssl/test_buffering.rb1
-rw-r--r--test/openssl/test_cipher.rb1
-rw-r--r--test/openssl/test_config.rb1
-rw-r--r--test/openssl/test_digest.rb1
-rw-r--r--test/openssl/test_engine.rb1
-rw-r--r--test/openssl/test_fips.rb1
-rw-r--r--test/openssl/test_hmac.rb1
-rw-r--r--test/openssl/test_ns_spki.rb1
-rw-r--r--test/openssl/test_ocsp.rb1
-rw-r--r--test/openssl/test_pair.rb1
-rw-r--r--test/openssl/test_partial_record_read.rb1
-rw-r--r--test/openssl/test_pkcs12.rb1
-rw-r--r--test/openssl/test_pkcs5.rb1
-rw-r--r--test/openssl/test_pkcs7.rb1
-rw-r--r--test/openssl/test_pkey_dh.rb1
-rw-r--r--test/openssl/test_pkey_dsa.rb1
-rw-r--r--test/openssl/test_pkey_ec.rb1
-rw-r--r--test/openssl/test_pkey_rsa.rb1
-rw-r--r--test/openssl/test_random.rb1
-rw-r--r--test/openssl/test_ssl.rb1
-rw-r--r--test/openssl/test_ssl_session.rb1
-rw-r--r--test/openssl/test_x509cert.rb1
-rw-r--r--test/openssl/test_x509crl.rb1
-rw-r--r--test/openssl/test_x509ext.rb1
-rw-r--r--test/openssl/test_x509name.rb1
-rw-r--r--test/openssl/test_x509req.rb1
-rw-r--r--test/openssl/test_x509store.rb1
-rw-r--r--test/openssl/utils.rb1
-rw-r--r--test/optparse/test_acceptable.rb1
-rw-r--r--test/optparse/test_autoconf.rb1
-rw-r--r--test/optparse/test_bash_completion.rb1
-rw-r--r--test/optparse/test_getopts.rb1
-rw-r--r--test/optparse/test_noarg.rb1
-rw-r--r--test/optparse/test_optarg.rb1
-rw-r--r--test/optparse/test_optparse.rb1
-rw-r--r--test/optparse/test_placearg.rb1
-rw-r--r--test/optparse/test_reqarg.rb1
-rw-r--r--test/optparse/test_summary.rb1
-rw-r--r--test/optparse/test_zsh_completion.rb1
-rw-r--r--test/ostruct/test_ostruct.rb1
-rw-r--r--test/psych/handlers/test_recorder.rb1
-rw-r--r--test/psych/helper.rb1
-rw-r--r--test/psych/json/test_stream.rb1
-rw-r--r--test/psych/nodes/test_enumerable.rb1
-rw-r--r--test/psych/test_alias_and_anchor.rb1
-rw-r--r--test/psych/test_array.rb1
-rw-r--r--test/psych/test_boolean.rb1
-rw-r--r--test/psych/test_class.rb1
-rw-r--r--test/psych/test_coder.rb1
-rw-r--r--test/psych/test_date_time.rb1
-rw-r--r--test/psych/test_deprecated.rb1
-rw-r--r--test/psych/test_document.rb1
-rw-r--r--test/psych/test_emitter.rb1
-rw-r--r--test/psych/test_encoding.rb1
-rw-r--r--test/psych/test_exception.rb1
-rw-r--r--test/psych/test_hash.rb1
-rw-r--r--test/psych/test_json_tree.rb1
-rw-r--r--test/psych/test_marshalable.rb1
-rw-r--r--test/psych/test_merge_keys.rb1
-rw-r--r--test/psych/test_nil.rb1
-rw-r--r--test/psych/test_null.rb1
-rw-r--r--test/psych/test_numeric.rb1
-rw-r--r--test/psych/test_object.rb1
-rw-r--r--test/psych/test_object_references.rb1
-rw-r--r--test/psych/test_omap.rb1
-rw-r--r--test/psych/test_parser.rb1
-rw-r--r--test/psych/test_psych.rb1
-rw-r--r--test/psych/test_safe_load.rb1
-rw-r--r--test/psych/test_scalar.rb1
-rw-r--r--test/psych/test_scalar_scanner.rb1
-rw-r--r--test/psych/test_serialize_subclasses.rb1
-rw-r--r--test/psych/test_set.rb1
-rw-r--r--test/psych/test_stream.rb1
-rw-r--r--test/psych/test_string.rb1
-rw-r--r--test/psych/test_struct.rb1
-rw-r--r--test/psych/test_symbol.rb1
-rw-r--r--test/psych/test_tainted.rb1
-rw-r--r--test/psych/test_to_yaml_properties.rb1
-rw-r--r--test/psych/test_tree_builder.rb1
-rw-r--r--test/psych/test_yaml.rb1
-rw-r--r--test/psych/test_yamldbm.rb1
-rw-r--r--test/psych/test_yamlstore.rb1
-rw-r--r--test/psych/visitors/test_depth_first.rb1
-rw-r--r--test/psych/visitors/test_emitter.rb1
-rw-r--r--test/psych/visitors/test_to_ruby.rb1
-rw-r--r--test/psych/visitors/test_yaml_tree.rb1
-rw-r--r--test/rdoc/test_rdoc_alias.rb1
-rw-r--r--test/rdoc/test_rdoc_any_method.rb1
-rw-r--r--test/rdoc/test_rdoc_attr.rb1
-rw-r--r--test/rdoc/test_rdoc_class_module.rb1
-rw-r--r--test/rdoc/test_rdoc_code_object.rb1
-rw-r--r--test/rdoc/test_rdoc_comment.rb1
-rw-r--r--test/rdoc/test_rdoc_constant.rb1
-rw-r--r--test/rdoc/test_rdoc_context.rb1
-rw-r--r--test/rdoc/test_rdoc_context_section.rb1
-rw-r--r--test/rdoc/test_rdoc_cross_reference.rb1
-rw-r--r--test/rdoc/test_rdoc_encoding.rb1
-rw-r--r--test/rdoc/test_rdoc_extend.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_darkfish.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_json_index.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_markup.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_pot.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_pot_po.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_pot_po_entry.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_ri.rb1
-rw-r--r--test/rdoc/test_rdoc_i18n_locale.rb1
-rw-r--r--test/rdoc/test_rdoc_i18n_text.rb1
-rw-r--r--test/rdoc/test_rdoc_include.rb1
-rw-r--r--test/rdoc/test_rdoc_markdown.rb1
-rw-r--r--test/rdoc/test_rdoc_markdown_test.rb1
-rw-r--r--test/rdoc/test_rdoc_markup.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_attribute_manager.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_attributes.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_document.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_formatter.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_hard_break.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_heading.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_include.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_indented_paragraph.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_paragraph.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_parser.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_pre_process.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_raw.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_ansi.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_bs.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_html.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_html_crossref.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_html_snippet.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_joined_paragraph.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_label.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_markdown.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_rdoc.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_table_of_contents.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_tt_only.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_verbatim.rb1
-rw-r--r--test/rdoc/test_rdoc_method_attr.rb1
-rw-r--r--test/rdoc/test_rdoc_normal_class.rb1
-rw-r--r--test/rdoc/test_rdoc_normal_module.rb1
-rw-r--r--test/rdoc/test_rdoc_options.rb1
-rw-r--r--test/rdoc/test_rdoc_parser.rb1
-rw-r--r--test/rdoc/test_rdoc_parser_c.rb1
-rw-r--r--test/rdoc/test_rdoc_parser_changelog.rb1
-rw-r--r--test/rdoc/test_rdoc_parser_markdown.rb1
-rw-r--r--test/rdoc/test_rdoc_parser_rd.rb1
-rw-r--r--test/rdoc/test_rdoc_parser_ruby.rb1
-rw-r--r--test/rdoc/test_rdoc_parser_simple.rb1
-rw-r--r--test/rdoc/test_rdoc_rd.rb1
-rw-r--r--test/rdoc/test_rdoc_rd_block_parser.rb1
-rw-r--r--test/rdoc/test_rdoc_rd_inline.rb1
-rw-r--r--test/rdoc/test_rdoc_rd_inline_parser.rb1
-rw-r--r--test/rdoc/test_rdoc_rdoc.rb1
-rw-r--r--test/rdoc/test_rdoc_require.rb1
-rw-r--r--test/rdoc/test_rdoc_ri_driver.rb1
-rw-r--r--test/rdoc/test_rdoc_ri_paths.rb1
-rw-r--r--test/rdoc/test_rdoc_ruby_lex.rb1
-rw-r--r--test/rdoc/test_rdoc_ruby_token.rb1
-rw-r--r--test/rdoc/test_rdoc_rubygems_hook.rb1
-rw-r--r--test/rdoc/test_rdoc_servlet.rb1
-rw-r--r--test/rdoc/test_rdoc_single_class.rb1
-rw-r--r--test/rdoc/test_rdoc_stats.rb1
-rw-r--r--test/rdoc/test_rdoc_store.rb1
-rw-r--r--test/rdoc/test_rdoc_task.rb1
-rw-r--r--test/rdoc/test_rdoc_text.rb1
-rw-r--r--test/rdoc/test_rdoc_token_stream.rb1
-rw-r--r--test/rdoc/test_rdoc_tom_doc.rb1
-rw-r--r--test/rdoc/test_rdoc_top_level.rb1
-rw-r--r--test/rdoc/xref_data.rb1
-rw-r--r--test/rdoc/xref_test_case.rb1
-rw-r--r--test/readline/test_readline.rb1
-rw-r--r--test/readline/test_readline_history.rb1
-rw-r--r--test/resolv/test_addr.rb1
-rw-r--r--test/resolv/test_dns.rb1
-rw-r--r--test/resolv/test_resource.rb1
-rw-r--r--test/rexml/listener.rb1
-rw-r--r--test/rexml/parse/test_document_type_declaration.rb1
-rw-r--r--test/rexml/parse/test_notation_declaration.rb1
-rw-r--r--test/rexml/parser/test_sax2.rb1
-rw-r--r--test/rexml/parser/test_tree.rb1
-rw-r--r--test/rexml/parser/test_ultra_light.rb1
-rw-r--r--test/rexml/rexml_test_utils.rb1
-rw-r--r--test/rexml/test_attributes.rb1
-rw-r--r--test/rexml/test_attributes_mixin.rb1
-rw-r--r--test/rexml/test_changing_encoding.rb1
-rw-r--r--test/rexml/test_comment.rb1
-rw-r--r--test/rexml/test_contrib.rb1
-rw-r--r--test/rexml/test_core.rb1
-rw-r--r--test/rexml/test_doctype.rb1
-rw-r--r--test/rexml/test_document.rb1
-rw-r--r--test/rexml/test_elements.rb1
-rw-r--r--test/rexml/test_encoding.rb1
-rw-r--r--test/rexml/test_entity.rb1
-rw-r--r--test/rexml/test_functions.rb1
-rw-r--r--test/rexml/test_functions_number.rb1
-rw-r--r--test/rexml/test_jaxen.rb1
-rw-r--r--test/rexml/test_light.rb1
-rw-r--r--test/rexml/test_lightparser.rb1
-rw-r--r--test/rexml/test_listener.rb1
-rw-r--r--test/rexml/test_martin_fowler.rb1
-rw-r--r--test/rexml/test_namespace.rb1
-rw-r--r--test/rexml/test_order.rb1
-rw-r--r--test/rexml/test_preceding_sibling.rb1
-rw-r--r--test/rexml/test_pullparser.rb1
-rw-r--r--test/rexml/test_rexml_issuezilla.rb1
-rw-r--r--test/rexml/test_sax.rb1
-rw-r--r--test/rexml/test_stream.rb1
-rw-r--r--test/rexml/test_text.rb1
-rw-r--r--test/rexml/test_ticket_80.rb1
-rw-r--r--test/rexml/test_validation_rng.rb1
-rw-r--r--test/rexml/test_xml_declaration.rb1
-rw-r--r--test/rexml/xpath/test_attribute.rb1
-rw-r--r--test/rexml/xpath/test_axis_preceding_sibling.rb1
-rw-r--r--test/rexml/xpath/test_base.rb1
-rw-r--r--test/rexml/xpath/test_node.rb1
-rw-r--r--test/rexml/xpath/test_predicate.rb1
-rw-r--r--test/rexml/xpath/test_text.rb1
-rw-r--r--test/rinda/test_rinda.rb1
-rw-r--r--test/rinda/test_tuplebag.rb1
-rw-r--r--test/ripper/dummyparser.rb1
-rw-r--r--test/ripper/test_files.rb1
-rw-r--r--test/ripper/test_filter.rb3
-rw-r--r--test/ripper/test_ripper.rb1
-rw-r--r--test/ripper/test_scanner_events.rb1
-rw-r--r--test/ripper/test_sexp.rb1
-rw-r--r--test/rss/rss-assertions.rb1
-rw-r--r--test/rss/rss-testcase.rb1
-rw-r--r--test/rss/test_1.0.rb1
-rw-r--r--test/rss/test_2.0.rb1
-rw-r--r--test/rss/test_accessor.rb1
-rw-r--r--test/rss/test_atom.rb1
-rw-r--r--test/rss/test_content.rb1
-rw-r--r--test/rss/test_dublincore.rb1
-rw-r--r--test/rss/test_image.rb1
-rw-r--r--test/rss/test_inherit.rb1
-rw-r--r--test/rss/test_itunes.rb1
-rw-r--r--test/rss/test_maker_0.9.rb1
-rw-r--r--test/rss/test_maker_1.0.rb1
-rw-r--r--test/rss/test_maker_2.0.rb1
-rw-r--r--test/rss/test_maker_atom_entry.rb1
-rw-r--r--test/rss/test_maker_atom_feed.rb1
-rw-r--r--test/rss/test_maker_content.rb1
-rw-r--r--test/rss/test_maker_dc.rb1
-rw-r--r--test/rss/test_maker_image.rb1
-rw-r--r--test/rss/test_maker_itunes.rb1
-rw-r--r--test/rss/test_maker_slash.rb1
-rw-r--r--test/rss/test_maker_sy.rb1
-rw-r--r--test/rss/test_maker_taxo.rb1
-rw-r--r--test/rss/test_maker_trackback.rb1
-rw-r--r--test/rss/test_maker_xml-stylesheet.rb1
-rw-r--r--test/rss/test_parser.rb1
-rw-r--r--test/rss/test_parser_1.0.rb1
-rw-r--r--test/rss/test_parser_2.0.rb1
-rw-r--r--test/rss/test_parser_atom_entry.rb1
-rw-r--r--test/rss/test_parser_atom_feed.rb1
-rw-r--r--test/rss/test_setup_maker_0.9.rb1
-rw-r--r--test/rss/test_setup_maker_1.0.rb1
-rw-r--r--test/rss/test_setup_maker_2.0.rb1
-rw-r--r--test/rss/test_setup_maker_atom_entry.rb1
-rw-r--r--test/rss/test_setup_maker_atom_feed.rb1
-rw-r--r--test/rss/test_setup_maker_itunes.rb1
-rw-r--r--test/rss/test_setup_maker_slash.rb1
-rw-r--r--test/rss/test_slash.rb1
-rw-r--r--test/rss/test_syndication.rb1
-rw-r--r--test/rss/test_taxonomy.rb1
-rw-r--r--test/rss/test_to_s.rb1
-rw-r--r--test/rss/test_trackback.rb1
-rw-r--r--test/rss/test_version.rb1
-rw-r--r--test/rss/test_xml-stylesheet.rb1
-rw-r--r--test/ruby/allpairs.rb1
-rw-r--r--test/ruby/beginmainend.rb1
-rw-r--r--test/ruby/enc/test_big5.rb1
-rw-r--r--test/ruby/enc/test_cp949.rb1
-rw-r--r--test/ruby/enc/test_emoji.rb1
-rw-r--r--test/ruby/enc/test_euc_jp.rb1
-rw-r--r--test/ruby/enc/test_euc_kr.rb1
-rw-r--r--test/ruby/enc/test_euc_tw.rb1
-rw-r--r--test/ruby/enc/test_gb18030.rb1
-rw-r--r--test/ruby/enc/test_gbk.rb1
-rw-r--r--test/ruby/enc/test_iso_8859.rb1
-rw-r--r--test/ruby/enc/test_koi8.rb1
-rw-r--r--test/ruby/enc/test_shift_jis.rb1
-rw-r--r--test/ruby/enc/test_utf16.rb1
-rw-r--r--test/ruby/enc/test_utf32.rb1
-rw-r--r--test/ruby/enc/test_windows_1251.rb1
-rw-r--r--test/ruby/enc/test_windows_1252.rb1
-rw-r--r--test/ruby/lbtest.rb1
-rw-r--r--test/ruby/marshaltestlib.rb1
-rw-r--r--test/ruby/sentence.rb1
-rw-r--r--test/ruby/test_alias.rb1
-rw-r--r--test/ruby/test_argf.rb1
-rw-r--r--test/ruby/test_arity.rb1
-rw-r--r--test/ruby/test_array.rb1
-rw-r--r--test/ruby/test_assignment.rb1
-rw-r--r--test/ruby/test_autoload.rb1
-rw-r--r--test/ruby/test_backtrace.rb1
-rw-r--r--test/ruby/test_basicinstructions.rb1
-rw-r--r--test/ruby/test_beginendblock.rb1
-rw-r--r--test/ruby/test_bignum.rb1
-rw-r--r--test/ruby/test_call.rb1
-rw-r--r--test/ruby/test_case.rb1
-rw-r--r--test/ruby/test_class.rb1
-rw-r--r--test/ruby/test_clone.rb1
-rw-r--r--test/ruby/test_comparable.rb1
-rw-r--r--test/ruby/test_complex.rb1
-rw-r--r--test/ruby/test_complex2.rb1
-rw-r--r--test/ruby/test_complexrational.rb1
-rw-r--r--test/ruby/test_condition.rb1
-rw-r--r--test/ruby/test_const.rb1
-rw-r--r--test/ruby/test_continuation.rb1
-rw-r--r--test/ruby/test_defined.rb1
-rw-r--r--test/ruby/test_dir.rb1
-rw-r--r--test/ruby/test_dir_m17n.rb1
-rw-r--r--test/ruby/test_econv.rb1
-rw-r--r--test/ruby/test_encoding.rb1
-rw-r--r--test/ruby/test_enum.rb1
-rw-r--r--test/ruby/test_enumerator.rb1
-rw-r--r--test/ruby/test_env.rb1
-rw-r--r--test/ruby/test_eval.rb1
-rw-r--r--test/ruby/test_exception.rb1
-rw-r--r--test/ruby/test_extlibs.rb1
-rw-r--r--test/ruby/test_fiber.rb1
-rw-r--r--test/ruby/test_file.rb1
-rw-r--r--test/ruby/test_file_exhaustive.rb1
-rw-r--r--test/ruby/test_fixnum.rb1
-rw-r--r--test/ruby/test_flip.rb1
-rw-r--r--test/ruby/test_float.rb1
-rw-r--r--test/ruby/test_fnmatch.rb1
-rw-r--r--test/ruby/test_gc.rb1
-rw-r--r--test/ruby/test_hash.rb1
-rw-r--r--test/ruby/test_ifunless.rb1
-rw-r--r--test/ruby/test_integer.rb1
-rw-r--r--test/ruby/test_integer_comb.rb1
-rw-r--r--test/ruby/test_io.rb1
-rw-r--r--test/ruby/test_io_m17n.rb1
-rw-r--r--test/ruby/test_iterator.rb1
-rw-r--r--test/ruby/test_keyword.rb1
-rw-r--r--test/ruby/test_lambda.rb1
-rw-r--r--test/ruby/test_lazy_enumerator.rb1
-rw-r--r--test/ruby/test_literal.rb1
-rw-r--r--test/ruby/test_m17n.rb1
-rw-r--r--test/ruby/test_m17n_comb.rb1
-rw-r--r--test/ruby/test_marshal.rb1
-rw-r--r--test/ruby/test_math.rb1
-rw-r--r--test/ruby/test_metaclass.rb1
-rw-r--r--test/ruby/test_method.rb1
-rw-r--r--test/ruby/test_mixed_unicode_escapes.rb1
-rw-r--r--test/ruby/test_module.rb1
-rw-r--r--test/ruby/test_not.rb1
-rw-r--r--test/ruby/test_notimp.rb1
-rw-r--r--test/ruby/test_numeric.rb1
-rw-r--r--test/ruby/test_object.rb1
-rw-r--r--test/ruby/test_objectspace.rb1
-rw-r--r--test/ruby/test_optimization.rb1
-rw-r--r--test/ruby/test_pack.rb1
-rw-r--r--test/ruby/test_parse.rb1
-rw-r--r--test/ruby/test_path.rb1
-rw-r--r--test/ruby/test_pipe.rb1
-rw-r--r--test/ruby/test_primitive.rb1
-rw-r--r--test/ruby/test_proc.rb1
-rw-r--r--test/ruby/test_process.rb1
-rw-r--r--test/ruby/test_rand.rb1
-rw-r--r--test/ruby/test_range.rb1
-rw-r--r--test/ruby/test_rational.rb1
-rw-r--r--test/ruby/test_rational2.rb1
-rw-r--r--test/ruby/test_readpartial.rb1
-rw-r--r--test/ruby/test_refinement.rb1
-rw-r--r--test/ruby/test_regexp.rb1
-rw-r--r--test/ruby/test_require.rb1
-rw-r--r--test/ruby/test_rubyvm.rb1
-rw-r--r--test/ruby/test_settracefunc.rb1
-rw-r--r--test/ruby/test_signal.rb1
-rw-r--r--test/ruby/test_sleep.rb1
-rw-r--r--test/ruby/test_sprintf.rb1
-rw-r--r--test/ruby/test_sprintf_comb.rb1
-rw-r--r--test/ruby/test_string.rb1
-rw-r--r--test/ruby/test_stringchar.rb1
-rw-r--r--test/ruby/test_struct.rb1
-rw-r--r--test/ruby/test_super.rb1
-rw-r--r--test/ruby/test_symbol.rb1
-rw-r--r--test/ruby/test_syntax.rb1
-rw-r--r--test/ruby/test_system.rb1
-rw-r--r--test/ruby/test_thread.rb1
-rw-r--r--test/ruby/test_threadgroup.rb1
-rw-r--r--test/ruby/test_time.rb1
-rw-r--r--test/ruby/test_time_tz.rb1
-rw-r--r--test/ruby/test_trace.rb1
-rw-r--r--test/ruby/test_transcode.rb1
-rw-r--r--test/ruby/test_undef.rb1
-rw-r--r--test/ruby/test_unicode_escape.rb1
-rw-r--r--test/ruby/test_variable.rb1
-rw-r--r--test/ruby/test_weakmap.rb1
-rw-r--r--test/ruby/test_whileuntil.rb1
-rw-r--r--test/ruby/test_yield.rb1
-rw-r--r--test/ruby/ut_eof.rb1
-rw-r--r--test/rubygems/bad_rake.rb1
-rw-r--r--test/rubygems/bogussources.rb1
-rw-r--r--test/rubygems/fake_certlib/openssl.rb1
-rw-r--r--test/rubygems/fix_openssl_warnings.rb1
-rw-r--r--test/rubygems/foo/discover.rb1
-rw-r--r--test/rubygems/good_rake.rb1
-rw-r--r--test/rubygems/plugin/exception/rubygems_plugin.rb1
-rw-r--r--test/rubygems/plugin/load/rubygems_plugin.rb1
-rw-r--r--test/rubygems/plugin/standarderror/rubygems_plugin.rb1
-rw-r--r--test/rubygems/rubygems/commands/crash_command.rb1
-rw-r--r--test/rubygems/rubygems_plugin.rb1
-rw-r--r--test/rubygems/sff/discover.rb1
-rw-r--r--test/rubygems/simple_gem.rb1
-rw-r--r--test/rubygems/test_bundled_ca.rb1
-rw-r--r--test/rubygems/test_config.rb1
-rw-r--r--test/rubygems/test_deprecate.rb1
-rw-r--r--test/rubygems/test_gem.rb1
-rw-r--r--test/rubygems/test_gem_available_set.rb1
-rw-r--r--test/rubygems/test_gem_command.rb1
-rw-r--r--test/rubygems/test_gem_command_manager.rb1
-rw-r--r--test/rubygems/test_gem_commands_build_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_cert_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_check_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_cleanup_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_contents_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_dependency_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_environment_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_fetch_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_generate_index_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_help_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_install_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_list_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_lock_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_mirror.rb1
-rw-r--r--test/rubygems/test_gem_commands_open_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_outdated_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_owner_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_pristine_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_push_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_query_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_search_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_server_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_sources_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_specification_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_stale_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_uninstall_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_unpack_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_update_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_which_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_yank_command.rb1
-rw-r--r--test/rubygems/test_gem_config_file.rb1
-rw-r--r--test/rubygems/test_gem_dependency.rb1
-rw-r--r--test/rubygems/test_gem_dependency_installer.rb1
-rw-r--r--test/rubygems/test_gem_dependency_list.rb1
-rw-r--r--test/rubygems/test_gem_dependency_resolution_error.rb1
-rw-r--r--test/rubygems/test_gem_doctor.rb1
-rw-r--r--test/rubygems/test_gem_ext_builder.rb1
-rw-r--r--test/rubygems/test_gem_ext_cmake_builder.rb1
-rw-r--r--test/rubygems/test_gem_ext_configure_builder.rb1
-rw-r--r--test/rubygems/test_gem_ext_ext_conf_builder.rb1
-rw-r--r--test/rubygems/test_gem_ext_rake_builder.rb1
-rw-r--r--test/rubygems/test_gem_gem_runner.rb1
-rw-r--r--test/rubygems/test_gem_gemcutter_utilities.rb1
-rw-r--r--test/rubygems/test_gem_impossible_dependencies_error.rb1
-rw-r--r--test/rubygems/test_gem_indexer.rb1
-rw-r--r--test/rubygems/test_gem_install_update_options.rb1
-rw-r--r--test/rubygems/test_gem_installer.rb1
-rw-r--r--test/rubygems/test_gem_local_remote_options.rb1
-rw-r--r--test/rubygems/test_gem_name_tuple.rb1
-rw-r--r--test/rubygems/test_gem_package.rb1
-rw-r--r--test/rubygems/test_gem_package_old.rb1
-rw-r--r--test/rubygems/test_gem_package_tar_header.rb1
-rw-r--r--test/rubygems/test_gem_package_tar_reader.rb1
-rw-r--r--test/rubygems/test_gem_package_tar_reader_entry.rb1
-rw-r--r--test/rubygems/test_gem_package_tar_writer.rb1
-rw-r--r--test/rubygems/test_gem_package_task.rb1
-rw-r--r--test/rubygems/test_gem_path_support.rb1
-rw-r--r--test/rubygems/test_gem_platform.rb1
-rw-r--r--test/rubygems/test_gem_rdoc.rb1
-rw-r--r--test/rubygems/test_gem_remote_fetcher.rb1
-rw-r--r--test/rubygems/test_gem_request.rb1
-rw-r--r--test/rubygems/test_gem_request_connection_pools.rb1
-rw-r--r--test/rubygems/test_gem_request_set.rb1
-rw-r--r--test/rubygems/test_gem_request_set_gem_dependency_api.rb1
-rw-r--r--test/rubygems/test_gem_request_set_lockfile.rb1
-rw-r--r--test/rubygems/test_gem_request_set_lockfile_parser.rb1
-rw-r--r--test/rubygems/test_gem_request_set_lockfile_tokenizer.rb1
-rw-r--r--test/rubygems/test_gem_requirement.rb1
-rw-r--r--test/rubygems/test_gem_resolver.rb1
-rw-r--r--test/rubygems/test_gem_resolver_activation_request.rb1
-rw-r--r--test/rubygems/test_gem_resolver_api_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_api_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_best_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_composed_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_conflict.rb1
-rw-r--r--test/rubygems/test_gem_resolver_dependency_request.rb1
-rw-r--r--test/rubygems/test_gem_resolver_git_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_git_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_index_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_index_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_installed_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_installer_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_local_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_lock_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_lock_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_requirement_list.rb1
-rw-r--r--test/rubygems/test_gem_resolver_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_vendor_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_vendor_specification.rb1
-rw-r--r--test/rubygems/test_gem_security.rb1
-rw-r--r--test/rubygems/test_gem_security_policy.rb1
-rw-r--r--test/rubygems/test_gem_security_signer.rb1
-rw-r--r--test/rubygems/test_gem_security_trust_dir.rb1
-rw-r--r--test/rubygems/test_gem_server.rb1
-rw-r--r--test/rubygems/test_gem_silent_ui.rb1
-rw-r--r--test/rubygems/test_gem_source.rb1
-rw-r--r--test/rubygems/test_gem_source_fetch_problem.rb1
-rw-r--r--test/rubygems/test_gem_source_git.rb1
-rw-r--r--test/rubygems/test_gem_source_installed.rb1
-rw-r--r--test/rubygems/test_gem_source_list.rb1
-rw-r--r--test/rubygems/test_gem_source_local.rb1
-rw-r--r--test/rubygems/test_gem_source_lock.rb1
-rw-r--r--test/rubygems/test_gem_source_specific_file.rb1
-rw-r--r--test/rubygems/test_gem_source_vendor.rb1
-rw-r--r--test/rubygems/test_gem_spec_fetcher.rb1
-rw-r--r--test/rubygems/test_gem_specification.rb1
-rw-r--r--test/rubygems/test_gem_stream_ui.rb1
-rw-r--r--test/rubygems/test_gem_stub_specification.rb1
-rw-r--r--test/rubygems/test_gem_text.rb1
-rw-r--r--test/rubygems/test_gem_uninstaller.rb1
-rw-r--r--test/rubygems/test_gem_unsatisfiable_dependency_error.rb1
-rw-r--r--test/rubygems/test_gem_uri_formatter.rb1
-rw-r--r--test/rubygems/test_gem_util.rb1
-rw-r--r--test/rubygems/test_gem_validator.rb1
-rw-r--r--test/rubygems/test_gem_version.rb1
-rw-r--r--test/rubygems/test_gem_version_option.rb1
-rw-r--r--test/rubygems/test_kernel.rb1
-rw-r--r--test/rubygems/test_require.rb1
-rw-r--r--test/runner.rb1
-rw-r--r--test/scanf/test_scanf.rb1
-rw-r--r--test/scanf/test_scanfblocks.rb1
-rw-r--r--test/scanf/test_scanfio.rb1
-rw-r--r--test/sdbm/test_sdbm.rb1
-rw-r--r--test/shell/test_command_processor.rb1
-rw-r--r--test/stringio/test_stringio.rb1
-rw-r--r--test/strscan/test_stringscanner.rb1
-rw-r--r--test/syslog/test_syslog_logger.rb1
-rw-r--r--test/test_abbrev.rb1
-rw-r--r--test/test_cmath.rb1
-rw-r--r--test/test_delegate.rb1
-rw-r--r--test/test_find.rb1
-rw-r--r--test/test_forwardable.rb1
-rw-r--r--test/test_ipaddr.rb1
-rw-r--r--test/test_mathn.rb1
-rw-r--r--test/test_mutex_m.rb1
-rw-r--r--test/test_observer.rb1
-rw-r--r--test/test_prime.rb1
-rw-r--r--test/test_pstore.rb1
-rw-r--r--test/test_pty.rb1
-rw-r--r--test/test_rbconfig.rb1
-rw-r--r--test/test_securerandom.rb1
-rw-r--r--test/test_set.rb1
-rw-r--r--test/test_shellwords.rb1
-rw-r--r--test/test_singleton.rb1
-rw-r--r--test/test_syslog.rb1
-rw-r--r--test/test_tempfile.rb1
-rw-r--r--test/test_timeout.rb1
-rw-r--r--test/test_tmpdir.rb1
-rw-r--r--test/test_tracer.rb1
-rw-r--r--test/test_unicode_normalize.rb1
-rw-r--r--test/test_weakref.rb1
-rw-r--r--test/test_win32api.rb1
-rw-r--r--test/testunit/test4test_hideskip.rb1
-rw-r--r--test/testunit/test4test_redefinition.rb1
-rw-r--r--test/testunit/test4test_sorting.rb1
-rw-r--r--test/testunit/test_assertion.rb1
-rw-r--r--test/testunit/test_hideskip.rb1
-rw-r--r--test/testunit/test_parallel.rb1
-rw-r--r--test/testunit/test_redefinition.rb1
-rw-r--r--test/testunit/test_sorting.rb1
-rw-r--r--test/testunit/tests_for_parallel/ptest_first.rb1
-rw-r--r--test/testunit/tests_for_parallel/ptest_forth.rb1
-rw-r--r--test/testunit/tests_for_parallel/ptest_second.rb1
-rw-r--r--test/testunit/tests_for_parallel/ptest_third.rb1
-rw-r--r--test/testunit/tests_for_parallel/runner.rb1
-rw-r--r--test/thread/test_cv.rb1
-rw-r--r--test/thread/test_queue.rb1
-rw-r--r--test/thread/test_sync.rb1
-rw-r--r--test/uri/test_common.rb1
-rw-r--r--test/uri/test_ftp.rb1
-rw-r--r--test/uri/test_generic.rb1
-rw-r--r--test/uri/test_http.rb1
-rw-r--r--test/uri/test_ldap.rb1
-rw-r--r--test/uri/test_mailto.rb1
-rw-r--r--test/uri/test_parser.rb1
-rw-r--r--test/webrick/test_cgi.rb1
-rw-r--r--test/webrick/test_cookie.rb1
-rw-r--r--test/webrick/test_do_not_reverse_lookup.rb1
-rw-r--r--test/webrick/test_filehandler.rb1
-rw-r--r--test/webrick/test_htmlutils.rb1
-rw-r--r--test/webrick/test_httpauth.rb1
-rw-r--r--test/webrick/test_httpproxy.rb1
-rw-r--r--test/webrick/test_httprequest.rb1
-rw-r--r--test/webrick/test_httpresponse.rb1
-rw-r--r--test/webrick/test_httpserver.rb1
-rw-r--r--test/webrick/test_httputils.rb1
-rw-r--r--test/webrick/test_httpversion.rb1
-rw-r--r--test/webrick/test_server.rb1
-rw-r--r--test/webrick/test_utils.rb1
-rw-r--r--test/webrick/utils.rb1
-rw-r--r--test/win32ole/err_in_callback.rb1
-rw-r--r--test/win32ole/test_err_in_callback.rb1
-rw-r--r--test/win32ole/test_folderitem2_invokeverb.rb1
-rw-r--r--test/win32ole/test_nil2vtempty.rb1
-rw-r--r--test/win32ole/test_ole_methods.rb1
-rw-r--r--test/win32ole/test_propertyputref.rb1
-rw-r--r--test/win32ole/test_thread.rb1
-rw-r--r--test/win32ole/test_win32ole.rb1
-rw-r--r--test/win32ole/test_win32ole_event.rb1
-rw-r--r--test/win32ole/test_win32ole_method.rb1
-rw-r--r--test/win32ole/test_win32ole_param.rb1
-rw-r--r--test/win32ole/test_win32ole_record.rb1
-rw-r--r--test/win32ole/test_win32ole_type.rb1
-rw-r--r--test/win32ole/test_win32ole_typelib.rb1
-rw-r--r--test/win32ole/test_win32ole_variable.rb1
-rw-r--r--test/win32ole/test_win32ole_variant.rb1
-rw-r--r--test/win32ole/test_win32ole_variant_m.rb1
-rw-r--r--test/win32ole/test_win32ole_variant_outarg.rb1
-rw-r--r--test/win32ole/test_word.rb1
-rw-r--r--test/xmlrpc/test_client.rb1
-rw-r--r--test/xmlrpc/test_cookie.rb1
-rw-r--r--test/xmlrpc/test_datetime.rb1
-rw-r--r--test/xmlrpc/test_features.rb1
-rw-r--r--test/xmlrpc/test_marshal.rb1
-rw-r--r--test/xmlrpc/test_parser.rb1
-rw-r--r--test/xmlrpc/test_webrick_server.rb1
-rw-r--r--test/xmlrpc/webrick_testing.rb1
-rw-r--r--test/zlib/test_zlib.rb1
1432 files changed, 1433 insertions, 1 deletions
diff --git a/lib/English.rb b/lib/English.rb
index 838e5afc749..0c17229682f 100644
--- a/lib/English.rb
+++ b/lib/English.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# Include the English library file in a Ruby script, and you can
# reference the global variables such as \VAR{\$\_} using less
# cryptic names, listed in the following table.% \vref{tab:english}.
diff --git a/lib/abbrev.rb b/lib/abbrev.rb
index 2c07fb5cf9f..2eac293c30d 100644
--- a/lib/abbrev.rb
+++ b/lib/abbrev.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright (c) 2001,2003 Akinori MUSHA <knu@iDaemons.org>
#
diff --git a/lib/base64.rb b/lib/base64.rb
index bf33124562d..a08941af924 100644
--- a/lib/base64.rb
+++ b/lib/base64.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# = base64.rb: methods for base64-encoding and -decoding strings
#
diff --git a/lib/benchmark.rb b/lib/benchmark.rb
index 1e2b8d2d382..3aeed0c9a68 100644
--- a/lib/benchmark.rb
+++ b/lib/benchmark.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# benchmark.rb - a performance benchmarking library
#
diff --git a/lib/cgi.rb b/lib/cgi.rb
index 51f465ea181..167b76cef7e 100644
--- a/lib/cgi.rb
+++ b/lib/cgi.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# cgi.rb - cgi support library
#
diff --git a/lib/cgi/cookie.rb b/lib/cgi/cookie.rb
index f92e535bb86..ffd88b8edb0 100644
--- a/lib/cgi/cookie.rb
+++ b/lib/cgi/cookie.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'cgi/util'
class CGI
# Class representing an HTTP cookie.
diff --git a/lib/cgi/core.rb b/lib/cgi/core.rb
index b81f9153796..1a741dcd766 100644
--- a/lib/cgi/core.rb
+++ b/lib/cgi/core.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Methods for generating HTML, parsing CGI-related parameters, and
# generating HTTP responses.
diff --git a/lib/cgi/html.rb b/lib/cgi/html.rb
index db47bb82665..4b9e577b328 100644
--- a/lib/cgi/html.rb
+++ b/lib/cgi/html.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class CGI
# Base module for HTML-generation mixins.
#
diff --git a/lib/cgi/session.rb b/lib/cgi/session.rb
index 8d747f0dc7e..d44a5f84b08 100644
--- a/lib/cgi/session.rb
+++ b/lib/cgi/session.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# cgi/session.rb - session support for cgi scripts
#
diff --git a/lib/cgi/session/pstore.rb b/lib/cgi/session/pstore.rb
index 75343149e12..2dfb72bdceb 100644
--- a/lib/cgi/session/pstore.rb
+++ b/lib/cgi/session/pstore.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# cgi/session/pstore.rb - persistent storage of marshalled session data
#
diff --git a/lib/cgi/util.rb b/lib/cgi/util.rb
index 3d7db8f2c87..c2327072398 100644
--- a/lib/cgi/util.rb
+++ b/lib/cgi/util.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class CGI; module Util; end; extend Util; end
module CGI::Util
@@accept_charset="UTF-8" unless defined?(@@accept_charset)
diff --git a/lib/cmath.rb b/lib/cmath.rb
index 9d1e2c2ebf0..41ab06e77c7 100644
--- a/lib/cmath.rb
+++ b/lib/cmath.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# = Trigonometric and transcendental functions for complex numbers.
#
diff --git a/lib/debug.rb b/lib/debug.rb
index 05614e3f2bd..5d754d8ebb9 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
# Copyright (C) 2000 Information-technology Promotion Agency, Japan
# Copyright (C) 2000-2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
diff --git a/lib/delegate.rb b/lib/delegate.rb
index 7a6a2a7a7bd..4ce3c53cc9d 100644
--- a/lib/delegate.rb
+++ b/lib/delegate.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# = delegate -- Support for the Delegation Pattern
#
# Documentation by James Edward Gray II and Gavin Sinclair
diff --git a/lib/drb.rb b/lib/drb.rb
index 93cc811e14c..2bb4716fa22 100644
--- a/lib/drb.rb
+++ b/lib/drb.rb
@@ -1,2 +1,3 @@
+# frozen_string_literal: false
require 'drb/drb'
diff --git a/lib/drb/acl.rb b/lib/drb/acl.rb
index 72e034e960e..520b7df71d1 100644
--- a/lib/drb/acl.rb
+++ b/lib/drb/acl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# Copyright (c) 2000,2002,2003 Masatoshi SEKI
#
# acl.rb is copyrighted free software by Masatoshi SEKI.
diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb
index 456d0fbfa02..8011660156d 100644
--- a/lib/drb/drb.rb
+++ b/lib/drb/drb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# = drb/drb.rb
#
diff --git a/lib/drb/eq.rb b/lib/drb/eq.rb
index 553f30c598a..15ca5cae42a 100644
--- a/lib/drb/eq.rb
+++ b/lib/drb/eq.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module DRb
class DRbObject # :nodoc:
def ==(other)
diff --git a/lib/drb/extserv.rb b/lib/drb/extserv.rb
index 327b553a25f..1cb1be47099 100644
--- a/lib/drb/extserv.rb
+++ b/lib/drb/extserv.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
=begin
external service
Copyright (c) 2000,2002 Masatoshi SEKI
diff --git a/lib/drb/extservm.rb b/lib/drb/extservm.rb
index 7228939d587..e2637aa62c2 100644
--- a/lib/drb/extservm.rb
+++ b/lib/drb/extservm.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
=begin
external service manager
Copyright (c) 2000 Masatoshi SEKI
diff --git a/lib/drb/gw.rb b/lib/drb/gw.rb
index b3568ab08d6..d0005076445 100644
--- a/lib/drb/gw.rb
+++ b/lib/drb/gw.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'monitor'
diff --git a/lib/drb/invokemethod.rb b/lib/drb/invokemethod.rb
index 71ebec11f61..0fae6d52b6a 100644
--- a/lib/drb/invokemethod.rb
+++ b/lib/drb/invokemethod.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# for ruby-1.8.0
module DRb # :nodoc: all
diff --git a/lib/drb/observer.rb b/lib/drb/observer.rb
index cab9ebc60b0..3ee15331a1f 100644
--- a/lib/drb/observer.rb
+++ b/lib/drb/observer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'observer'
module DRb
diff --git a/lib/drb/ssl.rb b/lib/drb/ssl.rb
index efd8271a781..8d2724e736e 100644
--- a/lib/drb/ssl.rb
+++ b/lib/drb/ssl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'socket'
require 'openssl'
require 'drb/drb'
diff --git a/lib/drb/timeridconv.rb b/lib/drb/timeridconv.rb
index 4ea3035f39e..e83eb727657 100644
--- a/lib/drb/timeridconv.rb
+++ b/lib/drb/timeridconv.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'monitor'
diff --git a/lib/drb/unix.rb b/lib/drb/unix.rb
index 637ea7cf6f8..adacf6df5b7 100644
--- a/lib/drb/unix.rb
+++ b/lib/drb/unix.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'socket'
require 'drb/drb'
require 'tmpdir'
diff --git a/lib/e2mmap.rb b/lib/e2mmap.rb
index 1eb5b51678e..a9990b5ec56 100644
--- a/lib/e2mmap.rb
+++ b/lib/e2mmap.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
#--
# e2mmap.rb - for Ruby 1.1
diff --git a/lib/erb.rb b/lib/erb.rb
index 7b328bffb05..b876ca46252 100644
--- a/lib/erb.rb
+++ b/lib/erb.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
# = ERB -- Ruby Templating
#
# Author:: Masatoshi SEKI
diff --git a/lib/fileutils.rb b/lib/fileutils.rb
index 1468d663619..748ebd76379 100644
--- a/lib/fileutils.rb
+++ b/lib/fileutils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# = fileutils.rb
#
diff --git a/lib/find.rb b/lib/find.rb
index 55783a56950..aa7a3c082b3 100644
--- a/lib/find.rb
+++ b/lib/find.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# find.rb: the Find module for processing all files under a given directory.
#
diff --git a/lib/forwardable.rb b/lib/forwardable.rb
index c24c8d86305..cd15eeab0c5 100644
--- a/lib/forwardable.rb
+++ b/lib/forwardable.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# forwardable.rb -
# $Release Version: 1.1$
diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb
index cf635f04389..e81493ea50f 100644
--- a/lib/getoptlong.rb
+++ b/lib/getoptlong.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# GetoptLong for Ruby
#
diff --git a/lib/ipaddr.rb b/lib/ipaddr.rb
index b0df4d3e6f7..64d2a8162d5 100644
--- a/lib/ipaddr.rb
+++ b/lib/ipaddr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# ipaddr.rb - A class to manipulate an IP address
#
diff --git a/lib/irb.rb b/lib/irb.rb
index 51961db20cf..b9b39c9f28e 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb.rb - irb main module
# $Release Version: 0.9.6 $
diff --git a/lib/irb/cmd/chws.rb b/lib/irb/cmd/chws.rb
index 8c0260627e4..606e0c52a97 100644
--- a/lib/irb/cmd/chws.rb
+++ b/lib/irb/cmd/chws.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# change-ws.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/cmd/fork.rb b/lib/irb/cmd/fork.rb
index 1e02edac638..552c3962f61 100644
--- a/lib/irb/cmd/fork.rb
+++ b/lib/irb/cmd/fork.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# fork.rb -
# $Release Version: 0.9.6 $
diff --git a/lib/irb/cmd/help.rb b/lib/irb/cmd/help.rb
index 76e299fc20f..7a09c396e11 100644
--- a/lib/irb/cmd/help.rb
+++ b/lib/irb/cmd/help.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# help.rb - helper using ri
# $Release Version: 0.9.6$
diff --git a/lib/irb/cmd/load.rb b/lib/irb/cmd/load.rb
index acda9d0c8c8..e3b84dad79c 100644
--- a/lib/irb/cmd/load.rb
+++ b/lib/irb/cmd/load.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# load.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/cmd/nop.rb b/lib/irb/cmd/nop.rb
index 60379f016a4..9cf4337c286 100644
--- a/lib/irb/cmd/nop.rb
+++ b/lib/irb/cmd/nop.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# nop.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/cmd/pushws.rb b/lib/irb/cmd/pushws.rb
index 0726a4377e5..aa14430ce4c 100644
--- a/lib/irb/cmd/pushws.rb
+++ b/lib/irb/cmd/pushws.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# change-ws.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/cmd/subirb.rb b/lib/irb/cmd/subirb.rb
index ccf4fc4bcd4..f29548b88fd 100644
--- a/lib/irb/cmd/subirb.rb
+++ b/lib/irb/cmd/subirb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# multi.rb -
# $Release Version: 0.9.6$
# $Revision$
diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb
index 2d47f33d66d..e7499a8e2b1 100644
--- a/lib/irb/completion.rb
+++ b/lib/irb/completion.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/completor.rb -
# $Release Version: 0.9$
diff --git a/lib/irb/context.rb b/lib/irb/context.rb
index 9cf9600f021..4cf61289307 100644
--- a/lib/irb/context.rb
+++ b/lib/irb/context.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/context.rb - irb context
# $Release Version: 0.9.6$
diff --git a/lib/irb/ext/change-ws.rb b/lib/irb/ext/change-ws.rb
index 0ae9097285a..94bfe62bc00 100644
--- a/lib/irb/ext/change-ws.rb
+++ b/lib/irb/ext/change-ws.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/ext/cb.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/ext/history.rb b/lib/irb/ext/history.rb
index d8378753f2e..62363b13f43 100644
--- a/lib/irb/ext/history.rb
+++ b/lib/irb/ext/history.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# history.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/ext/loader.rb b/lib/irb/ext/loader.rb
index 821538cd447..840226db30d 100644
--- a/lib/irb/ext/loader.rb
+++ b/lib/irb/ext/loader.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# loader.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/ext/math-mode.rb b/lib/irb/ext/math-mode.rb
index 01bd24a1574..e409dbdc6a8 100644
--- a/lib/irb/ext/math-mode.rb
+++ b/lib/irb/ext/math-mode.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# math-mode.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/ext/multi-irb.rb b/lib/irb/ext/multi-irb.rb
index 52f6fda733d..982a319611f 100644
--- a/lib/irb/ext/multi-irb.rb
+++ b/lib/irb/ext/multi-irb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/multi-irb.rb - multiple irb module
# $Release Version: 0.9.6$
diff --git a/lib/irb/ext/save-history.rb b/lib/irb/ext/save-history.rb
index 4477d18e1a6..236f00fb930 100644
--- a/lib/irb/ext/save-history.rb
+++ b/lib/irb/ext/save-history.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# save-history.rb -
# $Release Version: 0.9.6$
# $Revision$
diff --git a/lib/irb/ext/tracer.rb b/lib/irb/ext/tracer.rb
index c145cf5b4f5..200f77e3412 100644
--- a/lib/irb/ext/tracer.rb
+++ b/lib/irb/ext/tracer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/lib/tracer.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/ext/use-loader.rb b/lib/irb/ext/use-loader.rb
index 99e76b722f7..571dd25d17a 100644
--- a/lib/irb/ext/use-loader.rb
+++ b/lib/irb/ext/use-loader.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# use-loader.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/ext/workspaces.rb b/lib/irb/ext/workspaces.rb
index 4237037271f..5bd72c194f1 100644
--- a/lib/irb/ext/workspaces.rb
+++ b/lib/irb/ext/workspaces.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# push-ws.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/extend-command.rb b/lib/irb/extend-command.rb
index a9326272ffb..6f15e6403a4 100644
--- a/lib/irb/extend-command.rb
+++ b/lib/irb/extend-command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/extend-command.rb - irb extend command
# $Release Version: 0.9.6$
diff --git a/lib/irb/frame.rb b/lib/irb/frame.rb
index 64dd63dddf9..60738092491 100644
--- a/lib/irb/frame.rb
+++ b/lib/irb/frame.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# frame.rb -
# $Release Version: 0.9$
diff --git a/lib/irb/help.rb b/lib/irb/help.rb
index b9ebfb1ae57..a4264ab4abb 100644
--- a/lib/irb/help.rb
+++ b/lib/irb/help.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/help.rb - print usage module
# $Release Version: 0.9.6$
diff --git a/lib/irb/init.rb b/lib/irb/init.rb
index af9c363a977..1184db15ea7 100644
--- a/lib/irb/init.rb
+++ b/lib/irb/init.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/init.rb - irb initialize module
# $Release Version: 0.9.6$
diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb
index 4ea3f585f8f..f7b1aac3bf3 100644
--- a/lib/irb/input-method.rb
+++ b/lib/irb/input-method.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/input-method.rb - input methods used irb
# $Release Version: 0.9.6$
diff --git a/lib/irb/inspector.rb b/lib/irb/inspector.rb
index f09b12927af..f6f76712b81 100644
--- a/lib/irb/inspector.rb
+++ b/lib/irb/inspector.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/inspector.rb - inspect methods
# $Release Version: 0.9.6$
diff --git a/lib/irb/lc/error.rb b/lib/irb/lc/error.rb
index c0c6c30d79d..6623f82d847 100644
--- a/lib/irb/lc/error.rb
+++ b/lib/irb/lc/error.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/lc/error.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/lc/ja/encoding_aliases.rb b/lib/irb/lc/ja/encoding_aliases.rb
index 5bef32e20e6..c534bf0feff 100644
--- a/lib/irb/lc/ja/encoding_aliases.rb
+++ b/lib/irb/lc/ja/encoding_aliases.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# :stopdoc:
module IRB
class Locale
diff --git a/lib/irb/lc/ja/error.rb b/lib/irb/lc/ja/error.rb
index 4f09d781cbe..919363154c0 100644
--- a/lib/irb/lc/ja/error.rb
+++ b/lib/irb/lc/ja/error.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
# irb/lc/ja/error.rb -
# $Release Version: 0.9.6$
# $Revision$
diff --git a/lib/irb/locale.rb b/lib/irb/locale.rb
index 9f40188171a..df540c8cbb1 100644
--- a/lib/irb/locale.rb
+++ b/lib/irb/locale.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/locale.rb - internationalization module
# $Release Version: 0.9.6$
diff --git a/lib/irb/magic-file.rb b/lib/irb/magic-file.rb
index 339ed60b6b0..2dee6846571 100644
--- a/lib/irb/magic-file.rb
+++ b/lib/irb/magic-file.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module IRB
class << (MagicFile = Object.new)
# see parser_magic_comment in parse.y
diff --git a/lib/irb/notifier.rb b/lib/irb/notifier.rb
index d5981df2bf4..9d8de82e695 100644
--- a/lib/irb/notifier.rb
+++ b/lib/irb/notifier.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# notifier.rb - output methods used by irb
# $Release Version: 0.9.6$
diff --git a/lib/irb/output-method.rb b/lib/irb/output-method.rb
index e0ba25f3e41..7d648516987 100644
--- a/lib/irb/output-method.rb
+++ b/lib/irb/output-method.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# output-method.rb - output methods used by irb
# $Release Version: 0.9.6$
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb
index 7189307e0ac..b1138cd77d9 100644
--- a/lib/irb/ruby-lex.rb
+++ b/lib/irb/ruby-lex.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/ruby-lex.rb - ruby lexcal analyzer
# $Release Version: 0.9.6$
diff --git a/lib/irb/ruby-token.rb b/lib/irb/ruby-token.rb
index a80d81c9a55..af53d3c93b6 100644
--- a/lib/irb/ruby-token.rb
+++ b/lib/irb/ruby-token.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/ruby-token.rb - ruby tokens
# $Release Version: 0.9.6$
diff --git a/lib/irb/slex.rb b/lib/irb/slex.rb
index f6c2bd92f55..68174771a70 100644
--- a/lib/irb/slex.rb
+++ b/lib/irb/slex.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/slex.rb - simple lex analyzer
# $Release Version: 0.9.6$
diff --git a/lib/irb/src_encoding.rb b/lib/irb/src_encoding.rb
index 958cef104c6..32f997fc7c7 100644
--- a/lib/irb/src_encoding.rb
+++ b/lib/irb/src_encoding.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# DO NOT WRITE ANY MAGIC COMMENT HERE.
def default_src_encoding
return __ENCODING__
diff --git a/lib/irb/version.rb b/lib/irb/version.rb
index bb998db3dd2..094cb33c05e 100644
--- a/lib/irb/version.rb
+++ b/lib/irb/version.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/version.rb - irb version definition file
# $Release Version: 0.9.6$
diff --git a/lib/irb/workspace.rb b/lib/irb/workspace.rb
index e05c3bbc96d..ac3e369430f 100644
--- a/lib/irb/workspace.rb
+++ b/lib/irb/workspace.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/workspace-binding.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/ws-for-case-2.rb b/lib/irb/ws-for-case-2.rb
index 9f3af49f30a..eb173fddca4 100644
--- a/lib/irb/ws-for-case-2.rb
+++ b/lib/irb/ws-for-case-2.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# irb/ws-for-case-2.rb -
# $Release Version: 0.9.6$
diff --git a/lib/irb/xmp.rb b/lib/irb/xmp.rb
index 449f04328ba..3234cff7f3f 100644
--- a/lib/irb/xmp.rb
+++ b/lib/irb/xmp.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# xmp.rb - irb version of gotoken xmp
# $Release Version: 0.9$
diff --git a/lib/logger.rb b/lib/logger.rb
index 77b08fe2044..2246673b097 100644
--- a/lib/logger.rb
+++ b/lib/logger.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# logger.rb - simple logging utility
# Copyright (C) 2000-2003, 2005, 2008, 2011 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
#
diff --git a/lib/mathn.rb b/lib/mathn.rb
index 315e5438d77..d07388bc26b 100644
--- a/lib/mathn.rb
+++ b/lib/mathn.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# $Release Version: 0.5 $
# $Revision: 1.1.1.1.4.1 $
diff --git a/lib/matrix.rb b/lib/matrix.rb
index 2b87f057ad8..fe61b6d120b 100644
--- a/lib/matrix.rb
+++ b/lib/matrix.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
#
# = matrix.rb
#
diff --git a/lib/matrix/eigenvalue_decomposition.rb b/lib/matrix/eigenvalue_decomposition.rb
index 6c3b794f33e..919db9e83d2 100644
--- a/lib/matrix/eigenvalue_decomposition.rb
+++ b/lib/matrix/eigenvalue_decomposition.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class Matrix
# Adapted from JAMA: http://math.nist.gov/javanumerics/jama/
diff --git a/lib/matrix/lup_decomposition.rb b/lib/matrix/lup_decomposition.rb
index 30f32762535..9c1998fd360 100644
--- a/lib/matrix/lup_decomposition.rb
+++ b/lib/matrix/lup_decomposition.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class Matrix
# Adapted from JAMA: http://math.nist.gov/javanumerics/jama/
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index d8bc1b525d8..2904dc05899 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
# frozen-string-literal: false
# module to create Makefile for extension modules
# invoke like: ruby -r mkmf extconf.rb
diff --git a/lib/monitor.rb b/lib/monitor.rb
index e0491ec054d..73741f8ddb6 100644
--- a/lib/monitor.rb
+++ b/lib/monitor.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# = monitor.rb
#
# Copyright (C) 2001 Shugo Maeda <shugo@ruby-lang.org>
diff --git a/lib/mutex_m.rb b/lib/mutex_m.rb
index 6698cb5ac61..627355151e7 100644
--- a/lib/mutex_m.rb
+++ b/lib/mutex_m.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# mutex_m.rb -
# $Release Version: 3.0$
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 70f5165e912..eb08edf0f7f 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# = net/http.rb
#
diff --git a/lib/net/http/backward.rb b/lib/net/http/backward.rb
index faf47b8489e..9e24eae32c4 100644
--- a/lib/net/http/backward.rb
+++ b/lib/net/http/backward.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# for backward compatibility
# :enddoc:
diff --git a/lib/net/http/exceptions.rb b/lib/net/http/exceptions.rb
index 6c5d81cb044..0d345266167 100644
--- a/lib/net/http/exceptions.rb
+++ b/lib/net/http/exceptions.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# Net::HTTP exception class.
# You cannot use Net::HTTPExceptions directly; instead, you must use
# its subclasses.
diff --git a/lib/net/http/generic_request.rb b/lib/net/http/generic_request.rb
index 9b7d28757d7..19602da27cb 100644
--- a/lib/net/http/generic_request.rb
+++ b/lib/net/http/generic_request.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# HTTPGenericRequest is the parent of the HTTPRequest class.
# Do not use this directly; use a subclass of HTTPRequest.
#
diff --git a/lib/net/http/header.rb b/lib/net/http/header.rb
index 8afa32a422b..a911d5d255f 100644
--- a/lib/net/http/header.rb
+++ b/lib/net/http/header.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# The HTTPHeader module defines methods for reading and writing
# HTTP headers.
#
diff --git a/lib/net/http/proxy_delta.rb b/lib/net/http/proxy_delta.rb
index b16c9f1ed8d..a2f770ebdb1 100644
--- a/lib/net/http/proxy_delta.rb
+++ b/lib/net/http/proxy_delta.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Net::HTTP::ProxyDelta #:nodoc: internal use only
private
diff --git a/lib/net/http/request.rb b/lib/net/http/request.rb
index e8b0f48fccf..1e86f3e4b47 100644
--- a/lib/net/http/request.rb
+++ b/lib/net/http/request.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# HTTP request class.
# This class wraps together the request header and the request path.
# You cannot use this class directly. Instead, you should use one of its
diff --git a/lib/net/http/requests.rb b/lib/net/http/requests.rb
index c1f83604798..d4c80a3812c 100644
--- a/lib/net/http/requests.rb
+++ b/lib/net/http/requests.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# HTTP/1.1 methods --- RFC2616
#
diff --git a/lib/net/http/response.rb b/lib/net/http/response.rb
index f51d6b13737..349812834fe 100644
--- a/lib/net/http/response.rb
+++ b/lib/net/http/response.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# HTTP response class.
#
# This class wraps together the response header and the response body (the
diff --git a/lib/net/http/responses.rb b/lib/net/http/responses.rb
index 284bfcfe7ff..a5b8ddc68b7 100644
--- a/lib/net/http/responses.rb
+++ b/lib/net/http/responses.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# :stopdoc:
class Net::HTTPUnknownResponse < Net::HTTPResponse
HAS_BODY = true
diff --git a/lib/net/https.rb b/lib/net/https.rb
index 4351cae3601..58cb6ddf192 100644
--- a/lib/net/https.rb
+++ b/lib/net/https.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
=begin
= net/https -- SSL/TLS enhancement for Net::HTTP.
diff --git a/lib/net/pop.rb b/lib/net/pop.rb
index db7192c95ad..00209fec469 100644
--- a/lib/net/pop.rb
+++ b/lib/net/pop.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# = net/pop.rb
#
# Copyright (c) 1999-2007 Yukihiro Matsumoto.
diff --git a/lib/net/protocol.rb b/lib/net/protocol.rb
index 28833a25ef7..b53370931ab 100644
--- a/lib/net/protocol.rb
+++ b/lib/net/protocol.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# = net/protocol.rb
#
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index 64e536a12a8..d634274c3ee 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# = net/smtp.rb
#
# Copyright (c) 1999-2007 Yukihiro Matsumoto.
diff --git a/lib/observer.rb b/lib/observer.rb
index 10f2eb0db5a..fa7446f3847 100644
--- a/lib/observer.rb
+++ b/lib/observer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# Implementation of the _Observer_ object-oriented design pattern. The
# following documentation is copied, with modifications, from "Programming
diff --git a/lib/optionparser.rb b/lib/optionparser.rb
index d89a4d22fb0..4b9b40d82a7 100644
--- a/lib/optionparser.rb
+++ b/lib/optionparser.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
require_relative 'optparse'
diff --git a/lib/optparse.rb b/lib/optparse.rb
index 2e8b5971a2a..49f7ebee9da 100644
--- a/lib/optparse.rb
+++ b/lib/optparse.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# optparse.rb - command-line option analysis with the OptionParser class.
#
diff --git a/lib/optparse/ac.rb b/lib/optparse/ac.rb
index 6a8626094d1..fb0883f97a6 100644
--- a/lib/optparse/ac.rb
+++ b/lib/optparse/ac.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'optparse'
class OptionParser::AC < OptionParser
diff --git a/lib/optparse/date.rb b/lib/optparse/date.rb
index d680559f370..d6649c83f1a 100644
--- a/lib/optparse/date.rb
+++ b/lib/optparse/date.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'optparse'
require 'date'
diff --git a/lib/optparse/shellwords.rb b/lib/optparse/shellwords.rb
index 0422d7c887d..bf31701b963 100644
--- a/lib/optparse/shellwords.rb
+++ b/lib/optparse/shellwords.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# -*- ruby -*-
require 'shellwords'
diff --git a/lib/optparse/time.rb b/lib/optparse/time.rb
index 402cadcf167..ffc6ff000d9 100644
--- a/lib/optparse/time.rb
+++ b/lib/optparse/time.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'optparse'
require 'time'
diff --git a/lib/optparse/uri.rb b/lib/optparse/uri.rb
index 024dc69eac4..51550cf91b1 100644
--- a/lib/optparse/uri.rb
+++ b/lib/optparse/uri.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# -*- ruby -*-
require 'optparse'
diff --git a/lib/optparse/version.rb b/lib/optparse/version.rb
index 85256774185..b869d8fe51e 100644
--- a/lib/optparse/version.rb
+++ b/lib/optparse/version.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# OptionParser internal utility
class << OptionParser
diff --git a/lib/ostruct.rb b/lib/ostruct.rb
index 84244b3d9ee..5aea0465bda 100644
--- a/lib/ostruct.rb
+++ b/lib/ostruct.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# = ostruct.rb: OpenStruct implementation
#
diff --git a/lib/prime.rb b/lib/prime.rb
index c79b0cfd5fe..c64c0c2cf18 100644
--- a/lib/prime.rb
+++ b/lib/prime.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# = prime.rb
#
diff --git a/lib/profile.rb b/lib/profile.rb
index 2aeecce908f..39f83703707 100644
--- a/lib/profile.rb
+++ b/lib/profile.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'profiler'
RubyVM::InstructionSequence.compile_option = {
diff --git a/lib/profiler.rb b/lib/profiler.rb
index e53951cbe6e..ab55e1fe481 100644
--- a/lib/profiler.rb
+++ b/lib/profiler.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# Profile provides a way to Profile your Ruby application.
#
# Profiling your program is a way of determining which methods are called and
diff --git a/lib/pstore.rb b/lib/pstore.rb
index 02c20c91c79..2769b250659 100644
--- a/lib/pstore.rb
+++ b/lib/pstore.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# = PStore -- Transactional File Storage for Ruby Objects
#
# pstore.rb -
diff --git a/lib/racc/parser.rb b/lib/racc/parser.rb
index f811ab6e781..0cdb42e49d1 100644
--- a/lib/racc/parser.rb
+++ b/lib/racc/parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# $originalId: parser.rb,v 1.8 2006/07/06 11:42:07 aamine Exp $
#
diff --git a/lib/rbconfig/datadir.rb b/lib/rbconfig/datadir.rb
index 9b7eabb4730..136162da445 100644
--- a/lib/rbconfig/datadir.rb
+++ b/lib/rbconfig/datadir.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rdoc.rb b/lib/rdoc.rb
index a99e5dc3099..bdd3b06e2a8 100644
--- a/lib/rdoc.rb
+++ b/lib/rdoc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$DEBUG_RDOC = nil
# :main: README.rdoc
diff --git a/lib/rdoc/alias.rb b/lib/rdoc/alias.rb
index 39d2694817e..1e06fb96e52 100644
--- a/lib/rdoc/alias.rb
+++ b/lib/rdoc/alias.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Represent an alias, which is an old_name/new_name pair associated with a
# particular context
diff --git a/lib/rdoc/anon_class.rb b/lib/rdoc/anon_class.rb
index c23d8e5d966..098bfdfcf99 100644
--- a/lib/rdoc/anon_class.rb
+++ b/lib/rdoc/anon_class.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# An anonymous class like:
#
diff --git a/lib/rdoc/any_method.rb b/lib/rdoc/any_method.rb
index ae022d72f82..16ac8e024e2 100644
--- a/lib/rdoc/any_method.rb
+++ b/lib/rdoc/any_method.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# AnyMethod is the base class for objects representing methods
diff --git a/lib/rdoc/attr.rb b/lib/rdoc/attr.rb
index 960e1d1107f..f77a5c04a72 100644
--- a/lib/rdoc/attr.rb
+++ b/lib/rdoc/attr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# An attribute created by \#attr, \#attr_reader, \#attr_writer or
# \#attr_accessor
diff --git a/lib/rdoc/class_module.rb b/lib/rdoc/class_module.rb
index 71566f050a0..5881d6cf244 100644
--- a/lib/rdoc/class_module.rb
+++ b/lib/rdoc/class_module.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# ClassModule is the base class for objects representing either a class or a
# module.
diff --git a/lib/rdoc/code_object.rb b/lib/rdoc/code_object.rb
index 4620fa586da..dc195cc6acc 100644
--- a/lib/rdoc/code_object.rb
+++ b/lib/rdoc/code_object.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Base class for the RDoc code tree.
#
diff --git a/lib/rdoc/code_objects.rb b/lib/rdoc/code_objects.rb
index f1a626cd2e1..564849e1d16 100644
--- a/lib/rdoc/code_objects.rb
+++ b/lib/rdoc/code_objects.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# This file was used to load all the RDoc::CodeObject subclasses at once. Now
# autoload handles this.
diff --git a/lib/rdoc/comment.rb b/lib/rdoc/comment.rb
index 33ced18b5ac..ebff7422336 100644
--- a/lib/rdoc/comment.rb
+++ b/lib/rdoc/comment.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A comment holds the text comment for a RDoc::CodeObject and provides a
# unified way of cleaning it up and parsing it into an RDoc::Markup::Document.
diff --git a/lib/rdoc/constant.rb b/lib/rdoc/constant.rb
index 97985cbf998..4fd5c5f10ff 100644
--- a/lib/rdoc/constant.rb
+++ b/lib/rdoc/constant.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A constant
diff --git a/lib/rdoc/context.rb b/lib/rdoc/context.rb
index 5eb86ddc92a..bc8c8eecf1c 100644
--- a/lib/rdoc/context.rb
+++ b/lib/rdoc/context.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'cgi'
##
diff --git a/lib/rdoc/context/section.rb b/lib/rdoc/context/section.rb
index 580f07deff8..90f184cb895 100644
--- a/lib/rdoc/context/section.rb
+++ b/lib/rdoc/context/section.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A section of documentation like:
#
diff --git a/lib/rdoc/cross_reference.rb b/lib/rdoc/cross_reference.rb
index 5b08d5202de..0e40d23159f 100644
--- a/lib/rdoc/cross_reference.rb
+++ b/lib/rdoc/cross_reference.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# RDoc::CrossReference is a reusable way to create cross references for names.
diff --git a/lib/rdoc/encoding.rb b/lib/rdoc/encoding.rb
index b3515a435f3..5327f9a961c 100644
--- a/lib/rdoc/encoding.rb
+++ b/lib/rdoc/encoding.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
##
# This class is a wrapper around File IO and Encoding that helps RDoc load
diff --git a/lib/rdoc/erb_partial.rb b/lib/rdoc/erb_partial.rb
index 8359258d275..ebb8cb3117e 100644
--- a/lib/rdoc/erb_partial.rb
+++ b/lib/rdoc/erb_partial.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Allows an ERB template to be rendered in the context (binding) of an
# existing ERB template evaluation.
diff --git a/lib/rdoc/erbio.rb b/lib/rdoc/erbio.rb
index 04a89fbd348..a2aaa90e67f 100644
--- a/lib/rdoc/erbio.rb
+++ b/lib/rdoc/erbio.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'erb'
##
diff --git a/lib/rdoc/extend.rb b/lib/rdoc/extend.rb
index efa2c69bee0..30b51a1dbde 100644
--- a/lib/rdoc/extend.rb
+++ b/lib/rdoc/extend.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A Module extension to a class with \#extend
#
diff --git a/lib/rdoc/generator.rb b/lib/rdoc/generator.rb
index 7d3989d42f9..d37d1db61f7 100644
--- a/lib/rdoc/generator.rb
+++ b/lib/rdoc/generator.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# RDoc uses generators to turn parsed source code in the form of an
# RDoc::CodeObject tree into some form of output. RDoc comes with the HTML
diff --git a/lib/rdoc/generator/darkfish.rb b/lib/rdoc/generator/darkfish.rb
index 024040466db..18394a2c34c 100644
--- a/lib/rdoc/generator/darkfish.rb
+++ b/lib/rdoc/generator/darkfish.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# -*- mode: ruby; ruby-indent-level: 2; tab-width: 2 -*-
require 'erb'
diff --git a/lib/rdoc/generator/json_index.rb b/lib/rdoc/generator/json_index.rb
index 5318b4cc575..90c68f91a1f 100644
--- a/lib/rdoc/generator/json_index.rb
+++ b/lib/rdoc/generator/json_index.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'json'
begin
require 'zlib'
diff --git a/lib/rdoc/generator/markup.rb b/lib/rdoc/generator/markup.rb
index 788e5a485df..3ca423bb69a 100644
--- a/lib/rdoc/generator/markup.rb
+++ b/lib/rdoc/generator/markup.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Handle common RDoc::Markup tasks for various CodeObjects
#
diff --git a/lib/rdoc/generator/pot.rb b/lib/rdoc/generator/pot.rb
index db6f3a03546..e2cf22d7300 100644
--- a/lib/rdoc/generator/pot.rb
+++ b/lib/rdoc/generator/pot.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Generates a POT file.
#
diff --git a/lib/rdoc/generator/pot/message_extractor.rb b/lib/rdoc/generator/pot/message_extractor.rb
index ceabc5262ad..0dd2497c266 100644
--- a/lib/rdoc/generator/pot/message_extractor.rb
+++ b/lib/rdoc/generator/pot/message_extractor.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Extracts message from RDoc::Store
diff --git a/lib/rdoc/generator/pot/po.rb b/lib/rdoc/generator/pot/po.rb
index 6a6b5821f35..60e14db8311 100644
--- a/lib/rdoc/generator/pot/po.rb
+++ b/lib/rdoc/generator/pot/po.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Generates a PO format text
diff --git a/lib/rdoc/generator/pot/po_entry.rb b/lib/rdoc/generator/pot/po_entry.rb
index d4cef59ee96..515d02b48dc 100644
--- a/lib/rdoc/generator/pot/po_entry.rb
+++ b/lib/rdoc/generator/pot/po_entry.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A PO entry in PO
diff --git a/lib/rdoc/generator/ri.rb b/lib/rdoc/generator/ri.rb
index b9c4141a5e2..830777e5870 100644
--- a/lib/rdoc/generator/ri.rb
+++ b/lib/rdoc/generator/ri.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Generates ri data files
diff --git a/lib/rdoc/ghost_method.rb b/lib/rdoc/ghost_method.rb
index 7eb2d931674..a1f75bfe4b6 100644
--- a/lib/rdoc/ghost_method.rb
+++ b/lib/rdoc/ghost_method.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# GhostMethod represents a method referenced only by a comment
diff --git a/lib/rdoc/i18n.rb b/lib/rdoc/i18n.rb
index 4cccbc66d3b..20848aad754 100644
--- a/lib/rdoc/i18n.rb
+++ b/lib/rdoc/i18n.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# This module provides i18n realated features.
diff --git a/lib/rdoc/i18n/locale.rb b/lib/rdoc/i18n/locale.rb
index e98732e086e..735a271bf31 100644
--- a/lib/rdoc/i18n/locale.rb
+++ b/lib/rdoc/i18n/locale.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A message container for a locale.
#
diff --git a/lib/rdoc/i18n/text.rb b/lib/rdoc/i18n/text.rb
index ee5c66a1ffc..fcfe7611bc8 100644
--- a/lib/rdoc/i18n/text.rb
+++ b/lib/rdoc/i18n/text.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# An i18n supported text.
#
diff --git a/lib/rdoc/include.rb b/lib/rdoc/include.rb
index 75ed9c7bffd..efce43bffbe 100644
--- a/lib/rdoc/include.rb
+++ b/lib/rdoc/include.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A Module included in a class with \#include
#
diff --git a/lib/rdoc/known_classes.rb b/lib/rdoc/known_classes.rb
index a04068a435c..8d9421255b1 100644
--- a/lib/rdoc/known_classes.rb
+++ b/lib/rdoc/known_classes.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module RDoc
##
diff --git a/lib/rdoc/markdown.rb b/lib/rdoc/markdown.rb
index 033fc2be6d2..f3d4bd86d07 100644
--- a/lib/rdoc/markdown.rb
+++ b/lib/rdoc/markdown.rb
@@ -1,4 +1,5 @@
# coding: UTF-8
+# frozen_string_literal: false
# :markup: markdown
##
diff --git a/lib/rdoc/markdown/entities.rb b/lib/rdoc/markdown/entities.rb
index 0661abab787..d32ae510539 100644
--- a/lib/rdoc/markdown/entities.rb
+++ b/lib/rdoc/markdown/entities.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# HTML entity name map for RDoc::Markdown
diff --git a/lib/rdoc/markdown/literals_1_9.rb b/lib/rdoc/markdown/literals_1_9.rb
index f7bfbe27a13..d7a27f12b1a 100644
--- a/lib/rdoc/markdown/literals_1_9.rb
+++ b/lib/rdoc/markdown/literals_1_9.rb
@@ -1,4 +1,5 @@
# coding: UTF-8
+# frozen_string_literal: false
# :markup: markdown
##
diff --git a/lib/rdoc/markup.rb b/lib/rdoc/markup.rb
index 0e754ff33db..34065225968 100644
--- a/lib/rdoc/markup.rb
+++ b/lib/rdoc/markup.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# RDoc::Markup parses plain text documents and attempts to decompose them into
# their constituent parts. Some of these parts are high-level: paragraphs,
diff --git a/lib/rdoc/markup/attr_changer.rb b/lib/rdoc/markup/attr_changer.rb
index 1772f18b2b2..9a1a9c8c66a 100644
--- a/lib/rdoc/markup/attr_changer.rb
+++ b/lib/rdoc/markup/attr_changer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class RDoc::Markup
AttrChanger = Struct.new :turn_on, :turn_off # :nodoc:
diff --git a/lib/rdoc/markup/attr_span.rb b/lib/rdoc/markup/attr_span.rb
index b5c1b3b7b7c..4d9e5b0217f 100644
--- a/lib/rdoc/markup/attr_span.rb
+++ b/lib/rdoc/markup/attr_span.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# An array of attributes which parallels the characters in a string.
diff --git a/lib/rdoc/markup/attribute_manager.rb b/lib/rdoc/markup/attribute_manager.rb
index ce4ac76d5b2..3296d17af25 100644
--- a/lib/rdoc/markup/attribute_manager.rb
+++ b/lib/rdoc/markup/attribute_manager.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Manages changes of attributes in a block of text
diff --git a/lib/rdoc/markup/attributes.rb b/lib/rdoc/markup/attributes.rb
index 3423f10ca7a..8776c4ed293 100644
--- a/lib/rdoc/markup/attributes.rb
+++ b/lib/rdoc/markup/attributes.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# We manage a set of attributes. Each attribute has a symbol name and a bit
# value.
diff --git a/lib/rdoc/markup/blank_line.rb b/lib/rdoc/markup/blank_line.rb
index 5da0ac8d813..2b1ab91b47e 100644
--- a/lib/rdoc/markup/blank_line.rb
+++ b/lib/rdoc/markup/blank_line.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# An empty line. This class is a singleton.
diff --git a/lib/rdoc/markup/block_quote.rb b/lib/rdoc/markup/block_quote.rb
index 552f0c4baad..3be022f9dda 100644
--- a/lib/rdoc/markup/block_quote.rb
+++ b/lib/rdoc/markup/block_quote.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A quoted section which contains markup items.
diff --git a/lib/rdoc/markup/document.rb b/lib/rdoc/markup/document.rb
index be93d80eecb..0692c3522f0 100644
--- a/lib/rdoc/markup/document.rb
+++ b/lib/rdoc/markup/document.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A Document containing lists, headings, paragraphs, etc.
diff --git a/lib/rdoc/markup/formatter.rb b/lib/rdoc/markup/formatter.rb
index 7661c952395..197ff003e3e 100644
--- a/lib/rdoc/markup/formatter.rb
+++ b/lib/rdoc/markup/formatter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Base class for RDoc markup formatters
#
diff --git a/lib/rdoc/markup/formatter_test_case.rb b/lib/rdoc/markup/formatter_test_case.rb
index 6616a758982..776fe00537a 100644
--- a/lib/rdoc/markup/formatter_test_case.rb
+++ b/lib/rdoc/markup/formatter_test_case.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'minitest/unit'
##
diff --git a/lib/rdoc/markup/hard_break.rb b/lib/rdoc/markup/hard_break.rb
index 8445ad26e7f..5898bfb6449 100644
--- a/lib/rdoc/markup/hard_break.rb
+++ b/lib/rdoc/markup/hard_break.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A hard-break in the middle of a paragraph.
diff --git a/lib/rdoc/markup/heading.rb b/lib/rdoc/markup/heading.rb
index 535e310e54e..5229287d5b9 100644
--- a/lib/rdoc/markup/heading.rb
+++ b/lib/rdoc/markup/heading.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A heading with a level (1-6) and text
diff --git a/lib/rdoc/markup/include.rb b/lib/rdoc/markup/include.rb
index a2e89032792..891be71b851 100644
--- a/lib/rdoc/markup/include.rb
+++ b/lib/rdoc/markup/include.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A file included at generation time. Objects of this class are created by
# RDoc::RD for an extension-less include.
diff --git a/lib/rdoc/markup/indented_paragraph.rb b/lib/rdoc/markup/indented_paragraph.rb
index 1b8a8c725d0..56a96bd3c91 100644
--- a/lib/rdoc/markup/indented_paragraph.rb
+++ b/lib/rdoc/markup/indented_paragraph.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# An Indented Paragraph of text
diff --git a/lib/rdoc/markup/inline.rb b/lib/rdoc/markup/inline.rb
index fb3ab5c74d1..58072fef065 100644
--- a/lib/rdoc/markup/inline.rb
+++ b/lib/rdoc/markup/inline.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
warn "requiring rdoc/markup/inline is deprecated and will be removed in RDoc 4." if $-w
diff --git a/lib/rdoc/markup/list.rb b/lib/rdoc/markup/list.rb
index 89b7fc20fa2..bcaea7d7c13 100644
--- a/lib/rdoc/markup/list.rb
+++ b/lib/rdoc/markup/list.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A List is a homogeneous set of ListItems.
#
diff --git a/lib/rdoc/markup/list_item.rb b/lib/rdoc/markup/list_item.rb
index c5e59fe1672..115ec0412c0 100644
--- a/lib/rdoc/markup/list_item.rb
+++ b/lib/rdoc/markup/list_item.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# An item within a List that contains paragraphs, headings, etc.
#
diff --git a/lib/rdoc/markup/paragraph.rb b/lib/rdoc/markup/paragraph.rb
index 7180729f754..fefa12f9eff 100644
--- a/lib/rdoc/markup/paragraph.rb
+++ b/lib/rdoc/markup/paragraph.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A Paragraph of text
diff --git a/lib/rdoc/markup/parser.rb b/lib/rdoc/markup/parser.rb
index cc828a45130..2f8b7628e27 100644
--- a/lib/rdoc/markup/parser.rb
+++ b/lib/rdoc/markup/parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'strscan'
##
diff --git a/lib/rdoc/markup/pre_process.rb b/lib/rdoc/markup/pre_process.rb
index 01fb293462c..d7cef361588 100644
--- a/lib/rdoc/markup/pre_process.rb
+++ b/lib/rdoc/markup/pre_process.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Handle common directives that can occur in a block of text:
#
diff --git a/lib/rdoc/markup/raw.rb b/lib/rdoc/markup/raw.rb
index e11e8efff43..8012d2cea6c 100644
--- a/lib/rdoc/markup/raw.rb
+++ b/lib/rdoc/markup/raw.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A section of text that is added to the output document as-is
diff --git a/lib/rdoc/markup/rule.rb b/lib/rdoc/markup/rule.rb
index b778f2bc090..b96d4fb2933 100644
--- a/lib/rdoc/markup/rule.rb
+++ b/lib/rdoc/markup/rule.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A horizontal rule with a weight
diff --git a/lib/rdoc/markup/special.rb b/lib/rdoc/markup/special.rb
index 1c0fc03eea5..4d834b9e378 100644
--- a/lib/rdoc/markup/special.rb
+++ b/lib/rdoc/markup/special.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Hold details of a special sequence
diff --git a/lib/rdoc/markup/text_formatter_test_case.rb b/lib/rdoc/markup/text_formatter_test_case.rb
index 4abf42563b5..1c8882aa36e 100644
--- a/lib/rdoc/markup/text_formatter_test_case.rb
+++ b/lib/rdoc/markup/text_formatter_test_case.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Test case for creating new plain-text RDoc::Markup formatters. See also
# RDoc::Markup::FormatterTestCase
diff --git a/lib/rdoc/markup/to_ansi.rb b/lib/rdoc/markup/to_ansi.rb
index 4d439ce88db..56cd1fe4461 100644
--- a/lib/rdoc/markup/to_ansi.rb
+++ b/lib/rdoc/markup/to_ansi.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Outputs RDoc markup with vibrant ANSI color!
diff --git a/lib/rdoc/markup/to_bs.rb b/lib/rdoc/markup/to_bs.rb
index 10c31854d21..d55f64c5e78 100644
--- a/lib/rdoc/markup/to_bs.rb
+++ b/lib/rdoc/markup/to_bs.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Outputs RDoc markup with hot backspace action! You will probably need a
# pager to use this output format.
diff --git a/lib/rdoc/markup/to_html.rb b/lib/rdoc/markup/to_html.rb
index 2b1216ef2a5..3bf66c2c31a 100644
--- a/lib/rdoc/markup/to_html.rb
+++ b/lib/rdoc/markup/to_html.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'cgi'
##
diff --git a/lib/rdoc/markup/to_html_crossref.rb b/lib/rdoc/markup/to_html_crossref.rb
index d27e0ab6274..3f03c65898d 100644
--- a/lib/rdoc/markup/to_html_crossref.rb
+++ b/lib/rdoc/markup/to_html_crossref.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Subclass of the RDoc::Markup::ToHtml class that supports looking up method
# names, classes, etc to create links. RDoc::CrossReference is used to
diff --git a/lib/rdoc/markup/to_html_snippet.rb b/lib/rdoc/markup/to_html_snippet.rb
index 4ad0a9a4b9b..75c1df94d9a 100644
--- a/lib/rdoc/markup/to_html_snippet.rb
+++ b/lib/rdoc/markup/to_html_snippet.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Outputs RDoc markup as paragraphs with inline markup only.
diff --git a/lib/rdoc/markup/to_joined_paragraph.rb b/lib/rdoc/markup/to_joined_paragraph.rb
index 835841071d3..293258c092f 100644
--- a/lib/rdoc/markup/to_joined_paragraph.rb
+++ b/lib/rdoc/markup/to_joined_paragraph.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Joins the parts of an RDoc::Markup::Paragraph into a single String.
#
diff --git a/lib/rdoc/markup/to_label.rb b/lib/rdoc/markup/to_label.rb
index 6fbe4a3dbdd..bdf08b7aee9 100644
--- a/lib/rdoc/markup/to_label.rb
+++ b/lib/rdoc/markup/to_label.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'cgi'
##
diff --git a/lib/rdoc/markup/to_markdown.rb b/lib/rdoc/markup/to_markdown.rb
index d4b15bf41bf..9074547b4c1 100644
--- a/lib/rdoc/markup/to_markdown.rb
+++ b/lib/rdoc/markup/to_markdown.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# :markup: markdown
##
diff --git a/lib/rdoc/markup/to_rdoc.rb b/lib/rdoc/markup/to_rdoc.rb
index f16b4ed5a39..a40c09859f4 100644
--- a/lib/rdoc/markup/to_rdoc.rb
+++ b/lib/rdoc/markup/to_rdoc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Outputs RDoc markup as RDoc markup! (mostly)
diff --git a/lib/rdoc/markup/to_table_of_contents.rb b/lib/rdoc/markup/to_table_of_contents.rb
index 2e0f98cfebb..eae7c59d94a 100644
--- a/lib/rdoc/markup/to_table_of_contents.rb
+++ b/lib/rdoc/markup/to_table_of_contents.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Extracts just the RDoc::Markup::Heading elements from a
# RDoc::Markup::Document to help build a table of contents
diff --git a/lib/rdoc/markup/to_test.rb b/lib/rdoc/markup/to_test.rb
index c51f64b917b..7b1fa8c630d 100644
--- a/lib/rdoc/markup/to_test.rb
+++ b/lib/rdoc/markup/to_test.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# This Markup outputter is used for testing purposes.
diff --git a/lib/rdoc/markup/to_tt_only.rb b/lib/rdoc/markup/to_tt_only.rb
index e2da20c6f31..ba20fcdd003 100644
--- a/lib/rdoc/markup/to_tt_only.rb
+++ b/lib/rdoc/markup/to_tt_only.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Extracts sections of text enclosed in plus, tt or code. Used to discover
# undocumented parameters.
diff --git a/lib/rdoc/markup/verbatim.rb b/lib/rdoc/markup/verbatim.rb
index 0ddde675e3a..a0b1d059284 100644
--- a/lib/rdoc/markup/verbatim.rb
+++ b/lib/rdoc/markup/verbatim.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A section of verbatim text
diff --git a/lib/rdoc/meta_method.rb b/lib/rdoc/meta_method.rb
index 68ba8109e0f..408c089dd19 100644
--- a/lib/rdoc/meta_method.rb
+++ b/lib/rdoc/meta_method.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# MetaMethod represents a meta-programmed method
diff --git a/lib/rdoc/method_attr.rb b/lib/rdoc/method_attr.rb
index a0ea851dc50..50eab141be3 100644
--- a/lib/rdoc/method_attr.rb
+++ b/lib/rdoc/method_attr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Abstract class representing either a method or an attribute.
diff --git a/lib/rdoc/mixin.rb b/lib/rdoc/mixin.rb
index 547744f8707..14f04c15e77 100644
--- a/lib/rdoc/mixin.rb
+++ b/lib/rdoc/mixin.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A Mixin adds features from a module into another context. RDoc::Include and
# RDoc::Extend are both mixins.
diff --git a/lib/rdoc/normal_class.rb b/lib/rdoc/normal_class.rb
index 7589e2686c7..eb53e964dd2 100644
--- a/lib/rdoc/normal_class.rb
+++ b/lib/rdoc/normal_class.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A normal class, neither singleton nor anonymous
diff --git a/lib/rdoc/normal_module.rb b/lib/rdoc/normal_module.rb
index 961c431ed6b..d046c8cbfe2 100644
--- a/lib/rdoc/normal_module.rb
+++ b/lib/rdoc/normal_module.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A normal module, like NormalClass
diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb
index 5779d35c44d..17b0bb105dd 100644
--- a/lib/rdoc/options.rb
+++ b/lib/rdoc/options.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'optparse'
require 'pathname'
diff --git a/lib/rdoc/parser.rb b/lib/rdoc/parser.rb
index 4da7f00d3c8..9c207edcffe 100644
--- a/lib/rdoc/parser.rb
+++ b/lib/rdoc/parser.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
##
# A parser is simple a class that subclasses RDoc::Parser and implements #scan
diff --git a/lib/rdoc/parser/c.rb b/lib/rdoc/parser/c.rb
index fd336f5f5ba..cd139441ba6 100644
--- a/lib/rdoc/parser/c.rb
+++ b/lib/rdoc/parser/c.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'tsort'
##
diff --git a/lib/rdoc/parser/changelog.rb b/lib/rdoc/parser/changelog.rb
index a3567c1f81c..92c8d94ad64 100644
--- a/lib/rdoc/parser/changelog.rb
+++ b/lib/rdoc/parser/changelog.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'time'
##
diff --git a/lib/rdoc/parser/markdown.rb b/lib/rdoc/parser/markdown.rb
index 6fd88cf614e..feffb26ced6 100644
--- a/lib/rdoc/parser/markdown.rb
+++ b/lib/rdoc/parser/markdown.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Parse a Markdown format file. The parsed RDoc::Markup::Document is attached
# as a file comment.
diff --git a/lib/rdoc/parser/rd.rb b/lib/rdoc/parser/rd.rb
index 09069ae297b..e6693b9ac8e 100644
--- a/lib/rdoc/parser/rd.rb
+++ b/lib/rdoc/parser/rd.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Parse a RD format file. The parsed RDoc::Markup::Document is attached as a
# file comment.
diff --git a/lib/rdoc/parser/ruby.rb b/lib/rdoc/parser/ruby.rb
index ce1083edc7d..ac7094f4888 100644
--- a/lib/rdoc/parser/ruby.rb
+++ b/lib/rdoc/parser/ruby.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# This file contains stuff stolen outright from:
#
diff --git a/lib/rdoc/parser/ruby_tools.rb b/lib/rdoc/parser/ruby_tools.rb
index 654431ea302..bbca065b5ee 100644
--- a/lib/rdoc/parser/ruby_tools.rb
+++ b/lib/rdoc/parser/ruby_tools.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Collection of methods for writing parsers against RDoc::RubyLex and
# RDoc::RubyToken
diff --git a/lib/rdoc/parser/simple.rb b/lib/rdoc/parser/simple.rb
index 65cfc1b2e7c..73bb7bdffb9 100644
--- a/lib/rdoc/parser/simple.rb
+++ b/lib/rdoc/parser/simple.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Parse a non-source file. We basically take the whole thing as one big
# comment.
diff --git a/lib/rdoc/parser/text.rb b/lib/rdoc/parser/text.rb
index f9733135513..1a13fd11865 100644
--- a/lib/rdoc/parser/text.rb
+++ b/lib/rdoc/parser/text.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Indicates this parser is text and doesn't contain code constructs.
#
diff --git a/lib/rdoc/rd.rb b/lib/rdoc/rd.rb
index 28c5d286e0f..39af3294f51 100644
--- a/lib/rdoc/rd.rb
+++ b/lib/rdoc/rd.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# RDoc::RD implements the RD format from the rdtool gem.
#
diff --git a/lib/rdoc/rd/block_parser.rb b/lib/rdoc/rd/block_parser.rb
index ac754f42003..111ba90fdc3 100644
--- a/lib/rdoc/rd/block_parser.rb
+++ b/lib/rdoc/rd/block_parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# DO NOT MODIFY!!!!
# This file is automatically generated by Racc 1.4.12
diff --git a/lib/rdoc/rd/inline.rb b/lib/rdoc/rd/inline.rb
index ee724fb80f5..011ec67e339 100644
--- a/lib/rdoc/rd/inline.rb
+++ b/lib/rdoc/rd/inline.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Inline keeps track of markup and labels to create proper links.
diff --git a/lib/rdoc/rd/inline_parser.rb b/lib/rdoc/rd/inline_parser.rb
index 98b503564da..240f68ba136 100644
--- a/lib/rdoc/rd/inline_parser.rb
+++ b/lib/rdoc/rd/inline_parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# DO NOT MODIFY!!!!
# This file is automatically generated by Racc 1.4.12
diff --git a/lib/rdoc/rdoc.rb b/lib/rdoc/rdoc.rb
index f4bb58e14bd..7c5d34e0894 100644
--- a/lib/rdoc/rdoc.rb
+++ b/lib/rdoc/rdoc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc'
require 'find'
diff --git a/lib/rdoc/require.rb b/lib/rdoc/require.rb
index a3d4bd18c07..f565ffad78c 100644
--- a/lib/rdoc/require.rb
+++ b/lib/rdoc/require.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A file loaded by \#require
diff --git a/lib/rdoc/ri.rb b/lib/rdoc/ri.rb
index 8b35e0fa2fb..388cb12c704 100644
--- a/lib/rdoc/ri.rb
+++ b/lib/rdoc/ri.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc'
##
diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb
index 39064c1384c..e571ae82ac3 100644
--- a/lib/rdoc/ri/driver.rb
+++ b/lib/rdoc/ri/driver.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'abbrev'
require 'optparse'
diff --git a/lib/rdoc/ri/formatter.rb b/lib/rdoc/ri/formatter.rb
index 84d37a9d31f..d0c85dbe6bc 100644
--- a/lib/rdoc/ri/formatter.rb
+++ b/lib/rdoc/ri/formatter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# For RubyGems backwards compatibility
diff --git a/lib/rdoc/ri/paths.rb b/lib/rdoc/ri/paths.rb
index 970cb91461e..41529a3e0d5 100644
--- a/lib/rdoc/ri/paths.rb
+++ b/lib/rdoc/ri/paths.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/ri'
##
diff --git a/lib/rdoc/ri/store.rb b/lib/rdoc/ri/store.rb
index 9fa9bbb03c2..66e234f5211 100644
--- a/lib/rdoc/ri/store.rb
+++ b/lib/rdoc/ri/store.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module RDoc::RI
Store = RDoc::Store # :nodoc:
diff --git a/lib/rdoc/ri/task.rb b/lib/rdoc/ri/task.rb
index e545d4ac1e6..d45f0c664c3 100644
--- a/lib/rdoc/ri/task.rb
+++ b/lib/rdoc/ri/task.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
begin
gem 'rdoc'
diff --git a/lib/rdoc/ruby_lex.rb b/lib/rdoc/ruby_lex.rb
index 91b90ab2cf5..e772e660e0a 100644
--- a/lib/rdoc/ruby_lex.rb
+++ b/lib/rdoc/ruby_lex.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
#--
# irb/ruby-lex.rb - ruby lexcal analyzer
diff --git a/lib/rdoc/ruby_token.rb b/lib/rdoc/ruby_token.rb
index f091e1a676a..d923e24b18f 100644
--- a/lib/rdoc/ruby_token.rb
+++ b/lib/rdoc/ruby_token.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# irb/ruby-token.rb - ruby tokens
# $Release Version: 0.9.5$
diff --git a/lib/rdoc/rubygems_hook.rb b/lib/rdoc/rubygems_hook.rb
index c4eaddbd979..f6aeb845983 100644
--- a/lib/rdoc/rubygems_hook.rb
+++ b/lib/rdoc/rubygems_hook.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
require 'rubygems/user_interaction'
require 'fileutils'
diff --git a/lib/rdoc/servlet.rb b/lib/rdoc/servlet.rb
index 7ef04655e5f..952be255dbd 100644
--- a/lib/rdoc/servlet.rb
+++ b/lib/rdoc/servlet.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc'
require 'time'
require 'json'
diff --git a/lib/rdoc/single_class.rb b/lib/rdoc/single_class.rb
index 358e1f38eb9..7affa027e1a 100644
--- a/lib/rdoc/single_class.rb
+++ b/lib/rdoc/single_class.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A singleton class
diff --git a/lib/rdoc/stats.rb b/lib/rdoc/stats.rb
index 94fdd279c75..354e904b19a 100644
--- a/lib/rdoc/stats.rb
+++ b/lib/rdoc/stats.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# RDoc statistics collector which prints a summary and report of a project's
# documentation totals.
diff --git a/lib/rdoc/stats/normal.rb b/lib/rdoc/stats/normal.rb
index ef366a500e6..f32db48005a 100644
--- a/lib/rdoc/stats/normal.rb
+++ b/lib/rdoc/stats/normal.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'io/console/size'
rescue LoadError
diff --git a/lib/rdoc/stats/quiet.rb b/lib/rdoc/stats/quiet.rb
index eed27b2a887..561c272ef78 100644
--- a/lib/rdoc/stats/quiet.rb
+++ b/lib/rdoc/stats/quiet.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Stats printer that prints nothing
diff --git a/lib/rdoc/stats/verbose.rb b/lib/rdoc/stats/verbose.rb
index 430809ae07a..e04edade52b 100644
--- a/lib/rdoc/stats/verbose.rb
+++ b/lib/rdoc/stats/verbose.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Stats printer that prints everything documented, including the documented
# status
diff --git a/lib/rdoc/store.rb b/lib/rdoc/store.rb
index fde6f0695b7..3f91f058240 100644
--- a/lib/rdoc/store.rb
+++ b/lib/rdoc/store.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'fileutils'
##
diff --git a/lib/rdoc/task.rb b/lib/rdoc/task.rb
index a83939090d2..0577677054e 100644
--- a/lib/rdoc/task.rb
+++ b/lib/rdoc/task.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright (c) 2003, 2004 Jim Weirich, 2009 Eric Hodel
#
diff --git a/lib/rdoc/test_case.rb b/lib/rdoc/test_case.rb
index 4989516b7ab..1d5469bc19e 100644
--- a/lib/rdoc/test_case.rb
+++ b/lib/rdoc/test_case.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
begin
diff --git a/lib/rdoc/text.rb b/lib/rdoc/text.rb
index 827767b8306..71a35de101f 100644
--- a/lib/rdoc/text.rb
+++ b/lib/rdoc/text.rb
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: false
##
# For RDoc::Text#to_html
diff --git a/lib/rdoc/token_stream.rb b/lib/rdoc/token_stream.rb
index b46b7da2f70..b0035227fab 100644
--- a/lib/rdoc/token_stream.rb
+++ b/lib/rdoc/token_stream.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A TokenStream is a list of tokens, gathered during the parse of some entity
# (say a method). Entities populate these streams by being registered with the
diff --git a/lib/rdoc/tom_doc.rb b/lib/rdoc/tom_doc.rb
index 2b622435257..d7608499385 100644
--- a/lib/rdoc/tom_doc.rb
+++ b/lib/rdoc/tom_doc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# :markup: tomdoc
# A parser for TomDoc based on TomDoc 1.0.0-rc1 (02adef9b5a)
diff --git a/lib/rdoc/top_level.rb b/lib/rdoc/top_level.rb
index 64d81d20c15..38be646ad06 100644
--- a/lib/rdoc/top_level.rb
+++ b/lib/rdoc/top_level.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A TopLevel context is a representation of the contents of a single file
diff --git a/lib/rexml/attlistdecl.rb b/lib/rexml/attlistdecl.rb
index e2135d9e83d..dc1d2add0b8 100644
--- a/lib/rexml/attlistdecl.rb
+++ b/lib/rexml/attlistdecl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#vim:ts=2 sw=2 noexpandtab:
require 'rexml/child'
require 'rexml/source'
diff --git a/lib/rexml/attribute.rb b/lib/rexml/attribute.rb
index ef9e5442943..e9917cf52d8 100644
--- a/lib/rexml/attribute.rb
+++ b/lib/rexml/attribute.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/namespace"
require 'rexml/text'
diff --git a/lib/rexml/cdata.rb b/lib/rexml/cdata.rb
index 73358edc289..fe9b49b5f7c 100644
--- a/lib/rexml/cdata.rb
+++ b/lib/rexml/cdata.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/text"
module REXML
diff --git a/lib/rexml/child.rb b/lib/rexml/child.rb
index bf97d5f903e..d23451e71ec 100644
--- a/lib/rexml/child.rb
+++ b/lib/rexml/child.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/node"
module REXML
diff --git a/lib/rexml/comment.rb b/lib/rexml/comment.rb
index 000b03dddd9..746af772969 100644
--- a/lib/rexml/comment.rb
+++ b/lib/rexml/comment.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/child"
module REXML
diff --git a/lib/rexml/doctype.rb b/lib/rexml/doctype.rb
index 0b3c533bb46..1eb1f5b4e18 100644
--- a/lib/rexml/doctype.rb
+++ b/lib/rexml/doctype.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/parent"
require "rexml/parseexception"
require "rexml/namespace"
diff --git a/lib/rexml/document.rb b/lib/rexml/document.rb
index d7d24f47323..806bc499cde 100644
--- a/lib/rexml/document.rb
+++ b/lib/rexml/document.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/security"
require "rexml/element"
require "rexml/xmldecl"
diff --git a/lib/rexml/dtd/attlistdecl.rb b/lib/rexml/dtd/attlistdecl.rb
index 25955ee2749..32847daadb2 100644
--- a/lib/rexml/dtd/attlistdecl.rb
+++ b/lib/rexml/dtd/attlistdecl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/child"
module REXML
module DTD
diff --git a/lib/rexml/dtd/dtd.rb b/lib/rexml/dtd/dtd.rb
index 62317bac9e9..927d5d847b1 100644
--- a/lib/rexml/dtd/dtd.rb
+++ b/lib/rexml/dtd/dtd.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/dtd/elementdecl"
require "rexml/dtd/entitydecl"
require "rexml/comment"
diff --git a/lib/rexml/dtd/elementdecl.rb b/lib/rexml/dtd/elementdecl.rb
index f90b27d7614..119fd41a8f6 100644
--- a/lib/rexml/dtd/elementdecl.rb
+++ b/lib/rexml/dtd/elementdecl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/child"
module REXML
module DTD
diff --git a/lib/rexml/dtd/entitydecl.rb b/lib/rexml/dtd/entitydecl.rb
index a9286b2b90c..45707e2f42d 100644
--- a/lib/rexml/dtd/entitydecl.rb
+++ b/lib/rexml/dtd/entitydecl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/child"
module REXML
module DTD
diff --git a/lib/rexml/dtd/notationdecl.rb b/lib/rexml/dtd/notationdecl.rb
index 17d1b9ef293..cfdf0b9b74a 100644
--- a/lib/rexml/dtd/notationdecl.rb
+++ b/lib/rexml/dtd/notationdecl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/child"
module REXML
module DTD
diff --git a/lib/rexml/element.rb b/lib/rexml/element.rb
index e459704d3cc..f725d5a2be5 100644
--- a/lib/rexml/element.rb
+++ b/lib/rexml/element.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/parent"
require "rexml/namespace"
require "rexml/attribute"
diff --git a/lib/rexml/encoding.rb b/lib/rexml/encoding.rb
index 1c7e79a124a..da2d70d6c9d 100644
--- a/lib/rexml/encoding.rb
+++ b/lib/rexml/encoding.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
module REXML
module Encoding
# ID ---> Encoding name
diff --git a/lib/rexml/entity.rb b/lib/rexml/entity.rb
index 3a35ec6b947..d9a72cc8fa1 100644
--- a/lib/rexml/entity.rb
+++ b/lib/rexml/entity.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/child'
require 'rexml/source'
require 'rexml/xmltokens'
diff --git a/lib/rexml/formatters/default.rb b/lib/rexml/formatters/default.rb
index 574c821f964..b84759d2ff5 100644
--- a/lib/rexml/formatters/default.rb
+++ b/lib/rexml/formatters/default.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module REXML
module Formatters
class Default
diff --git a/lib/rexml/formatters/pretty.rb b/lib/rexml/formatters/pretty.rb
index e5ba561a584..a80274bdad5 100644
--- a/lib/rexml/formatters/pretty.rb
+++ b/lib/rexml/formatters/pretty.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/formatters/default'
module REXML
diff --git a/lib/rexml/formatters/transitive.rb b/lib/rexml/formatters/transitive.rb
index 6cc690d9228..81e67f3274e 100644
--- a/lib/rexml/formatters/transitive.rb
+++ b/lib/rexml/formatters/transitive.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/formatters/pretty'
module REXML
diff --git a/lib/rexml/functions.rb b/lib/rexml/functions.rb
index 2010be14e01..ee73b28881a 100644
--- a/lib/rexml/functions.rb
+++ b/lib/rexml/functions.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module REXML
# If you add a method, keep in mind two things:
# (1) the first argument will always be a list of nodes from which to
diff --git a/lib/rexml/instruction.rb b/lib/rexml/instruction.rb
index f8b734a5b54..576939ca2b9 100644
--- a/lib/rexml/instruction.rb
+++ b/lib/rexml/instruction.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/child"
require "rexml/source"
diff --git a/lib/rexml/light/node.rb b/lib/rexml/light/node.rb
index b33f78f7ceb..d58119a3a44 100644
--- a/lib/rexml/light/node.rb
+++ b/lib/rexml/light/node.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/xmltokens'
# [ :element, parent, name, attributes, children* ]
diff --git a/lib/rexml/namespace.rb b/lib/rexml/namespace.rb
index aeb339ee839..90ba7cc635b 100644
--- a/lib/rexml/namespace.rb
+++ b/lib/rexml/namespace.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/xmltokens'
module REXML
diff --git a/lib/rexml/node.rb b/lib/rexml/node.rb
index cab6e9fddb5..c7a39367990 100644
--- a/lib/rexml/node.rb
+++ b/lib/rexml/node.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/parseexception"
require "rexml/formatters/pretty"
require "rexml/formatters/default"
diff --git a/lib/rexml/output.rb b/lib/rexml/output.rb
index 0c6cc7a7f84..96dfea570ed 100644
--- a/lib/rexml/output.rb
+++ b/lib/rexml/output.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/encoding'
module REXML
diff --git a/lib/rexml/parent.rb b/lib/rexml/parent.rb
index 2a07fcacbda..3bd0a962555 100644
--- a/lib/rexml/parent.rb
+++ b/lib/rexml/parent.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/child"
module REXML
diff --git a/lib/rexml/parseexception.rb b/lib/rexml/parseexception.rb
index 0c4d55abdaa..7b16cd1a411 100644
--- a/lib/rexml/parseexception.rb
+++ b/lib/rexml/parseexception.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module REXML
class ParseException < RuntimeError
attr_accessor :source, :parser, :continued_exception
diff --git a/lib/rexml/parsers/baseparser.rb b/lib/rexml/parsers/baseparser.rb
index 6a08b8661d6..80eeb0fa79c 100644
--- a/lib/rexml/parsers/baseparser.rb
+++ b/lib/rexml/parsers/baseparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/parseexception'
require 'rexml/undefinednamespaceexception'
require 'rexml/source'
diff --git a/lib/rexml/parsers/lightparser.rb b/lib/rexml/parsers/lightparser.rb
index 81041681c2e..f0601ae51b1 100644
--- a/lib/rexml/parsers/lightparser.rb
+++ b/lib/rexml/parsers/lightparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/parsers/streamparser'
require 'rexml/parsers/baseparser'
require 'rexml/light/node'
diff --git a/lib/rexml/parsers/pullparser.rb b/lib/rexml/parsers/pullparser.rb
index 68a4ff7eaed..8c492175533 100644
--- a/lib/rexml/parsers/pullparser.rb
+++ b/lib/rexml/parsers/pullparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'forwardable'
require 'rexml/parseexception'
diff --git a/lib/rexml/parsers/sax2parser.rb b/lib/rexml/parsers/sax2parser.rb
index a72c0a79714..1386f69c83f 100644
--- a/lib/rexml/parsers/sax2parser.rb
+++ b/lib/rexml/parsers/sax2parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/parsers/baseparser'
require 'rexml/parseexception'
require 'rexml/namespace'
diff --git a/lib/rexml/parsers/streamparser.rb b/lib/rexml/parsers/streamparser.rb
index 9ea65ed3d11..b271e6743e1 100644
--- a/lib/rexml/parsers/streamparser.rb
+++ b/lib/rexml/parsers/streamparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/parsers/baseparser"
module REXML
diff --git a/lib/rexml/parsers/treeparser.rb b/lib/rexml/parsers/treeparser.rb
index 68edb777593..fc0993c72a5 100644
--- a/lib/rexml/parsers/treeparser.rb
+++ b/lib/rexml/parsers/treeparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/validation/validationexception'
require 'rexml/undefinednamespaceexception'
diff --git a/lib/rexml/parsers/ultralightparser.rb b/lib/rexml/parsers/ultralightparser.rb
index 4e2d7a81cf6..6571d119bd6 100644
--- a/lib/rexml/parsers/ultralightparser.rb
+++ b/lib/rexml/parsers/ultralightparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/parsers/streamparser'
require 'rexml/parsers/baseparser'
diff --git a/lib/rexml/parsers/xpathparser.rb b/lib/rexml/parsers/xpathparser.rb
index 57767fbcd1b..32b70bb7989 100644
--- a/lib/rexml/parsers/xpathparser.rb
+++ b/lib/rexml/parsers/xpathparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/namespace'
require 'rexml/xmltokens'
diff --git a/lib/rexml/quickpath.rb b/lib/rexml/quickpath.rb
index 9bec2158dd0..f3ad29a93a0 100644
--- a/lib/rexml/quickpath.rb
+++ b/lib/rexml/quickpath.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/functions'
require 'rexml/xmltokens'
diff --git a/lib/rexml/rexml.rb b/lib/rexml/rexml.rb
index f89951171a7..fbc0d339d88 100644
--- a/lib/rexml/rexml.rb
+++ b/lib/rexml/rexml.rb
@@ -1,4 +1,5 @@
# -*- encoding: utf-8 -*-
+# frozen_string_literal: false
# REXML is an XML toolkit for Ruby[http://www.ruby-lang.org], in Ruby.
#
# REXML is a _pure_ Ruby, XML 1.0 conforming,
diff --git a/lib/rexml/sax2listener.rb b/lib/rexml/sax2listener.rb
index 9f276eb4ed8..5afdc80890e 100644
--- a/lib/rexml/sax2listener.rb
+++ b/lib/rexml/sax2listener.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module REXML
# A template for stream parser listeners.
# Note that the declarations (attlistdecl, elementdecl, etc) are trivially
diff --git a/lib/rexml/security.rb b/lib/rexml/security.rb
index 593b652dc66..99b74607728 100644
--- a/lib/rexml/security.rb
+++ b/lib/rexml/security.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module REXML
module Security
@@entity_expansion_limit = 10_000
diff --git a/lib/rexml/source.rb b/lib/rexml/source.rb
index 87f7232232b..af65cf4751a 100644
--- a/lib/rexml/source.rb
+++ b/lib/rexml/source.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'rexml/encoding'
module REXML
diff --git a/lib/rexml/streamlistener.rb b/lib/rexml/streamlistener.rb
index 3a0528c1023..30c89451795 100644
--- a/lib/rexml/streamlistener.rb
+++ b/lib/rexml/streamlistener.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module REXML
# A template for stream parser listeners.
# Note that the declarations (attlistdecl, elementdecl, etc) are trivially
diff --git a/lib/rexml/syncenumerator.rb b/lib/rexml/syncenumerator.rb
index 11609bdf3da..a9d2ad7f9c2 100644
--- a/lib/rexml/syncenumerator.rb
+++ b/lib/rexml/syncenumerator.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module REXML
class SyncEnumerator
include Enumerable
diff --git a/lib/rexml/text.rb b/lib/rexml/text.rb
index d3242ee46db..b132bab8f46 100644
--- a/lib/rexml/text.rb
+++ b/lib/rexml/text.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/security'
require 'rexml/entity'
require 'rexml/doctype'
diff --git a/lib/rexml/undefinednamespaceexception.rb b/lib/rexml/undefinednamespaceexception.rb
index 8ebfdfd0a95..e522ed57eaa 100644
--- a/lib/rexml/undefinednamespaceexception.rb
+++ b/lib/rexml/undefinednamespaceexception.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/parseexception'
module REXML
class UndefinedNamespaceException < ParseException
diff --git a/lib/rexml/validation/relaxng.rb b/lib/rexml/validation/relaxng.rb
index 370efd5a980..fb52438290d 100644
--- a/lib/rexml/validation/relaxng.rb
+++ b/lib/rexml/validation/relaxng.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/validation/validation"
require "rexml/parsers/baseparser"
diff --git a/lib/rexml/validation/validation.rb b/lib/rexml/validation/validation.rb
index bab7f225a54..f0c76f976ca 100644
--- a/lib/rexml/validation/validation.rb
+++ b/lib/rexml/validation/validation.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/validation/validationexception'
module REXML
diff --git a/lib/rexml/validation/validationexception.rb b/lib/rexml/validation/validationexception.rb
index 4723d9e4d3c..78cd63fd046 100644
--- a/lib/rexml/validation/validationexception.rb
+++ b/lib/rexml/validation/validationexception.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module REXML
module Validation
class ValidationException < RuntimeError
diff --git a/lib/rexml/xmldecl.rb b/lib/rexml/xmldecl.rb
index 465e6abeb76..a37e9f3ddc6 100644
--- a/lib/rexml/xmldecl.rb
+++ b/lib/rexml/xmldecl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/encoding'
require 'rexml/source'
diff --git a/lib/rexml/xmltokens.rb b/lib/rexml/xmltokens.rb
index 4d4dd27f2da..392b47b1d33 100644
--- a/lib/rexml/xmltokens.rb
+++ b/lib/rexml/xmltokens.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module REXML
# Defines a number of tokens used for parsing XML. Not for general
# consumption.
diff --git a/lib/rexml/xpath.rb b/lib/rexml/xpath.rb
index 0f99808defe..f1cb99baea0 100644
--- a/lib/rexml/xpath.rb
+++ b/lib/rexml/xpath.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/functions'
require 'rexml/xpath_parser'
diff --git a/lib/rexml/xpath_parser.rb b/lib/rexml/xpath_parser.rb
index ef49a32fbaf..edd11277353 100644
--- a/lib/rexml/xpath_parser.rb
+++ b/lib/rexml/xpath_parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/namespace'
require 'rexml/xmltokens'
require 'rexml/attribute'
diff --git a/lib/rinda/rinda.rb b/lib/rinda/rinda.rb
index d9cd3782a0f..36c3503aa8a 100644
--- a/lib/rinda/rinda.rb
+++ b/lib/rinda/rinda.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'thread'
diff --git a/lib/rinda/ring.rb b/lib/rinda/ring.rb
index fe33420494f..9ec8a2fb2fe 100644
--- a/lib/rinda/ring.rb
+++ b/lib/rinda/ring.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# Note: Rinda::Ring API is unstable.
#
diff --git a/lib/rinda/tuplespace.rb b/lib/rinda/tuplespace.rb
index 14cae9ebed5..e29bd63126a 100644
--- a/lib/rinda/tuplespace.rb
+++ b/lib/rinda/tuplespace.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'monitor'
require 'thread'
require 'drb/drb'
diff --git a/lib/rss.rb b/lib/rss.rb
index fd7364645bf..1c7d72b9f7e 100644
--- a/lib/rss.rb
+++ b/lib/rss.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# = RSS reading and writing
#
diff --git a/lib/rss/0.9.rb b/lib/rss/0.9.rb
index 77b2de131c8..d852a6a85e9 100644
--- a/lib/rss/0.9.rb
+++ b/lib/rss/0.9.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/parser"
module RSS
diff --git a/lib/rss/1.0.rb b/lib/rss/1.0.rb
index a2d88d459e0..fb63937c5e1 100644
--- a/lib/rss/1.0.rb
+++ b/lib/rss/1.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/parser"
module RSS
diff --git a/lib/rss/2.0.rb b/lib/rss/2.0.rb
index 5c0caecd73e..13f9ade918a 100644
--- a/lib/rss/2.0.rb
+++ b/lib/rss/2.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/0.9"
module RSS
diff --git a/lib/rss/atom.rb b/lib/rss/atom.rb
index d3524231ff0..a232e358be0 100644
--- a/lib/rss/atom.rb
+++ b/lib/rss/atom.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/parser'
module RSS
diff --git a/lib/rss/content.rb b/lib/rss/content.rb
index 5a2120c0671..d35311075a2 100644
--- a/lib/rss/content.rb
+++ b/lib/rss/content.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/rss"
module RSS
diff --git a/lib/rss/content/1.0.rb b/lib/rss/content/1.0.rb
index e5dc8579303..1367dfe0924 100644
--- a/lib/rss/content/1.0.rb
+++ b/lib/rss/content/1.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/1.0'
module RSS
diff --git a/lib/rss/content/2.0.rb b/lib/rss/content/2.0.rb
index 8491a999377..3b468248ace 100644
--- a/lib/rss/content/2.0.rb
+++ b/lib/rss/content/2.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/2.0"
module RSS
diff --git a/lib/rss/converter.rb b/lib/rss/converter.rb
index 3e79eba4fb3..b92e35a051d 100644
--- a/lib/rss/converter.rb
+++ b/lib/rss/converter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/utils"
module RSS
diff --git a/lib/rss/dublincore.rb b/lib/rss/dublincore.rb
index 58424141cdc..8d1a5519472 100644
--- a/lib/rss/dublincore.rb
+++ b/lib/rss/dublincore.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/rss"
module RSS
diff --git a/lib/rss/dublincore/1.0.rb b/lib/rss/dublincore/1.0.rb
index efe2f5dad48..1d96fab9b91 100644
--- a/lib/rss/dublincore/1.0.rb
+++ b/lib/rss/dublincore/1.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/1.0"
module RSS
diff --git a/lib/rss/dublincore/2.0.rb b/lib/rss/dublincore/2.0.rb
index a79c1e84a4d..e3011fef6a3 100644
--- a/lib/rss/dublincore/2.0.rb
+++ b/lib/rss/dublincore/2.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/2.0"
module RSS
diff --git a/lib/rss/dublincore/atom.rb b/lib/rss/dublincore/atom.rb
index 8db9066bb8a..0b8b11e440b 100644
--- a/lib/rss/dublincore/atom.rb
+++ b/lib/rss/dublincore/atom.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/atom"
module RSS
diff --git a/lib/rss/image.rb b/lib/rss/image.rb
index b0619141bbd..6b86ec0e5b6 100644
--- a/lib/rss/image.rb
+++ b/lib/rss/image.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/1.0'
require 'rss/dublincore'
diff --git a/lib/rss/itunes.rb b/lib/rss/itunes.rb
index e6de5c1ca28..827970c2097 100644
--- a/lib/rss/itunes.rb
+++ b/lib/rss/itunes.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/2.0'
module RSS
diff --git a/lib/rss/maker.rb b/lib/rss/maker.rb
index 824b2b2dcd1..33d285f6afb 100644
--- a/lib/rss/maker.rb
+++ b/lib/rss/maker.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/rss"
module RSS
diff --git a/lib/rss/maker/0.9.rb b/lib/rss/maker/0.9.rb
index c398343ec43..622a4c30b4c 100644
--- a/lib/rss/maker/0.9.rb
+++ b/lib/rss/maker/0.9.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/0.9"
require "rss/maker/base"
diff --git a/lib/rss/maker/1.0.rb b/lib/rss/maker/1.0.rb
index 1b9f7c3b796..3aee77e913b 100644
--- a/lib/rss/maker/1.0.rb
+++ b/lib/rss/maker/1.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/1.0"
require "rss/maker/base"
diff --git a/lib/rss/maker/2.0.rb b/lib/rss/maker/2.0.rb
index 15b1349c2a6..1f77a014d12 100644
--- a/lib/rss/maker/2.0.rb
+++ b/lib/rss/maker/2.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/2.0"
require "rss/maker/0.9"
diff --git a/lib/rss/maker/atom.rb b/lib/rss/maker/atom.rb
index fd3198cd9e6..e0cd7623c86 100644
--- a/lib/rss/maker/atom.rb
+++ b/lib/rss/maker/atom.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/atom"
require "rss/maker/base"
diff --git a/lib/rss/maker/base.rb b/lib/rss/maker/base.rb
index 0f2fc11103e..bc4ca841419 100644
--- a/lib/rss/maker/base.rb
+++ b/lib/rss/maker/base.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'forwardable'
require 'rss/rss'
diff --git a/lib/rss/maker/content.rb b/lib/rss/maker/content.rb
index 46c4911f737..3559a45ad02 100644
--- a/lib/rss/maker/content.rb
+++ b/lib/rss/maker/content.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/content'
require 'rss/maker/1.0'
require 'rss/maker/2.0'
diff --git a/lib/rss/maker/dublincore.rb b/lib/rss/maker/dublincore.rb
index 717b074fae8..988209c045b 100644
--- a/lib/rss/maker/dublincore.rb
+++ b/lib/rss/maker/dublincore.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/dublincore'
require 'rss/maker/1.0'
diff --git a/lib/rss/maker/entry.rb b/lib/rss/maker/entry.rb
index f8f5469f2cb..f806cbcaae8 100644
--- a/lib/rss/maker/entry.rb
+++ b/lib/rss/maker/entry.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/maker/atom"
require "rss/maker/feed"
diff --git a/lib/rss/maker/feed.rb b/lib/rss/maker/feed.rb
index 0129218b0c5..fdef7ad6430 100644
--- a/lib/rss/maker/feed.rb
+++ b/lib/rss/maker/feed.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/maker/atom"
module RSS
diff --git a/lib/rss/maker/image.rb b/lib/rss/maker/image.rb
index 06084b4af46..1957ba86891 100644
--- a/lib/rss/maker/image.rb
+++ b/lib/rss/maker/image.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/image'
require 'rss/maker/1.0'
require 'rss/maker/dublincore'
diff --git a/lib/rss/maker/itunes.rb b/lib/rss/maker/itunes.rb
index 8b7420da3ce..cc1051ae0c2 100644
--- a/lib/rss/maker/itunes.rb
+++ b/lib/rss/maker/itunes.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/itunes'
require 'rss/maker/2.0'
diff --git a/lib/rss/maker/slash.rb b/lib/rss/maker/slash.rb
index 27adef38329..3bd82d30570 100644
--- a/lib/rss/maker/slash.rb
+++ b/lib/rss/maker/slash.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/slash'
require 'rss/maker/1.0'
diff --git a/lib/rss/maker/syndication.rb b/lib/rss/maker/syndication.rb
index b81230457ce..840b70229ab 100644
--- a/lib/rss/maker/syndication.rb
+++ b/lib/rss/maker/syndication.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/syndication'
require 'rss/maker/1.0'
diff --git a/lib/rss/maker/taxonomy.rb b/lib/rss/maker/taxonomy.rb
index 13ae9aa8052..76a2d1600d4 100644
--- a/lib/rss/maker/taxonomy.rb
+++ b/lib/rss/maker/taxonomy.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/taxonomy'
require 'rss/maker/1.0'
require 'rss/maker/dublincore'
diff --git a/lib/rss/maker/trackback.rb b/lib/rss/maker/trackback.rb
index 00f001cb855..f97691c608e 100644
--- a/lib/rss/maker/trackback.rb
+++ b/lib/rss/maker/trackback.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/trackback'
require 'rss/maker/1.0'
require 'rss/maker/2.0'
diff --git a/lib/rss/parser.rb b/lib/rss/parser.rb
index 1b6e4e95965..a9842e6d408 100644
--- a/lib/rss/parser.rb
+++ b/lib/rss/parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "forwardable"
require "open-uri"
diff --git a/lib/rss/rexmlparser.rb b/lib/rss/rexmlparser.rb
index a5a2a2edbe4..ef0595e447f 100644
--- a/lib/rss/rexmlparser.rb
+++ b/lib/rss/rexmlparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/document"
require "rexml/streamlistener"
diff --git a/lib/rss/rss.rb b/lib/rss/rss.rb
index dbea3b53444..1bb0f6e8265 100644
--- a/lib/rss/rss.rb
+++ b/lib/rss/rss.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "time"
class Time
diff --git a/lib/rss/slash.rb b/lib/rss/slash.rb
index 65c61142e13..0055fc9f885 100644
--- a/lib/rss/slash.rb
+++ b/lib/rss/slash.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rss/1.0'
module RSS
diff --git a/lib/rss/syndication.rb b/lib/rss/syndication.rb
index c0bd5294f46..8f9620f9f3f 100644
--- a/lib/rss/syndication.rb
+++ b/lib/rss/syndication.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/1.0"
module RSS
diff --git a/lib/rss/taxonomy.rb b/lib/rss/taxonomy.rb
index b7fbe6b0de0..b7ea219e8cb 100644
--- a/lib/rss/taxonomy.rb
+++ b/lib/rss/taxonomy.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/1.0"
require "rss/dublincore"
diff --git a/lib/rss/trackback.rb b/lib/rss/trackback.rb
index 577bf0cef7c..1a3c3849b57 100644
--- a/lib/rss/trackback.rb
+++ b/lib/rss/trackback.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# This file contains the implementation of trackbacks. It is entirely internal
# and not useful to outside developers.
require 'rss/1.0'
diff --git a/lib/rss/utils.rb b/lib/rss/utils.rb
index b420e6b24cd..ce7dbf1b02b 100644
--- a/lib/rss/utils.rb
+++ b/lib/rss/utils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module RSS
##
diff --git a/lib/rss/xml-stylesheet.rb b/lib/rss/xml-stylesheet.rb
index 96ee95050ec..be9cfaaf64b 100644
--- a/lib/rss/xml-stylesheet.rb
+++ b/lib/rss/xml-stylesheet.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/utils"
module RSS
diff --git a/lib/rss/xml.rb b/lib/rss/xml.rb
index 1ae878b7721..cda8668044f 100644
--- a/lib/rss/xml.rb
+++ b/lib/rss/xml.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rss/utils"
module RSS
diff --git a/lib/rss/xmlparser.rb b/lib/rss/xmlparser.rb
index 46df94a3203..cb2dd2afdd9 100644
--- a/lib/rss/xmlparser.rb
+++ b/lib/rss/xmlparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require "xml/parser"
rescue LoadError
diff --git a/lib/rss/xmlscanner.rb b/lib/rss/xmlscanner.rb
index 1cdf81c0c3b..6e3b13d2f57 100644
--- a/lib/rss/xmlscanner.rb
+++ b/lib/rss/xmlscanner.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'xmlscan/scanner'
require 'stringio'
diff --git a/lib/rubygems.rb b/lib/rubygems.rb
index f0861b3533c..fdcc2aa4d39 100644
--- a/lib/rubygems.rb
+++ b/lib/rubygems.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# -*- ruby -*-
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
diff --git a/lib/rubygems/available_set.rb b/lib/rubygems/available_set.rb
index dae254b3857..da43cdf3fbe 100644
--- a/lib/rubygems/available_set.rb
+++ b/lib/rubygems/available_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class Gem::AvailableSet
include Enumerable
diff --git a/lib/rubygems/basic_specification.rb b/lib/rubygems/basic_specification.rb
index 53beb434023..db962c6dcd5 100644
--- a/lib/rubygems/basic_specification.rb
+++ b/lib/rubygems/basic_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# BasicSpecification is an abstract class which implements some common code
# used by both Specification and StubSpecification.
diff --git a/lib/rubygems/command.rb b/lib/rubygems/command.rb
index 0c6abec56ce..28af3d090c8 100644
--- a/lib/rubygems/command.rb
+++ b/lib/rubygems/command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/command_manager.rb b/lib/rubygems/command_manager.rb
index 53d18c29cc3..95e846e3407 100644
--- a/lib/rubygems/command_manager.rb
+++ b/lib/rubygems/command_manager.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/commands/build_command.rb b/lib/rubygems/commands/build_command.rb
index d975429fe85..facc5226af4 100644
--- a/lib/rubygems/commands/build_command.rb
+++ b/lib/rubygems/commands/build_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/package'
diff --git a/lib/rubygems/commands/cert_command.rb b/lib/rubygems/commands/cert_command.rb
index a920e7fcc36..073c6bd1957 100644
--- a/lib/rubygems/commands/cert_command.rb
+++ b/lib/rubygems/commands/cert_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/security'
begin
diff --git a/lib/rubygems/commands/check_command.rb b/lib/rubygems/commands/check_command.rb
index 8893b9c3b2a..9d2b0869516 100644
--- a/lib/rubygems/commands/check_command.rb
+++ b/lib/rubygems/commands/check_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/version_option'
require 'rubygems/validator'
diff --git a/lib/rubygems/commands/cleanup_command.rb b/lib/rubygems/commands/cleanup_command.rb
index 69975640fe3..a0bb3d576a9 100644
--- a/lib/rubygems/commands/cleanup_command.rb
+++ b/lib/rubygems/commands/cleanup_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/dependency_list'
require 'rubygems/uninstaller'
diff --git a/lib/rubygems/commands/contents_command.rb b/lib/rubygems/commands/contents_command.rb
index 4b944f18be2..de756939c0b 100644
--- a/lib/rubygems/commands/contents_command.rb
+++ b/lib/rubygems/commands/contents_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'English'
require 'rubygems/command'
require 'rubygems/version_option'
diff --git a/lib/rubygems/commands/dependency_command.rb b/lib/rubygems/commands/dependency_command.rb
index 9d4b3e0f504..b9e33a94e03 100644
--- a/lib/rubygems/commands/dependency_command.rb
+++ b/lib/rubygems/commands/dependency_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/version_option'
diff --git a/lib/rubygems/commands/environment_command.rb b/lib/rubygems/commands/environment_command.rb
index 79dd710bdff..47b62f03afb 100644
--- a/lib/rubygems/commands/environment_command.rb
+++ b/lib/rubygems/commands/environment_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
class Gem::Commands::EnvironmentCommand < Gem::Command
diff --git a/lib/rubygems/commands/fetch_command.rb b/lib/rubygems/commands/fetch_command.rb
index c57ab0089ae..3aecdc3b080 100644
--- a/lib/rubygems/commands/fetch_command.rb
+++ b/lib/rubygems/commands/fetch_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/version_option'
diff --git a/lib/rubygems/commands/generate_index_command.rb b/lib/rubygems/commands/generate_index_command.rb
index ca6f694bc56..c0fadba64f3 100644
--- a/lib/rubygems/commands/generate_index_command.rb
+++ b/lib/rubygems/commands/generate_index_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/indexer'
diff --git a/lib/rubygems/commands/help_command.rb b/lib/rubygems/commands/help_command.rb
index c4078364677..4c176f372e2 100644
--- a/lib/rubygems/commands/help_command.rb
+++ b/lib/rubygems/commands/help_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
class Gem::Commands::HelpCommand < Gem::Command
diff --git a/lib/rubygems/commands/install_command.rb b/lib/rubygems/commands/install_command.rb
index 7e3a953d192..6e243df441e 100644
--- a/lib/rubygems/commands/install_command.rb
+++ b/lib/rubygems/commands/install_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/install_update_options'
require 'rubygems/dependency_installer'
diff --git a/lib/rubygems/commands/list_command.rb b/lib/rubygems/commands/list_command.rb
index 6aa00d30b8d..1f85cd3fcd8 100644
--- a/lib/rubygems/commands/list_command.rb
+++ b/lib/rubygems/commands/list_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/commands/query_command'
diff --git a/lib/rubygems/commands/lock_command.rb b/lib/rubygems/commands/lock_command.rb
index 6b4b25a2812..5a56e919331 100644
--- a/lib/rubygems/commands/lock_command.rb
+++ b/lib/rubygems/commands/lock_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
class Gem::Commands::LockCommand < Gem::Command
diff --git a/lib/rubygems/commands/mirror_command.rb b/lib/rubygems/commands/mirror_command.rb
index 24fb668d541..3816876a92a 100644
--- a/lib/rubygems/commands/mirror_command.rb
+++ b/lib/rubygems/commands/mirror_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
unless defined? Gem::Commands::MirrorCommand
diff --git a/lib/rubygems/commands/open_command.rb b/lib/rubygems/commands/open_command.rb
index 254a74275e6..63bff16db0f 100644
--- a/lib/rubygems/commands/open_command.rb
+++ b/lib/rubygems/commands/open_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'English'
require 'rubygems/command'
require 'rubygems/version_option'
diff --git a/lib/rubygems/commands/outdated_command.rb b/lib/rubygems/commands/outdated_command.rb
index 7159dbb984c..f7cfc08f70a 100644
--- a/lib/rubygems/commands/outdated_command.rb
+++ b/lib/rubygems/commands/outdated_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/spec_fetcher'
diff --git a/lib/rubygems/commands/owner_command.rb b/lib/rubygems/commands/owner_command.rb
index 322bf6590a1..b002ff18d4c 100644
--- a/lib/rubygems/commands/owner_command.rb
+++ b/lib/rubygems/commands/owner_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/gemcutter_utilities'
diff --git a/lib/rubygems/commands/pristine_command.rb b/lib/rubygems/commands/pristine_command.rb
index 5a36b123582..991272ae855 100644
--- a/lib/rubygems/commands/pristine_command.rb
+++ b/lib/rubygems/commands/pristine_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/package'
require 'rubygems/installer'
diff --git a/lib/rubygems/commands/push_command.rb b/lib/rubygems/commands/push_command.rb
index 6899b489ad7..a8e0819e825 100644
--- a/lib/rubygems/commands/push_command.rb
+++ b/lib/rubygems/commands/push_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/gemcutter_utilities'
diff --git a/lib/rubygems/commands/query_command.rb b/lib/rubygems/commands/query_command.rb
index 0d28711de80..4782eb98efa 100644
--- a/lib/rubygems/commands/query_command.rb
+++ b/lib/rubygems/commands/query_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/spec_fetcher'
diff --git a/lib/rubygems/commands/rdoc_command.rb b/lib/rubygems/commands/rdoc_command.rb
index 86597f99a65..72aa9720177 100644
--- a/lib/rubygems/commands/rdoc_command.rb
+++ b/lib/rubygems/commands/rdoc_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/version_option'
require 'rubygems/rdoc'
diff --git a/lib/rubygems/commands/search_command.rb b/lib/rubygems/commands/search_command.rb
index a1e2c1a00e3..06cc997d4cd 100644
--- a/lib/rubygems/commands/search_command.rb
+++ b/lib/rubygems/commands/search_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/commands/query_command'
diff --git a/lib/rubygems/commands/server_command.rb b/lib/rubygems/commands/server_command.rb
index 4796ce2ad6e..f41bda40daa 100644
--- a/lib/rubygems/commands/server_command.rb
+++ b/lib/rubygems/commands/server_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/server'
diff --git a/lib/rubygems/commands/setup_command.rb b/lib/rubygems/commands/setup_command.rb
index 66173967802..d3ef9ef94e1 100644
--- a/lib/rubygems/commands/setup_command.rb
+++ b/lib/rubygems/commands/setup_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
##
diff --git a/lib/rubygems/commands/sources_command.rb b/lib/rubygems/commands/sources_command.rb
index 56d7845c54f..0ff5e075f5a 100644
--- a/lib/rubygems/commands/sources_command.rb
+++ b/lib/rubygems/commands/sources_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/remote_fetcher'
require 'rubygems/spec_fetcher'
diff --git a/lib/rubygems/commands/specification_command.rb b/lib/rubygems/commands/specification_command.rb
index 3bc02a9c14b..4e291c6ab11 100644
--- a/lib/rubygems/commands/specification_command.rb
+++ b/lib/rubygems/commands/specification_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/version_option'
diff --git a/lib/rubygems/commands/stale_command.rb b/lib/rubygems/commands/stale_command.rb
index 0ef0755960e..6930c1cfde5 100644
--- a/lib/rubygems/commands/stale_command.rb
+++ b/lib/rubygems/commands/stale_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
class Gem::Commands::StaleCommand < Gem::Command
diff --git a/lib/rubygems/commands/uninstall_command.rb b/lib/rubygems/commands/uninstall_command.rb
index 9285e57b773..52d4450bfbe 100644
--- a/lib/rubygems/commands/uninstall_command.rb
+++ b/lib/rubygems/commands/uninstall_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/version_option'
require 'rubygems/uninstaller'
diff --git a/lib/rubygems/commands/unpack_command.rb b/lib/rubygems/commands/unpack_command.rb
index 5a05ad0a81e..08eaf013149 100644
--- a/lib/rubygems/commands/unpack_command.rb
+++ b/lib/rubygems/commands/unpack_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/installer'
require 'rubygems/version_option'
diff --git a/lib/rubygems/commands/update_command.rb b/lib/rubygems/commands/update_command.rb
index c758ce8a9da..8d76a8ce8ea 100644
--- a/lib/rubygems/commands/update_command.rb
+++ b/lib/rubygems/commands/update_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/command_manager'
require 'rubygems/dependency_installer'
diff --git a/lib/rubygems/commands/which_command.rb b/lib/rubygems/commands/which_command.rb
index 96eeb862883..c01dc18ee01 100644
--- a/lib/rubygems/commands/which_command.rb
+++ b/lib/rubygems/commands/which_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
class Gem::Commands::WhichCommand < Gem::Command
diff --git a/lib/rubygems/commands/yank_command.rb b/lib/rubygems/commands/yank_command.rb
index c05ee662837..ec99bd7df68 100644
--- a/lib/rubygems/commands/yank_command.rb
+++ b/lib/rubygems/commands/yank_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/version_option'
diff --git a/lib/rubygems/compatibility.rb b/lib/rubygems/compatibility.rb
index 6a00a199f95..d09ddb6bf8b 100644
--- a/lib/rubygems/compatibility.rb
+++ b/lib/rubygems/compatibility.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# :stopdoc:
#--
diff --git a/lib/rubygems/config_file.rb b/lib/rubygems/config_file.rb
index f93917cbd43..30f26db8c98 100644
--- a/lib/rubygems/config_file.rb
+++ b/lib/rubygems/config_file.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/core_ext/kernel_gem.rb b/lib/rubygems/core_ext/kernel_gem.rb
index 61e77fe3c5c..07376784e68 100644
--- a/lib/rubygems/core_ext/kernel_gem.rb
+++ b/lib/rubygems/core_ext/kernel_gem.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# RubyGems adds the #gem method to allow activation of specific gem versions
# and overrides the #require method on Kernel to make gems appear as if they
diff --git a/lib/rubygems/core_ext/kernel_require.rb b/lib/rubygems/core_ext/kernel_require.rb
index f9b67ea5a65..196db5b6eef 100755
--- a/lib/rubygems/core_ext/kernel_require.rb
+++ b/lib/rubygems/core_ext/kernel_require.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/defaults.rb b/lib/rubygems/defaults.rb
index 55ca080c96f..c1d45c19e6e 100644
--- a/lib/rubygems/defaults.rb
+++ b/lib/rubygems/defaults.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Gem
DEFAULT_HOST = "https://rubygems.org"
diff --git a/lib/rubygems/dependency.rb b/lib/rubygems/dependency.rb
index da990fa1392..c0ab87d965c 100644
--- a/lib/rubygems/dependency.rb
+++ b/lib/rubygems/dependency.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# The Dependency class holds a Gem name and a Gem::Requirement.
diff --git a/lib/rubygems/dependency_installer.rb b/lib/rubygems/dependency_installer.rb
index 9741554360d..954e2bf9841 100644
--- a/lib/rubygems/dependency_installer.rb
+++ b/lib/rubygems/dependency_installer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
require 'rubygems/dependency_list'
require 'rubygems/package'
diff --git a/lib/rubygems/dependency_list.rb b/lib/rubygems/dependency_list.rb
index c034bb65896..8e00dc94c80 100644
--- a/lib/rubygems/dependency_list.rb
+++ b/lib/rubygems/dependency_list.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/deprecate.rb b/lib/rubygems/deprecate.rb
index e19360da13a..54ab02830c2 100644
--- a/lib/rubygems/deprecate.rb
+++ b/lib/rubygems/deprecate.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Provides a single method +deprecate+ to be used to declare when
# something is going away.
diff --git a/lib/rubygems/doctor.rb b/lib/rubygems/doctor.rb
index 3c71fd5aa44..15f05f63fad 100644
--- a/lib/rubygems/doctor.rb
+++ b/lib/rubygems/doctor.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
require 'rubygems/user_interaction'
diff --git a/lib/rubygems/errors.rb b/lib/rubygems/errors.rb
index 9defb9ee9bd..b22cd077066 100644
--- a/lib/rubygems/errors.rb
+++ b/lib/rubygems/errors.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# This file contains all the various exceptions and other errors that are used
# inside of RubyGems.
diff --git a/lib/rubygems/exceptions.rb b/lib/rubygems/exceptions.rb
index 2a9875cd24b..0c741a2d016 100644
--- a/lib/rubygems/exceptions.rb
+++ b/lib/rubygems/exceptions.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# TODO: the documentation in here is terrible.
#
# Each exception needs a brief description and the scenarios where it is
diff --git a/lib/rubygems/ext.rb b/lib/rubygems/ext.rb
index 5af6bbf39ef..4640b668f02 100644
--- a/lib/rubygems/ext.rb
+++ b/lib/rubygems/ext.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/ext/build_error.rb b/lib/rubygems/ext/build_error.rb
index bfe85ffc113..2098026b055 100644
--- a/lib/rubygems/ext/build_error.rb
+++ b/lib/rubygems/ext/build_error.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Raised when there is an error while building extensions.
diff --git a/lib/rubygems/ext/builder.rb b/lib/rubygems/ext/builder.rb
index abcc09ce574..d79b3a59011 100644
--- a/lib/rubygems/ext/builder.rb
+++ b/lib/rubygems/ext/builder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/ext/cmake_builder.rb b/lib/rubygems/ext/cmake_builder.rb
index 24531bc75c7..7bf431c37ea 100644
--- a/lib/rubygems/ext/cmake_builder.rb
+++ b/lib/rubygems/ext/cmake_builder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command'
class Gem::Ext::CmakeBuilder < Gem::Ext::Builder
diff --git a/lib/rubygems/ext/configure_builder.rb b/lib/rubygems/ext/configure_builder.rb
index f66e39387a2..b732cada577 100644
--- a/lib/rubygems/ext/configure_builder.rb
+++ b/lib/rubygems/ext/configure_builder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/ext/ext_conf_builder.rb b/lib/rubygems/ext/ext_conf_builder.rb
index f5c4c8ce848..2b50b08dc96 100644
--- a/lib/rubygems/ext/ext_conf_builder.rb
+++ b/lib/rubygems/ext/ext_conf_builder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/ext/rake_builder.rb b/lib/rubygems/ext/rake_builder.rb
index d5ebf597aee..279117675a2 100644
--- a/lib/rubygems/ext/rake_builder.rb
+++ b/lib/rubygems/ext/rake_builder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/gem_runner.rb b/lib/rubygems/gem_runner.rb
index 7a3fd6b1168..2bf8ac68bf3 100644
--- a/lib/rubygems/gem_runner.rb
+++ b/lib/rubygems/gem_runner.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/gemcutter_utilities.rb b/lib/rubygems/gemcutter_utilities.rb
index 4ecf7376e09..98e78fe3415 100644
--- a/lib/rubygems/gemcutter_utilities.rb
+++ b/lib/rubygems/gemcutter_utilities.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/remote_fetcher'
##
diff --git a/lib/rubygems/indexer.rb b/lib/rubygems/indexer.rb
index 23279f40ecd..21ccf0dfbbd 100644
--- a/lib/rubygems/indexer.rb
+++ b/lib/rubygems/indexer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
require 'rubygems/package'
require 'time'
diff --git a/lib/rubygems/install_default_message.rb b/lib/rubygems/install_default_message.rb
index 458ba3da960..d20a6c71a31 100644
--- a/lib/rubygems/install_default_message.rb
+++ b/lib/rubygems/install_default_message.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
require 'rubygems/user_interaction'
diff --git a/lib/rubygems/install_message.rb b/lib/rubygems/install_message.rb
index c1979c15494..da68b192b11 100644
--- a/lib/rubygems/install_message.rb
+++ b/lib/rubygems/install_message.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
require 'rubygems/user_interaction'
diff --git a/lib/rubygems/install_update_options.rb b/lib/rubygems/install_update_options.rb
index a503b7fca42..0466583e429 100644
--- a/lib/rubygems/install_update_options.rb
+++ b/lib/rubygems/install_update_options.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb
index 69590c39d88..7b4979d7ca2 100644
--- a/lib/rubygems/installer.rb
+++ b/lib/rubygems/installer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/installer_test_case.rb b/lib/rubygems/installer_test_case.rb
index f4aa773114e..7a1b0aa5f0d 100644
--- a/lib/rubygems/installer_test_case.rb
+++ b/lib/rubygems/installer_test_case.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/installer'
diff --git a/lib/rubygems/local_remote_options.rb b/lib/rubygems/local_remote_options.rb
index db23d9f9748..8d9e209771a 100644
--- a/lib/rubygems/local_remote_options.rb
+++ b/lib/rubygems/local_remote_options.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/mock_gem_ui.rb b/lib/rubygems/mock_gem_ui.rb
index 76a9389676e..32e154c8b3f 100644
--- a/lib/rubygems/mock_gem_ui.rb
+++ b/lib/rubygems/mock_gem_ui.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'stringio'
require 'rubygems/user_interaction'
diff --git a/lib/rubygems/name_tuple.rb b/lib/rubygems/name_tuple.rb
index 60323db4088..1dc7f741124 100644
--- a/lib/rubygems/name_tuple.rb
+++ b/lib/rubygems/name_tuple.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
#
# Represents a gem of name +name+ at +version+ of +platform+. These
diff --git a/lib/rubygems/package.rb b/lib/rubygems/package.rb
index 64beae55503..6b87475c785 100644
--- a/lib/rubygems/package.rb
+++ b/lib/rubygems/package.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
#--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
diff --git a/lib/rubygems/package/digest_io.rb b/lib/rubygems/package/digest_io.rb
index f8bde0f557f..47f76ec10d8 100644
--- a/lib/rubygems/package/digest_io.rb
+++ b/lib/rubygems/package/digest_io.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# IO wrapper that creates digests of contents written to the IO it wraps.
diff --git a/lib/rubygems/package/file_source.rb b/lib/rubygems/package/file_source.rb
index 85316f62e7d..4c2a7b9a4e8 100644
--- a/lib/rubygems/package/file_source.rb
+++ b/lib/rubygems/package/file_source.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# The primary source of gems is a file on disk, including all usages
# internal to rubygems.
diff --git a/lib/rubygems/package/io_source.rb b/lib/rubygems/package/io_source.rb
index f89593dd2d4..16a6e4be8b9 100644
--- a/lib/rubygems/package/io_source.rb
+++ b/lib/rubygems/package/io_source.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Supports reading and writing gems from/to a generic IO object. This is
# useful for other applications built on top of rubygems, such as
diff --git a/lib/rubygems/package/old.rb b/lib/rubygems/package/old.rb
index bcf60a00c9e..1f1f33b856a 100644
--- a/lib/rubygems/package/old.rb
+++ b/lib/rubygems/package/old.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/package/source.rb b/lib/rubygems/package/source.rb
index 1f18d479da0..3dcce02a672 100644
--- a/lib/rubygems/package/source.rb
+++ b/lib/rubygems/package/source.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class Gem::Package::Source # :nodoc:
end
diff --git a/lib/rubygems/package/tar_header.rb b/lib/rubygems/package/tar_header.rb
index f9ab13aca77..71529ee9785 100644
--- a/lib/rubygems/package/tar_header.rb
+++ b/lib/rubygems/package/tar_header.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
#--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
diff --git a/lib/rubygems/package/tar_reader.rb b/lib/rubygems/package/tar_reader.rb
index e257fdd846a..a1ea81cac48 100644
--- a/lib/rubygems/package/tar_reader.rb
+++ b/lib/rubygems/package/tar_reader.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
#--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
diff --git a/lib/rubygems/package/tar_reader/entry.rb b/lib/rubygems/package/tar_reader/entry.rb
index 1d917a81ac0..59d167ee8e1 100644
--- a/lib/rubygems/package/tar_reader/entry.rb
+++ b/lib/rubygems/package/tar_reader/entry.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
#++
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
diff --git a/lib/rubygems/package/tar_test_case.rb b/lib/rubygems/package/tar_test_case.rb
index b2d6f4ea772..3e494e55949 100644
--- a/lib/rubygems/package/tar_test_case.rb
+++ b/lib/rubygems/package/tar_test_case.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/package'
diff --git a/lib/rubygems/package/tar_writer.rb b/lib/rubygems/package/tar_writer.rb
index fff02e92355..6f1aab47a16 100644
--- a/lib/rubygems/package/tar_writer.rb
+++ b/lib/rubygems/package/tar_writer.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
#--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
diff --git a/lib/rubygems/package_task.rb b/lib/rubygems/package_task.rb
index 09384cc0e72..0c525ad5170 100644
--- a/lib/rubygems/package_task.rb
+++ b/lib/rubygems/package_task.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# Copyright (c) 2003, 2004 Jim Weirich, 2009 Eric Hodel
#
# Permission is hereby granted, free of charge, to any person obtaining
diff --git a/lib/rubygems/path_support.rb b/lib/rubygems/path_support.rb
index e68654c4283..0ec29f8b600 100644
--- a/lib/rubygems/path_support.rb
+++ b/lib/rubygems/path_support.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
#
# Gem::PathSupport facilitates the GEM_HOME and GEM_PATH environment settings
diff --git a/lib/rubygems/platform.rb b/lib/rubygems/platform.rb
index 487d245a01b..cdc52cc9b33 100644
--- a/lib/rubygems/platform.rb
+++ b/lib/rubygems/platform.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rubygems/deprecate"
##
diff --git a/lib/rubygems/psych_additions.rb b/lib/rubygems/psych_additions.rb
index 08fc04c90de..487b2699036 100644
--- a/lib/rubygems/psych_additions.rb
+++ b/lib/rubygems/psych_additions.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# This exists just to satisfy bugs in marshal'd gemspecs that
# contain a reference to YAML::PrivateType. We prune these out
# in Specification._load, but if we don't have the constant, Marshal
diff --git a/lib/rubygems/psych_tree.rb b/lib/rubygems/psych_tree.rb
index e3f1d1a08af..a5d306d769e 100644
--- a/lib/rubygems/psych_tree.rb
+++ b/lib/rubygems/psych_tree.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Gem
if defined? ::Psych::Visitors
class NoAliasYAMLTree < Psych::Visitors::YAMLTree
diff --git a/lib/rubygems/rdoc.rb b/lib/rubygems/rdoc.rb
index 75913463060..e9402ede768 100644
--- a/lib/rubygems/rdoc.rb
+++ b/lib/rubygems/rdoc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
require 'rubygems/user_interaction'
require 'fileutils'
diff --git a/lib/rubygems/remote_fetcher.rb b/lib/rubygems/remote_fetcher.rb
index 8c7ee78f840..db1eed89d46 100644
--- a/lib/rubygems/remote_fetcher.rb
+++ b/lib/rubygems/remote_fetcher.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
require 'rubygems/request'
require 'rubygems/uri_formatter'
diff --git a/lib/rubygems/request.rb b/lib/rubygems/request.rb
index b1d041d8ead..3dfbc3d89c9 100644
--- a/lib/rubygems/request.rb
+++ b/lib/rubygems/request.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/http'
require 'thread'
require 'time'
diff --git a/lib/rubygems/request/connection_pools.rb b/lib/rubygems/request/connection_pools.rb
index 271b32b2b11..d22e3572575 100644
--- a/lib/rubygems/request/connection_pools.rb
+++ b/lib/rubygems/request/connection_pools.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'thread'
class Gem::Request::ConnectionPools # :nodoc:
diff --git a/lib/rubygems/request/http_pool.rb b/lib/rubygems/request/http_pool.rb
index c9a1858b98a..ba3ab095bd9 100644
--- a/lib/rubygems/request/http_pool.rb
+++ b/lib/rubygems/request/http_pool.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A connection "pool" that only manages one connection for now. Provides
# thread safe `checkout` and `checkin` methods. The pool consists of one
diff --git a/lib/rubygems/request/https_pool.rb b/lib/rubygems/request/https_pool.rb
index 2e3da0a44ef..3ab91faf61a 100644
--- a/lib/rubygems/request/https_pool.rb
+++ b/lib/rubygems/request/https_pool.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class Gem::Request::HTTPSPool < Gem::Request::HTTPPool # :nodoc:
private
diff --git a/lib/rubygems/request_set.rb b/lib/rubygems/request_set.rb
index 12806836aab..b760a05d9bf 100644
--- a/lib/rubygems/request_set.rb
+++ b/lib/rubygems/request_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'tsort'
##
diff --git a/lib/rubygems/request_set/gem_dependency_api.rb b/lib/rubygems/request_set/gem_dependency_api.rb
index 73813c9ac7d..4927e5db6a3 100644
--- a/lib/rubygems/request_set/gem_dependency_api.rb
+++ b/lib/rubygems/request_set/gem_dependency_api.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A semi-compatible DSL for the Bundler Gemfile and Isolate gem dependencies
# files.
diff --git a/lib/rubygems/request_set/lockfile.rb b/lib/rubygems/request_set/lockfile.rb
index b79a3772485..e9a706e83b1 100644
--- a/lib/rubygems/request_set/lockfile.rb
+++ b/lib/rubygems/request_set/lockfile.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Parses a gem.deps.rb.lock file and constructs a LockSet containing the
# dependencies found inside. If the lock file is missing no LockSet is
diff --git a/lib/rubygems/request_set/lockfile/parser.rb b/lib/rubygems/request_set/lockfile/parser.rb
index f43f6457fd2..18aaadf3bb0 100644
--- a/lib/rubygems/request_set/lockfile/parser.rb
+++ b/lib/rubygems/request_set/lockfile/parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class Gem::RequestSet::Lockfile::Parser
###
# Parses lockfiles
diff --git a/lib/rubygems/request_set/lockfile/tokenizer.rb b/lib/rubygems/request_set/lockfile/tokenizer.rb
index 422b03c03f3..d68645d235f 100644
--- a/lib/rubygems/request_set/lockfile/tokenizer.rb
+++ b/lib/rubygems/request_set/lockfile/tokenizer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'strscan'
require 'rubygems/request_set/lockfile/parser'
diff --git a/lib/rubygems/requirement.rb b/lib/rubygems/requirement.rb
index de169265735..a33f67dafb2 100644
--- a/lib/rubygems/requirement.rb
+++ b/lib/rubygems/requirement.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rubygems/version"
require "rubygems/deprecate"
diff --git a/lib/rubygems/resolver.rb b/lib/rubygems/resolver.rb
index dcd33ce10d4..92dcab8e42c 100644
--- a/lib/rubygems/resolver.rb
+++ b/lib/rubygems/resolver.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/dependency'
require 'rubygems/exceptions'
require 'rubygems/util'
diff --git a/lib/rubygems/resolver/activation_request.rb b/lib/rubygems/resolver/activation_request.rb
index 03dd8d083bf..2dd540cda03 100644
--- a/lib/rubygems/resolver/activation_request.rb
+++ b/lib/rubygems/resolver/activation_request.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Specifies a Specification object that should be activated. Also contains a
# dependency that was used to introduce this activation.
diff --git a/lib/rubygems/resolver/api_set.rb b/lib/rubygems/resolver/api_set.rb
index 17d602f9877..611c74ad10e 100644
--- a/lib/rubygems/resolver/api_set.rb
+++ b/lib/rubygems/resolver/api_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# The global rubygems pool, available via the rubygems.org API.
# Returns instances of APISpecification.
diff --git a/lib/rubygems/resolver/api_specification.rb b/lib/rubygems/resolver/api_specification.rb
index 4960e66934d..e7ba38d6143 100644
--- a/lib/rubygems/resolver/api_specification.rb
+++ b/lib/rubygems/resolver/api_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Represents a specification retrieved via the rubygems.org API.
#
diff --git a/lib/rubygems/resolver/best_set.rb b/lib/rubygems/resolver/best_set.rb
index 7e2d7e2647e..c3c756c5e34 100644
--- a/lib/rubygems/resolver/best_set.rb
+++ b/lib/rubygems/resolver/best_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# The BestSet chooses the best available method to query a remote index.
#
diff --git a/lib/rubygems/resolver/composed_set.rb b/lib/rubygems/resolver/composed_set.rb
index 5b08f128ed9..66d927be2a2 100644
--- a/lib/rubygems/resolver/composed_set.rb
+++ b/lib/rubygems/resolver/composed_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A ComposedSet allows multiple sets to be queried like a single set.
#
diff --git a/lib/rubygems/resolver/conflict.rb b/lib/rubygems/resolver/conflict.rb
index 0b6c704d6ab..101923eb747 100644
--- a/lib/rubygems/resolver/conflict.rb
+++ b/lib/rubygems/resolver/conflict.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Used internally to indicate that a dependency conflicted
# with a spec that would be activated.
diff --git a/lib/rubygems/resolver/current_set.rb b/lib/rubygems/resolver/current_set.rb
index 4e8d34026b1..f8cec599ded 100644
--- a/lib/rubygems/resolver/current_set.rb
+++ b/lib/rubygems/resolver/current_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A set which represents the installed gems. Respects
# all the normal settings that control where to look
diff --git a/lib/rubygems/resolver/dependency_request.rb b/lib/rubygems/resolver/dependency_request.rb
index 6c6ea8f4da0..ded554a85a8 100644
--- a/lib/rubygems/resolver/dependency_request.rb
+++ b/lib/rubygems/resolver/dependency_request.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Used Internally. Wraps a Dependency object to also track which spec
# contained the Dependency.
diff --git a/lib/rubygems/resolver/git_set.rb b/lib/rubygems/resolver/git_set.rb
index 5f1b368ac1f..2b5aae64c69 100644
--- a/lib/rubygems/resolver/git_set.rb
+++ b/lib/rubygems/resolver/git_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A GitSet represents gems that are sourced from git repositories.
#
diff --git a/lib/rubygems/resolver/git_specification.rb b/lib/rubygems/resolver/git_specification.rb
index dcfb2ad8550..507f346812c 100644
--- a/lib/rubygems/resolver/git_specification.rb
+++ b/lib/rubygems/resolver/git_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A GitSpecification represents a gem that is sourced from a git repository
# and is being loaded through a gem dependencies file through the +git:+
diff --git a/lib/rubygems/resolver/index_set.rb b/lib/rubygems/resolver/index_set.rb
index 7c56c2bf999..e7cd989095a 100644
--- a/lib/rubygems/resolver/index_set.rb
+++ b/lib/rubygems/resolver/index_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# The global rubygems pool represented via the traditional
# source index.
diff --git a/lib/rubygems/resolver/index_specification.rb b/lib/rubygems/resolver/index_specification.rb
index 56fecb5753e..632a8a2d891 100644
--- a/lib/rubygems/resolver/index_specification.rb
+++ b/lib/rubygems/resolver/index_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Represents a possible Specification object returned from IndexSet. Used to
# delay needed to download full Specification objects when only the +name+
diff --git a/lib/rubygems/resolver/installed_specification.rb b/lib/rubygems/resolver/installed_specification.rb
index 2a2b89a6c29..06da6af3dbe 100644
--- a/lib/rubygems/resolver/installed_specification.rb
+++ b/lib/rubygems/resolver/installed_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# An InstalledSpecification represents a gem that is already installed
# locally.
diff --git a/lib/rubygems/resolver/installer_set.rb b/lib/rubygems/resolver/installer_set.rb
index a68ff09dbdf..d840b717114 100644
--- a/lib/rubygems/resolver/installer_set.rb
+++ b/lib/rubygems/resolver/installer_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A set of gems for installation sourced from remote sources and local .gem
# files
diff --git a/lib/rubygems/resolver/local_specification.rb b/lib/rubygems/resolver/local_specification.rb
index 20a283f0bad..76192e4c0b4 100644
--- a/lib/rubygems/resolver/local_specification.rb
+++ b/lib/rubygems/resolver/local_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A LocalSpecification comes from a .gem file on the local filesystem.
diff --git a/lib/rubygems/resolver/lock_set.rb b/lib/rubygems/resolver/lock_set.rb
index 4ede5971fbd..fb581a15088 100644
--- a/lib/rubygems/resolver/lock_set.rb
+++ b/lib/rubygems/resolver/lock_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A set of gems from a gem dependencies lockfile.
diff --git a/lib/rubygems/resolver/lock_specification.rb b/lib/rubygems/resolver/lock_specification.rb
index 00131714695..02268787524 100644
--- a/lib/rubygems/resolver/lock_specification.rb
+++ b/lib/rubygems/resolver/lock_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# The LockSpecification comes from a lockfile (Gem::RequestSet::Lockfile).
#
diff --git a/lib/rubygems/resolver/molinillo.rb b/lib/rubygems/resolver/molinillo.rb
index 24ac0f9b2d2..019536dc9b3 100644
--- a/lib/rubygems/resolver/molinillo.rb
+++ b/lib/rubygems/resolver/molinillo.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
require 'rubygems/resolver/molinillo/lib/molinillo'
diff --git a/lib/rubygems/resolver/molinillo/lib/molinillo.rb b/lib/rubygems/resolver/molinillo/lib/molinillo.rb
index 47b45183212..34dc7787dc0 100644
--- a/lib/rubygems/resolver/molinillo/lib/molinillo.rb
+++ b/lib/rubygems/resolver/molinillo/lib/molinillo.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/resolver/molinillo/lib/molinillo/gem_metadata'
require 'rubygems/resolver/molinillo/lib/molinillo/errors'
require 'rubygems/resolver/molinillo/lib/molinillo/resolver'
diff --git a/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb b/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb
index 9780200e6fc..c3a1d5a2ef7 100644
--- a/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb
+++ b/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'set'
require 'tsort'
diff --git a/lib/rubygems/resolver/molinillo/lib/molinillo/errors.rb b/lib/rubygems/resolver/molinillo/lib/molinillo/errors.rb
index cc9f636ed58..074ee9dd7df 100644
--- a/lib/rubygems/resolver/molinillo/lib/molinillo/errors.rb
+++ b/lib/rubygems/resolver/molinillo/lib/molinillo/errors.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Gem::Resolver::Molinillo
# An error that occurred during the resolution process
class ResolverError < StandardError; end
diff --git a/lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb b/lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb
index 73a0daa528a..8140c57a58e 100644
--- a/lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb
+++ b/lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Gem::Resolver::Molinillo
VERSION = '0.4.0'
end
diff --git a/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb b/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
index 848392b2154..10c655ac32d 100644
--- a/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
+++ b/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Gem::Resolver::Molinillo
# Provides information about specifcations and dependencies to the resolver,
# allowing the {Resolver} class to remain generic while still providing power
diff --git a/lib/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb b/lib/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb
index 18f53639509..100b694ebc8 100644
--- a/lib/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb
+++ b/lib/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Gem::Resolver::Molinillo
# Conveys information about the resolution process to a user.
module UI
diff --git a/lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb b/lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb
index cc572b411a3..5a0eb368494 100644
--- a/lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb
+++ b/lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Gem::Resolver::Molinillo
class Resolver
# A specific resolution from a given {Resolver}
diff --git a/lib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb b/lib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb
index b22caf44da6..a92b3273ab0 100644
--- a/lib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb
+++ b/lib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/resolver/molinillo/lib/molinillo/dependency_graph'
module Gem::Resolver::Molinillo
diff --git a/lib/rubygems/resolver/molinillo/lib/molinillo/state.rb b/lib/rubygems/resolver/molinillo/lib/molinillo/state.rb
index f0317185ab3..7bc9d989277 100644
--- a/lib/rubygems/resolver/molinillo/lib/molinillo/state.rb
+++ b/lib/rubygems/resolver/molinillo/lib/molinillo/state.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Gem::Resolver::Molinillo
# A state that a {Resolution} can be in
# @attr [String] name
diff --git a/lib/rubygems/resolver/requirement_list.rb b/lib/rubygems/resolver/requirement_list.rb
index a6bfaab307e..32f2ac5a991 100644
--- a/lib/rubygems/resolver/requirement_list.rb
+++ b/lib/rubygems/resolver/requirement_list.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# The RequirementList is used to hold the requirements being considered
# while resolving a set of gems.
diff --git a/lib/rubygems/resolver/set.rb b/lib/rubygems/resolver/set.rb
index b26dc45c7b7..e2253abf3ab 100644
--- a/lib/rubygems/resolver/set.rb
+++ b/lib/rubygems/resolver/set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Resolver sets are used to look up specifications (and their
# dependencies) used in resolution. This set is abstract.
diff --git a/lib/rubygems/resolver/spec_specification.rb b/lib/rubygems/resolver/spec_specification.rb
index 1350e8a7ab8..00a0533bb58 100644
--- a/lib/rubygems/resolver/spec_specification.rb
+++ b/lib/rubygems/resolver/spec_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# The Resolver::SpecSpecification contains common functionality for
# Resolver specifications that are backed by a Gem::Specification.
diff --git a/lib/rubygems/resolver/specification.rb b/lib/rubygems/resolver/specification.rb
index 9b597f19168..5833320660f 100644
--- a/lib/rubygems/resolver/specification.rb
+++ b/lib/rubygems/resolver/specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A Resolver::Specification contains a subset of the information
# contained in a Gem::Specification. Only the information necessary for
diff --git a/lib/rubygems/resolver/stats.rb b/lib/rubygems/resolver/stats.rb
index c31e5be9626..4de766f2e1d 100644
--- a/lib/rubygems/resolver/stats.rb
+++ b/lib/rubygems/resolver/stats.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class Gem::Resolver::Stats
def initialize
@max_depth = 0
diff --git a/lib/rubygems/resolver/vendor_set.rb b/lib/rubygems/resolver/vendor_set.rb
index 614bd05382c..a006220ffe6 100644
--- a/lib/rubygems/resolver/vendor_set.rb
+++ b/lib/rubygems/resolver/vendor_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A VendorSet represents gems that have been unpacked into a specific
# directory that contains a gemspec.
diff --git a/lib/rubygems/resolver/vendor_specification.rb b/lib/rubygems/resolver/vendor_specification.rb
index a99b5f3cc19..ecf8e74def6 100644
--- a/lib/rubygems/resolver/vendor_specification.rb
+++ b/lib/rubygems/resolver/vendor_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A VendorSpecification represents a gem that has been unpacked into a project
# and is being loaded through a gem dependencies file through the +path:+
diff --git a/lib/rubygems/security.rb b/lib/rubygems/security.rb
index 8c5fb7d9f2e..d44ebec9f5a 100644
--- a/lib/rubygems/security.rb
+++ b/lib/rubygems/security.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/security/policies.rb b/lib/rubygems/security/policies.rb
index a976ecaf590..05c6bbdb2a0 100644
--- a/lib/rubygems/security/policies.rb
+++ b/lib/rubygems/security/policies.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Gem::Security
##
diff --git a/lib/rubygems/security/policy.rb b/lib/rubygems/security/policy.rb
index b9bcb175255..0e13497b9d1 100644
--- a/lib/rubygems/security/policy.rb
+++ b/lib/rubygems/security/policy.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/user_interaction'
##
diff --git a/lib/rubygems/security/signer.rb b/lib/rubygems/security/signer.rb
index fbee240f298..a6d0161edcb 100644
--- a/lib/rubygems/security/signer.rb
+++ b/lib/rubygems/security/signer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Basic OpenSSL-based package signing class.
diff --git a/lib/rubygems/security/trust_dir.rb b/lib/rubygems/security/trust_dir.rb
index 76ef89af7f7..a032debf6e8 100644
--- a/lib/rubygems/security/trust_dir.rb
+++ b/lib/rubygems/security/trust_dir.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# The TrustDir manages the trusted certificates for gem signature
# verification.
diff --git a/lib/rubygems/server.rb b/lib/rubygems/server.rb
index 7655be22cef..d83a928571f 100644
--- a/lib/rubygems/server.rb
+++ b/lib/rubygems/server.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'webrick'
require 'zlib'
require 'erb'
diff --git a/lib/rubygems/source.rb b/lib/rubygems/source.rb
index e5995f005f9..7a58a441d2b 100644
--- a/lib/rubygems/source.rb
+++ b/lib/rubygems/source.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'uri'
require 'fileutils'
diff --git a/lib/rubygems/source/git.rb b/lib/rubygems/source/git.rb
index 35c2270a744..7096ebe6174 100644
--- a/lib/rubygems/source/git.rb
+++ b/lib/rubygems/source/git.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'digest'
require 'rubygems/util'
diff --git a/lib/rubygems/source/installed.rb b/lib/rubygems/source/installed.rb
index bd05c75af17..3327010768d 100644
--- a/lib/rubygems/source/installed.rb
+++ b/lib/rubygems/source/installed.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Represents an installed gem. This is used for dependency resolution.
diff --git a/lib/rubygems/source/local.rb b/lib/rubygems/source/local.rb
index 8057921163e..a320ff1c66a 100644
--- a/lib/rubygems/source/local.rb
+++ b/lib/rubygems/source/local.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# The local source finds gems in the current directory for fulfilling
# dependencies.
diff --git a/lib/rubygems/source/lock.rb b/lib/rubygems/source/lock.rb
index 2ba7702bdad..98fef5a4d1f 100644
--- a/lib/rubygems/source/lock.rb
+++ b/lib/rubygems/source/lock.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A Lock source wraps an installed gem's source and sorts before other sources
# during dependency resolution. This allows RubyGems to prefer gems from
diff --git a/lib/rubygems/source/specific_file.rb b/lib/rubygems/source/specific_file.rb
index 250a8392034..790e4240335 100644
--- a/lib/rubygems/source/specific_file.rb
+++ b/lib/rubygems/source/specific_file.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# A source representing a single .gem file. This is used for installation of
# local gems.
diff --git a/lib/rubygems/source/vendor.rb b/lib/rubygems/source/vendor.rb
index 2d936231c16..057d54ebeac 100644
--- a/lib/rubygems/source/vendor.rb
+++ b/lib/rubygems/source/vendor.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# This represents a vendored source that is similar to an installed gem.
diff --git a/lib/rubygems/source_list.rb b/lib/rubygems/source_list.rb
index e01f11cc1e2..add82f23274 100644
--- a/lib/rubygems/source_list.rb
+++ b/lib/rubygems/source_list.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/source'
##
diff --git a/lib/rubygems/source_local.rb b/lib/rubygems/source_local.rb
index 0808f4694ab..d56b6977188 100644
--- a/lib/rubygems/source_local.rb
+++ b/lib/rubygems/source_local.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/source'
require 'rubygems/source_local'
diff --git a/lib/rubygems/source_specific_file.rb b/lib/rubygems/source_specific_file.rb
index f785c2667ca..2ae57927812 100644
--- a/lib/rubygems/source_specific_file.rb
+++ b/lib/rubygems/source_specific_file.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/source/specific_file'
# TODO warn upon require, this file is deprecated.
diff --git a/lib/rubygems/spec_fetcher.rb b/lib/rubygems/spec_fetcher.rb
index 4967c4a40b9..dbeecad2436 100644
--- a/lib/rubygems/spec_fetcher.rb
+++ b/lib/rubygems/spec_fetcher.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/remote_fetcher'
require 'rubygems/user_interaction'
require 'rubygems/errors'
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
index 50c27aa272c..ddba38da841 100644
--- a/lib/rubygems/specification.rb
+++ b/lib/rubygems/specification.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/stub_specification.rb b/lib/rubygems/stub_specification.rb
index 482a75bd48e..98ec7ce0702 100644
--- a/lib/rubygems/stub_specification.rb
+++ b/lib/rubygems/stub_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# Gem::StubSpecification reads the stub: line from the gemspec. This prevents
# us having to eval the entire gemspec in order to find out certain
diff --git a/lib/rubygems/syck_hack.rb b/lib/rubygems/syck_hack.rb
index 92179abb53f..0f49793ea1a 100644
--- a/lib/rubygems/syck_hack.rb
+++ b/lib/rubygems/syck_hack.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# :stopdoc:
# Hack to handle syck's DefaultKey bug
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb
index 0e0bdfbe3e1..3ffc608a1cb 100644
--- a/lib/rubygems/test_case.rb
+++ b/lib/rubygems/test_case.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# TODO: $SAFE = 1
begin
diff --git a/lib/rubygems/test_utilities.rb b/lib/rubygems/test_utilities.rb
index 6789f6efc5e..bb633eb3cc4 100644
--- a/lib/rubygems/test_utilities.rb
+++ b/lib/rubygems/test_utilities.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'tempfile'
require 'rubygems'
require 'rubygems/remote_fetcher'
diff --git a/lib/rubygems/text.rb b/lib/rubygems/text.rb
index 4c033cf00e7..470874621b6 100644
--- a/lib/rubygems/text.rb
+++ b/lib/rubygems/text.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
##
diff --git a/lib/rubygems/uninstaller.rb b/lib/rubygems/uninstaller.rb
index bb3e204c8d9..b54eeba585e 100644
--- a/lib/rubygems/uninstaller.rb
+++ b/lib/rubygems/uninstaller.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/uri_formatter.rb b/lib/rubygems/uri_formatter.rb
index 68aacc6369c..bf0fc287a4e 100644
--- a/lib/rubygems/uri_formatter.rb
+++ b/lib/rubygems/uri_formatter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'cgi'
require 'uri'
diff --git a/lib/rubygems/user_interaction.rb b/lib/rubygems/user_interaction.rb
index 78d37906c9a..69eb26df5a1 100644
--- a/lib/rubygems/user_interaction.rb
+++ b/lib/rubygems/user_interaction.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/util.rb b/lib/rubygems/util.rb
index 9bfe13f815d..76d8ad4bc1d 100644
--- a/lib/rubygems/util.rb
+++ b/lib/rubygems/util.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# This module contains various utility methods as module methods.
diff --git a/lib/rubygems/util/licenses.rb b/lib/rubygems/util/licenses.rb
index a15b556c3ee..08ebd925f73 100644
--- a/lib/rubygems/util/licenses.rb
+++ b/lib/rubygems/util/licenses.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class Gem::Licenses
NONSTANDARD = 'Nonstandard'.freeze
diff --git a/lib/rubygems/util/list.rb b/lib/rubygems/util/list.rb
index 6fa767646c6..83dc8497c4b 100644
--- a/lib/rubygems/util/list.rb
+++ b/lib/rubygems/util/list.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Gem
class List
include Enumerable
diff --git a/lib/rubygems/validator.rb b/lib/rubygems/validator.rb
index 6992af16baf..8a13e9911bb 100644
--- a/lib/rubygems/validator.rb
+++ b/lib/rubygems/validator.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/rubygems/version.rb b/lib/rubygems/version.rb
index 16e20c52464..8e37baa3484 100644
--- a/lib/rubygems/version.rb
+++ b/lib/rubygems/version.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# The Version class processes string versions into comparable
# values. A version string should normally be a series of numbers
diff --git a/lib/rubygems/version_option.rb b/lib/rubygems/version_option.rb
index a0755d50206..a31cb14db48 100644
--- a/lib/rubygems/version_option.rb
+++ b/lib/rubygems/version_option.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/lib/scanf.rb b/lib/scanf.rb
index 6ba6847616e..a98c3595735 100644
--- a/lib/scanf.rb
+++ b/lib/scanf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# scanf for Ruby
#
#--
diff --git a/lib/shell.rb b/lib/shell.rb
index db2d6879083..bf389795b78 100644
--- a/lib/shell.rb
+++ b/lib/shell.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# shell.rb -
# $Release Version: 0.7 $
diff --git a/lib/shell/builtin-command.rb b/lib/shell/builtin-command.rb
index 80a0ce5534b..c76fa81ee13 100644
--- a/lib/shell/builtin-command.rb
+++ b/lib/shell/builtin-command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# shell/builtin-command.rb -
# $Release Version: 0.7 $
diff --git a/lib/shell/command-processor.rb b/lib/shell/command-processor.rb
index 13bc50c3fe0..2239ca98f63 100644
--- a/lib/shell/command-processor.rb
+++ b/lib/shell/command-processor.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# shell/command-controller.rb -
# $Release Version: 0.7 $
diff --git a/lib/shell/error.rb b/lib/shell/error.rb
index 2701338b5a0..677c424baf6 100644
--- a/lib/shell/error.rb
+++ b/lib/shell/error.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# shell/error.rb -
# $Release Version: 0.7 $
diff --git a/lib/shell/filter.rb b/lib/shell/filter.rb
index 9fae07d23ec..c1f4b28a45e 100644
--- a/lib/shell/filter.rb
+++ b/lib/shell/filter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# shell/filter.rb -
# $Release Version: 0.7 $
diff --git a/lib/shell/process-controller.rb b/lib/shell/process-controller.rb
index d0cad0ec056..a100727aa63 100644
--- a/lib/shell/process-controller.rb
+++ b/lib/shell/process-controller.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# shell/process-controller.rb -
# $Release Version: 0.7 $
diff --git a/lib/shell/system-command.rb b/lib/shell/system-command.rb
index 1fe37333d64..2a8ffd6ed92 100644
--- a/lib/shell/system-command.rb
+++ b/lib/shell/system-command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# shell/system-command.rb -
# $Release Version: 0.7 $
diff --git a/lib/shell/version.rb b/lib/shell/version.rb
index 2568627e2b0..bb4e7dfb8ed 100644
--- a/lib/shell/version.rb
+++ b/lib/shell/version.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# version.rb - shell version definition file
# $Release Version: 0.7$
diff --git a/lib/shellwords.rb b/lib/shellwords.rb
index 0030f0784fb..76aedbc1797 100644
--- a/lib/shellwords.rb
+++ b/lib/shellwords.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# frozen-string-literal: true
##
# == Manipulates strings like the UNIX Bourne shell
diff --git a/lib/singleton.rb b/lib/singleton.rb
index be1f7ff6cac..2ee9b5b3b55 100644
--- a/lib/singleton.rb
+++ b/lib/singleton.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'thread'
# The Singleton module implements the Singleton pattern.
diff --git a/lib/sync.rb b/lib/sync.rb
index 09542d59f94..ad6caf07435 100644
--- a/lib/sync.rb
+++ b/lib/sync.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# sync.rb - 2 phase lock with counter
# $Release Version: 1.0$
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 77f3e4ede36..13d9585a3b1 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# tempfile - manipulates temporary files
#
diff --git a/lib/thwait.rb b/lib/thwait.rb
index d9750a406b2..db7e6b1ce5c 100644
--- a/lib/thwait.rb
+++ b/lib/thwait.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# thwait.rb - thread synchronization class
# $Release Version: 0.9 $
diff --git a/lib/timeout.rb b/lib/timeout.rb
index 63a629923d1..79d28b6c5e7 100644
--- a/lib/timeout.rb
+++ b/lib/timeout.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# Timeout long-running blocks
#
# == Synopsis
diff --git a/lib/tracer.rb b/lib/tracer.rb
index 1d6b019bcf8..fd45f003c89 100644
--- a/lib/tracer.rb
+++ b/lib/tracer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# $Release Version: 0.3$
# $Revision: 1.12 $
diff --git a/lib/ubygems.rb b/lib/ubygems.rb
index fec880f73b1..3d1798fe984 100644
--- a/lib/ubygems.rb
+++ b/lib/ubygems.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# This file allows for the running of rubygems with a nice
# command line look-and-feel: ruby -rubygems foo.rb
#--
diff --git a/lib/un.rb b/lib/un.rb
index 1f336a4442d..9c1ce624a58 100644
--- a/lib/un.rb
+++ b/lib/un.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# = un.rb
#
diff --git a/lib/unicode_normalize.rb b/lib/unicode_normalize.rb
index e79f41d1a27..8daf7b301a8 100644
--- a/lib/unicode_normalize.rb
+++ b/lib/unicode_normalize.rb
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: false
# Copyright Ayumu Nojima (野島 歩) and Martin J. Dürst (duerst@it.aoyama.ac.jp)
diff --git a/lib/unicode_normalize/normalize.rb b/lib/unicode_normalize/normalize.rb
index 18080ce03de..8f0e8a20d11 100644
--- a/lib/unicode_normalize/normalize.rb
+++ b/lib/unicode_normalize/normalize.rb
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: false
# Copyright Ayumu Nojima (野島 歩) and Martin J. Dürst (duerst@it.aoyama.ac.jp)
diff --git a/lib/uri.rb b/lib/uri.rb
index 2a486214719..971a97038fd 100644
--- a/lib/uri.rb
+++ b/lib/uri.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# URI is a module providing classes to handle Uniform Resource Identifiers
# (RFC2396[http://tools.ietf.org/html/rfc2396])
#
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index 28b5c997892..4c7d112e614 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 a90e9b20fde..e5c00b34da2 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 <akira@ruby-lang.org>
diff --git a/lib/uri/http.rb b/lib/uri/http.rb
index dc47613cdfc..d43e9a28e09 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 <akira@ruby-lang.org>
diff --git a/lib/uri/https.rb b/lib/uri/https.rb
index 7d242e7e793..3c8c905cc3e 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 <akira@ruby-lang.org>
diff --git a/lib/uri/ldap.rb b/lib/uri/ldap.rb
index 56d748e59ed..4345875e28a 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 42bbfe86bad..d03f8efa2d8 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 b4405630a97..495f939a3b0 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 <akira@ruby-lang.org>
diff --git a/lib/uri/rfc2396_parser.rb b/lib/uri/rfc2396_parser.rb
index a8af37502a8..b9e7b2b26ef 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 3923b0699c0..871280044ad 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
diff --git a/lib/weakref.rb b/lib/weakref.rb
index cdcbabf77ca..cdfbe4a679b 100644
--- a/lib/weakref.rb
+++ b/lib/weakref.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "delegate"
# Weak Reference class that allows a referenced object to be
diff --git a/lib/webrick.rb b/lib/webrick.rb
index fd8522a6c5f..b7f327ca337 100644
--- a/lib/webrick.rb
+++ b/lib/webrick.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# = WEB server toolkit.
#
diff --git a/lib/webrick/accesslog.rb b/lib/webrick/accesslog.rb
index 4df27efc291..17e5b38ac93 100644
--- a/lib/webrick/accesslog.rb
+++ b/lib/webrick/accesslog.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# accesslog.rb -- Access log handling utilities
#
diff --git a/lib/webrick/cgi.rb b/lib/webrick/cgi.rb
index 80f636edc3d..94f385f1dd6 100644
--- a/lib/webrick/cgi.rb
+++ b/lib/webrick/cgi.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# cgi.rb -- Yet another CGI library
#
diff --git a/lib/webrick/compat.rb b/lib/webrick/compat.rb
index d2bc3ef6b4b..c497a1933c9 100644
--- a/lib/webrick/compat.rb
+++ b/lib/webrick/compat.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# compat.rb -- cross platform compatibility
#
diff --git a/lib/webrick/config.rb b/lib/webrick/config.rb
index c347da4be6a..5f7b0a7fa4c 100644
--- a/lib/webrick/config.rb
+++ b/lib/webrick/config.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# config.rb -- Default configurations.
#
diff --git a/lib/webrick/cookie.rb b/lib/webrick/cookie.rb
index d8df23133de..16f8d218275 100644
--- a/lib/webrick/cookie.rb
+++ b/lib/webrick/cookie.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# cookie.rb -- Cookie class
#
diff --git a/lib/webrick/htmlutils.rb b/lib/webrick/htmlutils.rb
index 4cb3d0d7f65..ed9f4ac0d3e 100644
--- a/lib/webrick/htmlutils.rb
+++ b/lib/webrick/htmlutils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# htmlutils.rb -- HTMLUtils Module
#
diff --git a/lib/webrick/httpauth.rb b/lib/webrick/httpauth.rb
index 96d479b2d7e..bbb67765284 100644
--- a/lib/webrick/httpauth.rb
+++ b/lib/webrick/httpauth.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httpauth.rb -- HTTP access authentication
#
diff --git a/lib/webrick/httpauth/authenticator.rb b/lib/webrick/httpauth/authenticator.rb
index f6d4ab844f9..8655118a04c 100644
--- a/lib/webrick/httpauth/authenticator.rb
+++ b/lib/webrick/httpauth/authenticator.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# httpauth/authenticator.rb -- Authenticator mix-in module.
#
diff --git a/lib/webrick/httpauth/basicauth.rb b/lib/webrick/httpauth/basicauth.rb
index ed5dcd1fcdb..e23420fdfa3 100644
--- a/lib/webrick/httpauth/basicauth.rb
+++ b/lib/webrick/httpauth/basicauth.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httpauth/basicauth.rb -- HTTP basic access authentication
#
diff --git a/lib/webrick/httpauth/digestauth.rb b/lib/webrick/httpauth/digestauth.rb
index d94bd890ebb..018989e6dd5 100644
--- a/lib/webrick/httpauth/digestauth.rb
+++ b/lib/webrick/httpauth/digestauth.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httpauth/digestauth.rb -- HTTP digest access authentication
#
diff --git a/lib/webrick/httpauth/htdigest.rb b/lib/webrick/httpauth/htdigest.rb
index 5fb0635e2a1..4bb25e1724b 100644
--- a/lib/webrick/httpauth/htdigest.rb
+++ b/lib/webrick/httpauth/htdigest.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httpauth/htdigest.rb -- Apache compatible htdigest file
#
diff --git a/lib/webrick/httpauth/htgroup.rb b/lib/webrick/httpauth/htgroup.rb
index 0ecabef8201..832ae8bd040 100644
--- a/lib/webrick/httpauth/htgroup.rb
+++ b/lib/webrick/httpauth/htgroup.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httpauth/htgroup.rb -- Apache compatible htgroup file
#
diff --git a/lib/webrick/httpauth/htpasswd.rb b/lib/webrick/httpauth/htpasswd.rb
index 69b739fbfe9..f43fc2c548a 100644
--- a/lib/webrick/httpauth/htpasswd.rb
+++ b/lib/webrick/httpauth/htpasswd.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httpauth/htpasswd -- Apache compatible htpasswd file
#
diff --git a/lib/webrick/httpauth/userdb.rb b/lib/webrick/httpauth/userdb.rb
index 005c18dfd08..7a17715cdf3 100644
--- a/lib/webrick/httpauth/userdb.rb
+++ b/lib/webrick/httpauth/userdb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# httpauth/userdb.rb -- UserDB mix-in module.
#
diff --git a/lib/webrick/httpproxy.rb b/lib/webrick/httpproxy.rb
index 075d9c494d4..79a2e8f55b0 100644
--- a/lib/webrick/httpproxy.rb
+++ b/lib/webrick/httpproxy.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httpproxy.rb -- HTTPProxy Class
#
diff --git a/lib/webrick/httprequest.rb b/lib/webrick/httprequest.rb
index 6aa2d1c1f26..88cdec8a52c 100644
--- a/lib/webrick/httprequest.rb
+++ b/lib/webrick/httprequest.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httprequest.rb -- HTTPRequest Class
#
diff --git a/lib/webrick/httpresponse.rb b/lib/webrick/httpresponse.rb
index e897e8c01b1..5fd54b77c76 100644
--- a/lib/webrick/httpresponse.rb
+++ b/lib/webrick/httpresponse.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httpresponse.rb -- HTTPResponse Class
#
diff --git a/lib/webrick/https.rb b/lib/webrick/https.rb
index 9194f9411c0..73875d73262 100644
--- a/lib/webrick/https.rb
+++ b/lib/webrick/https.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# https.rb -- SSL/TLS enhancement for HTTPServer
#
diff --git a/lib/webrick/httpserver.rb b/lib/webrick/httpserver.rb
index 96bd3fa5482..b27f2311bde 100644
--- a/lib/webrick/httpserver.rb
+++ b/lib/webrick/httpserver.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httpserver.rb -- HTTPServer Class
#
diff --git a/lib/webrick/httpservlet.rb b/lib/webrick/httpservlet.rb
index ac7c022bd75..1ee04ec86fd 100644
--- a/lib/webrick/httpservlet.rb
+++ b/lib/webrick/httpservlet.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httpservlet.rb -- HTTPServlet Utility File
#
diff --git a/lib/webrick/httpservlet/abstract.rb b/lib/webrick/httpservlet/abstract.rb
index d3b00ab4e1b..ee558eb0260 100644
--- a/lib/webrick/httpservlet/abstract.rb
+++ b/lib/webrick/httpservlet/abstract.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httpservlet.rb -- HTTPServlet Module
#
diff --git a/lib/webrick/httpservlet/cgi_runner.rb b/lib/webrick/httpservlet/cgi_runner.rb
index 32ecb6fe00c..597f48936b0 100644
--- a/lib/webrick/httpservlet/cgi_runner.rb
+++ b/lib/webrick/httpservlet/cgi_runner.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# cgi_runner.rb -- CGI launcher.
#
diff --git a/lib/webrick/httpservlet/cgihandler.rb b/lib/webrick/httpservlet/cgihandler.rb
index 32100418e66..051bb7cfcc8 100644
--- a/lib/webrick/httpservlet/cgihandler.rb
+++ b/lib/webrick/httpservlet/cgihandler.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# cgihandler.rb -- CGIHandler Class
#
diff --git a/lib/webrick/httpservlet/erbhandler.rb b/lib/webrick/httpservlet/erbhandler.rb
index 1b8a82d67b6..9bcec698831 100644
--- a/lib/webrick/httpservlet/erbhandler.rb
+++ b/lib/webrick/httpservlet/erbhandler.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# erbhandler.rb -- ERBHandler Class
#
diff --git a/lib/webrick/httpservlet/filehandler.rb b/lib/webrick/httpservlet/filehandler.rb
index cc9db4a8707..068246c9d02 100644
--- a/lib/webrick/httpservlet/filehandler.rb
+++ b/lib/webrick/httpservlet/filehandler.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# filehandler.rb -- FileHandler Module
#
diff --git a/lib/webrick/httpservlet/prochandler.rb b/lib/webrick/httpservlet/prochandler.rb
index 2f5aa66f453..c1f454e2f6f 100644
--- a/lib/webrick/httpservlet/prochandler.rb
+++ b/lib/webrick/httpservlet/prochandler.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# prochandler.rb -- ProcHandler Class
#
diff --git a/lib/webrick/httpstatus.rb b/lib/webrick/httpstatus.rb
index 7ffda64cf0f..8664da26d0e 100644
--- a/lib/webrick/httpstatus.rb
+++ b/lib/webrick/httpstatus.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# httpstatus.rb -- HTTPStatus Class
#
diff --git a/lib/webrick/httputils.rb b/lib/webrick/httputils.rb
index a5f0632b863..28f906ef4d3 100644
--- a/lib/webrick/httputils.rb
+++ b/lib/webrick/httputils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# httputils.rb -- HTTPUtils Module
#
diff --git a/lib/webrick/httpversion.rb b/lib/webrick/httpversion.rb
index cdfb957296b..8a251944a2c 100644
--- a/lib/webrick/httpversion.rb
+++ b/lib/webrick/httpversion.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# HTTPVersion.rb -- presentation of HTTP version
#
diff --git a/lib/webrick/log.rb b/lib/webrick/log.rb
index 41cde4a7408..7542d8f79a9 100644
--- a/lib/webrick/log.rb
+++ b/lib/webrick/log.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# log.rb -- Log Class
#
diff --git a/lib/webrick/server.rb b/lib/webrick/server.rb
index 73395a406d8..e2e99bfc5ff 100644
--- a/lib/webrick/server.rb
+++ b/lib/webrick/server.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# server.rb -- GenericServer Class
#
diff --git a/lib/webrick/ssl.rb b/lib/webrick/ssl.rb
index b69a836f5dd..8eb3a442dac 100644
--- a/lib/webrick/ssl.rb
+++ b/lib/webrick/ssl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# ssl.rb -- SSL/TLS enhancement for GenericServer
#
diff --git a/lib/webrick/utils.rb b/lib/webrick/utils.rb
index 654d9dea951..f7b4412c192 100644
--- a/lib/webrick/utils.rb
+++ b/lib/webrick/utils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# utils.rb -- Miscellaneous utilities
#
diff --git a/lib/webrick/version.rb b/lib/webrick/version.rb
index 48bdc6d94d0..da5dac94a93 100644
--- a/lib/webrick/version.rb
+++ b/lib/webrick/version.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# version.rb -- version and release date
#
diff --git a/lib/xmlrpc.rb b/lib/xmlrpc.rb
index 8cad6a10995..aa24afacac8 100644
--- a/lib/xmlrpc.rb
+++ b/lib/xmlrpc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# == Author and Copyright
#
# Copyright (C) 2001-2004 by Michael Neumann (mailto:mneumann@ntecs.de)
diff --git a/lib/xmlrpc/base64.rb b/lib/xmlrpc/base64.rb
index 4aac3520c57..21f8c65ce25 100644
--- a/lib/xmlrpc/base64.rb
+++ b/lib/xmlrpc/base64.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# xmlrpc/base64.rb
# Copyright (C) 2001, 2002, 2003 by Michael Neumann (mneumann@ntecs.de)
diff --git a/lib/xmlrpc/client.rb b/lib/xmlrpc/client.rb
index aab07a7f956..3cb9e9a9e95 100644
--- a/lib/xmlrpc/client.rb
+++ b/lib/xmlrpc/client.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# xmlrpc/client.rb
# Copyright (C) 2001, 2002, 2003 by Michael Neumann (mneumann@ntecs.de)
#
diff --git a/lib/xmlrpc/config.rb b/lib/xmlrpc/config.rb
index 7923f3a26ef..f49adb6892c 100644
--- a/lib/xmlrpc/config.rb
+++ b/lib/xmlrpc/config.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# $Id$
# Configuration file for XML-RPC for Ruby
diff --git a/lib/xmlrpc/create.rb b/lib/xmlrpc/create.rb
index 13c9cd8faa8..93822c4dd2f 100644
--- a/lib/xmlrpc/create.rb
+++ b/lib/xmlrpc/create.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# Copyright (C) 2001, 2002, 2003 by Michael Neumann (mneumann@ntecs.de)
#
diff --git a/lib/xmlrpc/datetime.rb b/lib/xmlrpc/datetime.rb
index 444a29f176d..431ac24aa93 100644
--- a/lib/xmlrpc/datetime.rb
+++ b/lib/xmlrpc/datetime.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# xmlrpc/datetime.rb
# Copyright (C) 2001, 2002, 2003 by Michael Neumann (mneumann@ntecs.de)
diff --git a/lib/xmlrpc/marshal.rb b/lib/xmlrpc/marshal.rb
index ef1234f8015..42b7b1e125b 100644
--- a/lib/xmlrpc/marshal.rb
+++ b/lib/xmlrpc/marshal.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# Copyright (C) 2001, 2002, 2003 by Michael Neumann (mneumann@ntecs.de)
#
diff --git a/lib/xmlrpc/parser.rb b/lib/xmlrpc/parser.rb
index be8accfd6b0..3b912b6be2f 100644
--- a/lib/xmlrpc/parser.rb
+++ b/lib/xmlrpc/parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# Copyright (C) 2001, 2002, 2003 by Michael Neumann (mneumann@ntecs.de)
#
# $Id$
diff --git a/lib/xmlrpc/server.rb b/lib/xmlrpc/server.rb
index 64856ea1fa1..cd0fdbad38b 100644
--- a/lib/xmlrpc/server.rb
+++ b/lib/xmlrpc/server.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# xmlrpc/server.rb
# Copyright (C) 2001, 2002, 2003, 2005 by Michael Neumann (mneumann@ntecs.de)
#
diff --git a/lib/xmlrpc/utils.rb b/lib/xmlrpc/utils.rb
index 186938a56ef..cd2ab107d90 100644
--- a/lib/xmlrpc/utils.rb
+++ b/lib/xmlrpc/utils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# Copyright (C) 2001, 2002, 2003 by Michael Neumann (mneumann@ntecs.de)
#
diff --git a/lib/yaml.rb b/lib/yaml.rb
index b211ca5a737..0c33305e1dc 100644
--- a/lib/yaml.rb
+++ b/lib/yaml.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# The YAML module is an alias of Psych, the YAML engine for Ruby.
diff --git a/lib/yaml/dbm.rb b/lib/yaml/dbm.rb
index 24a68bfa71a..e2508cd74b3 100644
--- a/lib/yaml/dbm.rb
+++ b/lib/yaml/dbm.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'yaml'
require 'dbm'
diff --git a/lib/yaml/store.rb b/lib/yaml/store.rb
index b0b580ba1ac..57ef0ba5009 100644
--- a/lib/yaml/store.rb
+++ b/lib/yaml/store.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# YAML::Store
#
diff --git a/test/-ext-/array/test_resize.rb b/test/-ext-/array/test_resize.rb
index 8e526b5a0c4..f6a368cb755 100644
--- a/test/-ext-/array/test_resize.rb
+++ b/test/-ext-/array/test_resize.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/array/resize'
diff --git a/test/-ext-/bignum/test_big2str.rb b/test/-ext-/bignum/test_big2str.rb
index 0af552ea709..4fae24eb345 100644
--- a/test/-ext-/bignum/test_big2str.rb
+++ b/test/-ext-/bignum/test_big2str.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/bignum"
diff --git a/test/-ext-/bignum/test_bigzero.rb b/test/-ext-/bignum/test_bigzero.rb
index f75c4590b86..8529e54456b 100644
--- a/test/-ext-/bignum/test_bigzero.rb
+++ b/test/-ext-/bignum/test_bigzero.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/bignum"
diff --git a/test/-ext-/bignum/test_div.rb b/test/-ext-/bignum/test_div.rb
index 9c1a3c3d2a9..9a8e93b0815 100644
--- a/test/-ext-/bignum/test_div.rb
+++ b/test/-ext-/bignum/test_div.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/bignum"
diff --git a/test/-ext-/bignum/test_mul.rb b/test/-ext-/bignum/test_mul.rb
index 3e78247aa45..103a00fbad2 100644
--- a/test/-ext-/bignum/test_mul.rb
+++ b/test/-ext-/bignum/test_mul.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/bignum"
diff --git a/test/-ext-/bignum/test_pack.rb b/test/-ext-/bignum/test_pack.rb
index f2a3df814e0..04bf3e02de1 100644
--- a/test/-ext-/bignum/test_pack.rb
+++ b/test/-ext-/bignum/test_pack.rb
@@ -1,4 +1,5 @@
# coding: ASCII-8BIT
+# frozen_string_literal: false
require 'test/unit'
require "-test-/bignum"
diff --git a/test/-ext-/bignum/test_str2big.rb b/test/-ext-/bignum/test_str2big.rb
index 4304be88e9f..3b5750154ea 100644
--- a/test/-ext-/bignum/test_str2big.rb
+++ b/test/-ext-/bignum/test_str2big.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/bignum"
diff --git a/test/-ext-/bug_reporter/test_bug_reporter.rb b/test/-ext-/bug_reporter/test_bug_reporter.rb
index e68adeef06f..fb37658c920 100644
--- a/test/-ext-/bug_reporter/test_bug_reporter.rb
+++ b/test/-ext-/bug_reporter/test_bug_reporter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
diff --git a/test/-ext-/class/test_class2name.rb b/test/-ext-/class/test_class2name.rb
index 070be5a130f..e61964d9eb7 100644
--- a/test/-ext-/class/test_class2name.rb
+++ b/test/-ext-/class/test_class2name.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/class"
diff --git a/test/-ext-/debug/test_debug.rb b/test/-ext-/debug/test_debug.rb
index ec506e0ca52..3804714d0dc 100644
--- a/test/-ext-/debug/test_debug.rb
+++ b/test/-ext-/debug/test_debug.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/debug'
diff --git a/test/-ext-/debug/test_profile_frames.rb b/test/-ext-/debug/test_profile_frames.rb
index e257ef09b3d..860652c0cdf 100644
--- a/test/-ext-/debug/test_profile_frames.rb
+++ b/test/-ext-/debug/test_profile_frames.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/debug'
diff --git a/test/-ext-/exception/test_data_error.rb b/test/-ext-/exception/test_data_error.rb
index 53cbb28438f..d33d8ca43fd 100644
--- a/test/-ext-/exception/test_data_error.rb
+++ b/test/-ext-/exception/test_data_error.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module Bug
diff --git a/test/-ext-/exception/test_enc_raise.rb b/test/-ext-/exception/test_enc_raise.rb
index a578b167ea8..2bc7f024135 100644
--- a/test/-ext-/exception/test_enc_raise.rb
+++ b/test/-ext-/exception/test_enc_raise.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/exception'
diff --git a/test/-ext-/exception/test_ensured.rb b/test/-ext-/exception/test_ensured.rb
index 97d97941862..858245868b3 100644
--- a/test/-ext-/exception/test_ensured.rb
+++ b/test/-ext-/exception/test_ensured.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module Bug
diff --git a/test/-ext-/file/test_stat.rb b/test/-ext-/file/test_stat.rb
index b9aa132932e..9eebcd97b9f 100644
--- a/test/-ext-/file/test_stat.rb
+++ b/test/-ext-/file/test_stat.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/file"
diff --git a/test/-ext-/float/test_nextafter.rb b/test/-ext-/float/test_nextafter.rb
index e3a3e726c7f..c131d1e4131 100644
--- a/test/-ext-/float/test_nextafter.rb
+++ b/test/-ext-/float/test_nextafter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/float"
diff --git a/test/-ext-/funcall/test_passing_block.rb b/test/-ext-/funcall/test_passing_block.rb
index 87aed2212c8..fac7eaf9539 100644
--- a/test/-ext-/funcall/test_passing_block.rb
+++ b/test/-ext-/funcall/test_passing_block.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestFuncall < Test::Unit::TestCase
diff --git a/test/-ext-/gvl/test_last_thread.rb b/test/-ext-/gvl/test_last_thread.rb
index cf5f28f4b61..3b297a5b311 100644
--- a/test/-ext-/gvl/test_last_thread.rb
+++ b/test/-ext-/gvl/test_last_thread.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class TestLastThread < Test::Unit::TestCase
# [Bug #11237]
diff --git a/test/-ext-/hash/test_delete.rb b/test/-ext-/hash/test_delete.rb
index 13f35954826..e2ad3cbdbc0 100644
--- a/test/-ext-/hash/test_delete.rb
+++ b/test/-ext-/hash/test_delete.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/hash'
diff --git a/test/-ext-/iseq_load/test_iseq_load.rb b/test/-ext-/iseq_load/test_iseq_load.rb
index 5dfd69a8634..7eb8f4bfc84 100644
--- a/test/-ext-/iseq_load/test_iseq_load.rb
+++ b/test/-ext-/iseq_load/test_iseq_load.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestIseqLoad < Test::Unit::TestCase
diff --git a/test/-ext-/iter/test_iter_break.rb b/test/-ext-/iter/test_iter_break.rb
index 5bac6331fdb..8c2379960a9 100644
--- a/test/-ext-/iter/test_iter_break.rb
+++ b/test/-ext-/iter/test_iter_break.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/iter'
diff --git a/test/-ext-/iter/test_yield_block.rb b/test/-ext-/iter/test_yield_block.rb
index bec993c9505..d4f1fa3c35a 100644
--- a/test/-ext-/iter/test_yield_block.rb
+++ b/test/-ext-/iter/test_yield_block.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/iter'
diff --git a/test/-ext-/load/test_dot_dot.rb b/test/-ext-/load/test_dot_dot.rb
index 82aa10a95f0..1b2c8716089 100644
--- a/test/-ext-/load/test_dot_dot.rb
+++ b/test/-ext-/load/test_dot_dot.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class Test_DotDot < Test::Unit::TestCase
diff --git a/test/-ext-/marshal/test_internal_ivar.rb b/test/-ext-/marshal/test_internal_ivar.rb
index e0e2a72f543..51529667b52 100644
--- a/test/-ext-/marshal/test_internal_ivar.rb
+++ b/test/-ext-/marshal/test_internal_ivar.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/marshal/internal_ivar'
diff --git a/test/-ext-/marshal/test_usrmarshal.rb b/test/-ext-/marshal/test_usrmarshal.rb
index 8d8db012aca..263dcb82974 100644
--- a/test/-ext-/marshal/test_usrmarshal.rb
+++ b/test/-ext-/marshal/test_usrmarshal.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/marshal/usr'
diff --git a/test/-ext-/method/test_arity.rb b/test/-ext-/method/test_arity.rb
index 79ef23b34ff..d0032c6a50c 100644
--- a/test/-ext-/method/test_arity.rb
+++ b/test/-ext-/method/test_arity.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require '-test-/method'
require 'test/unit'
diff --git a/test/-ext-/num2int/test_num2int.rb b/test/-ext-/num2int/test_num2int.rb
index f5796599291..c00bb56833d 100644
--- a/test/-ext-/num2int/test_num2int.rb
+++ b/test/-ext-/num2int/test_num2int.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/num2int/num2int'
diff --git a/test/-ext-/path_to_class/test_path_to_class.rb b/test/-ext-/path_to_class/test_path_to_class.rb
index fdf4097fde1..57e3a9233a5 100644
--- a/test/-ext-/path_to_class/test_path_to_class.rb
+++ b/test/-ext-/path_to_class/test_path_to_class.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class Test_PathToClass < Test::Unit::TestCase
diff --git a/test/-ext-/popen_deadlock/test_popen_deadlock.rb b/test/-ext-/popen_deadlock/test_popen_deadlock.rb
index 60ec6ccce43..97892e50083 100644
--- a/test/-ext-/popen_deadlock/test_popen_deadlock.rb
+++ b/test/-ext-/popen_deadlock/test_popen_deadlock.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require '-test-/popen_deadlock/infinite_loop_dlsym'
rescue LoadError
diff --git a/test/-ext-/postponed_job/test_postponed_job.rb b/test/-ext-/postponed_job/test_postponed_job.rb
index 032e35c055a..da3b579ebae 100644
--- a/test/-ext-/postponed_job/test_postponed_job.rb
+++ b/test/-ext-/postponed_job/test_postponed_job.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'thread'
require '-test-/postponed_job'
diff --git a/test/-ext-/proc/test_bmethod.rb b/test/-ext-/proc/test_bmethod.rb
index 16927dcf7d7..344f9757559 100644
--- a/test/-ext-/proc/test_bmethod.rb
+++ b/test/-ext-/proc/test_bmethod.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/proc'
diff --git a/test/-ext-/rational/test_rat.rb b/test/-ext-/rational/test_rat.rb
index ef7e7fe535a..626ffb96611 100644
--- a/test/-ext-/rational/test_rat.rb
+++ b/test/-ext-/rational/test_rat.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/rational"
diff --git a/test/-ext-/st/test_foreach.rb b/test/-ext-/st/test_foreach.rb
index 259b0a93b12..4b3eb870e48 100644
--- a/test/-ext-/st/test_foreach.rb
+++ b/test/-ext-/st/test_foreach.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/st/foreach'
diff --git a/test/-ext-/st/test_numhash.rb b/test/-ext-/st/test_numhash.rb
index 24dc87c1d9d..97c3a755bbc 100644
--- a/test/-ext-/st/test_numhash.rb
+++ b/test/-ext-/st/test_numhash.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/st/numhash"
diff --git a/test/-ext-/st/test_update.rb b/test/-ext-/st/test_update.rb
index 1b41d2bc03f..db86eeb8d7e 100644
--- a/test/-ext-/st/test_update.rb
+++ b/test/-ext-/st/test_update.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/st/update"
diff --git a/test/-ext-/string/test_coderange.rb b/test/-ext-/string/test_coderange.rb
index 31f5c871f56..18b256fcea3 100644
--- a/test/-ext-/string/test_coderange.rb
+++ b/test/-ext-/string/test_coderange.rb
@@ -1,4 +1,5 @@
# coding: ascii-8bit
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
require "rbconfig/sizeof"
diff --git a/test/-ext-/string/test_cstr.rb b/test/-ext-/string/test_cstr.rb
index 4be2cc98fa2..f4ed520b2d5 100644
--- a/test/-ext-/string/test_cstr.rb
+++ b/test/-ext-/string/test_cstr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_ellipsize.rb b/test/-ext-/string/test_ellipsize.rb
index 23ccdb515b2..d7947041d56 100644
--- a/test/-ext-/string/test_ellipsize.rb
+++ b/test/-ext-/string/test_ellipsize.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_enc_associate.rb b/test/-ext-/string/test_enc_associate.rb
index 2c84f49db18..4fad8e1cc87 100644
--- a/test/-ext-/string/test_enc_associate.rb
+++ b/test/-ext-/string/test_enc_associate.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_enc_str_buf_cat.rb b/test/-ext-/string/test_enc_str_buf_cat.rb
index c925affb419..72f903903c7 100644
--- a/test/-ext-/string/test_enc_str_buf_cat.rb
+++ b/test/-ext-/string/test_enc_str_buf_cat.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_fstring.rb b/test/-ext-/string/test_fstring.rb
index 3ad9a4c312e..39ed0208923 100644
--- a/test/-ext-/string/test_fstring.rb
+++ b/test/-ext-/string/test_fstring.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/string'
diff --git a/test/-ext-/string/test_modify_expand.rb b/test/-ext-/string/test_modify_expand.rb
index cc19a47b917..5eb7a02b91a 100644
--- a/test/-ext-/string/test_modify_expand.rb
+++ b/test/-ext-/string/test_modify_expand.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_nofree.rb b/test/-ext-/string/test_nofree.rb
index cb034a4b8f6..86681e46523 100644
--- a/test/-ext-/string/test_nofree.rb
+++ b/test/-ext-/string/test_nofree.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class Test_StringNoFree < Test::Unit::TestCase
diff --git a/test/-ext-/string/test_normalize.rb b/test/-ext-/string/test_normalize.rb
index b270a450058..8c11bfe3d42 100644
--- a/test/-ext-/string/test_normalize.rb
+++ b/test/-ext-/string/test_normalize.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
require "tempfile"
diff --git a/test/-ext-/string/test_qsort.rb b/test/-ext-/string/test_qsort.rb
index 1a6dae0124b..94aff8c3c45 100644
--- a/test/-ext-/string/test_qsort.rb
+++ b/test/-ext-/string/test_qsort.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_set_len.rb b/test/-ext-/string/test_set_len.rb
index 198129d72ff..1c5252a5f65 100644
--- a/test/-ext-/string/test_set_len.rb
+++ b/test/-ext-/string/test_set_len.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/struct/test_member.rb b/test/-ext-/struct/test_member.rb
index 18e98085a07..5ee0adcf676 100644
--- a/test/-ext-/struct/test_member.rb
+++ b/test/-ext-/struct/test_member.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/struct"
diff --git a/test/-ext-/symbol/test_inadvertent_creation.rb b/test/-ext-/symbol/test_inadvertent_creation.rb
index 14afc90d740..073952fae33 100644
--- a/test/-ext-/symbol/test_inadvertent_creation.rb
+++ b/test/-ext-/symbol/test_inadvertent_creation.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/symbol"
diff --git a/test/-ext-/symbol/test_type.rb b/test/-ext-/symbol/test_type.rb
index ddd79561ab7..32a700d2732 100644
--- a/test/-ext-/symbol/test_type.rb
+++ b/test/-ext-/symbol/test_type.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/symbol"
diff --git a/test/-ext-/test_bug-3571.rb b/test/-ext-/test_bug-3571.rb
index d7c26d1ff0f..dc9c92bd233 100644
--- a/test/-ext-/test_bug-3571.rb
+++ b/test/-ext-/test_bug-3571.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class Test_BUG_3571 < Test::Unit::TestCase
diff --git a/test/-ext-/test_bug-5832.rb b/test/-ext-/test_bug-5832.rb
index 11f8a52a95c..6812e64e5e5 100644
--- a/test/-ext-/test_bug-5832.rb
+++ b/test/-ext-/test_bug-5832.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require '-test-/bug-5832/bug'
class Test_BUG_5832 < Test::Unit::TestCase
diff --git a/test/-ext-/test_notimplement.rb b/test/-ext-/test_notimplement.rb
index 7394126fb16..0eba7bdaf8c 100644
--- a/test/-ext-/test_notimplement.rb
+++ b/test/-ext-/test_notimplement.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require '-test-/notimplement'
class TestNotImplement < Test::Unit::TestCase
diff --git a/test/-ext-/test_printf.rb b/test/-ext-/test_printf.rb
index 1f06ad6300c..4e4f5b46951 100644
--- a/test/-ext-/test_printf.rb
+++ b/test/-ext-/test_printf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/printf"
require_relative '../ruby/allpairs'
diff --git a/test/-ext-/test_recursion.rb b/test/-ext-/test_recursion.rb
index 06faf6dc7a5..db7a8539886 100644
--- a/test/-ext-/test_recursion.rb
+++ b/test/-ext-/test_recursion.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
class TestRecursion < Test::Unit::TestCase
diff --git a/test/-ext-/time/test_new.rb b/test/-ext-/time/test_new.rb
index 5ccf6f0a5d9..699201fda59 100644
--- a/test/-ext-/time/test_new.rb
+++ b/test/-ext-/time/test_new.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/time"
diff --git a/test/-ext-/tracepoint/test_tracepoint.rb b/test/-ext-/tracepoint/test_tracepoint.rb
index b5a6e769d6a..33d0c3e8e15 100644
--- a/test/-ext-/tracepoint/test_tracepoint.rb
+++ b/test/-ext-/tracepoint/test_tracepoint.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/tracepoint'
diff --git a/test/-ext-/typeddata/test_typeddata.rb b/test/-ext-/typeddata/test_typeddata.rb
index 31fe32b20a4..058b7b70c5e 100644
--- a/test/-ext-/typeddata/test_typeddata.rb
+++ b/test/-ext-/typeddata/test_typeddata.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/typeddata/typeddata"
diff --git a/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb b/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb
index e88dbefac69..d9fc52ebb22 100644
--- a/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb
+++ b/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestWaitForSingleFD < Test::Unit::TestCase
diff --git a/test/-ext-/win32/test_console_attr.rb b/test/-ext-/win32/test_console_attr.rb
index 3afb2d93789..e596e13469c 100644
--- a/test/-ext-/win32/test_console_attr.rb
+++ b/test/-ext-/win32/test_console_a