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 838e5af..0c17229 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 2c07fb5..2eac293 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 bf33124..a08941a 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 1e2b8d2..3aeed0c 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 51f465e..167b76c 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 f92e535..ffd88b8 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 b81f915..1a741dc 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 db47bb8..4b9e577 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 8d747f0..d44a5f8 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 7534314..2dfb72b 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 3d7db8f..c232707 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 9d1e2c2..41ab06e 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 05614e3..5d754d8 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 7a6a2a7..4ce3c53 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 93cc811..2bb4716 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 72e034e..520b7df 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 456d0fb..8011660 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 553f30c..15ca5ca 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 327b553..1cb1be4 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 7228939..e2637aa 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 b3568ab..d000507 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 71ebec1..0fae6d5 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 cab9ebc..3ee1533 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 efd8271..8d2724e 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 4ea3035..e83eb72 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 637ea7c..adacf6d 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 1eb5b51..a9990b5 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 7b328bf..b876ca4 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 1468d66..748ebd7 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 55783a5..aa7a3c0 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 c24c8d8..cd15eea 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 cf635f0..e81493e 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 b0df4d3..64d2a81 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 51961db..b9b39c9 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 8c02606..606e0c5 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 1e02eda..552c396 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 76e299f..7a09c39 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 acda9d0..e3b84da 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 60379f0..9cf4337 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 0726a43..aa14430 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 ccf4fc4..f29548b 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 2d47f33..e7499a8 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 9cf9600..4cf6128 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 0ae9097..94bfe62 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 d837875..62363b1 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 821538c..840226d 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 01bd24a..e409dbd 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 52f6fda..982a319 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 4477d18..236f00f 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 c145cf5..200f77e 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 99e76b7..571dd25 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 4237037..5bd72c1 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 a932627..6f15e64 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 64dd63d..6073809 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 b9ebfb1..a4264ab 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 af9c363..1184db1 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 4ea3f58..f7b1aac 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 f09b129..f6f7671 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 c0c6c30..6623f82 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 5bef32e..c534bf0 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 4f09d78..9193631 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 9f40188..df540c8 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 339ed60..2dee684 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 d5981df..9d8de82 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 e0ba25f..7d64851 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 7189307..b1138cd 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 a80d81c..af53d3c 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 f6c2bd9..6817477 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 958cef1..32f997f 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 bb998db..094cb33 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 e05c3bb..ac3e369 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 9f3af49..eb173fd 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 449f043..3234cff 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 77b08fe..2246673 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 315e543..d07388b 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 2b87f05..fe61b6d 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 6c3b794..919db9e 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 30f3276..9c1998f 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 d8bc1b5..2904dc0 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 e0491ec..73741f8 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 6698cb5..6273551 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 70f5165..eb08edf 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 faf47b8..9e24eae 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 6c5d81c..0d34526 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 9b7d287..19602da 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 8afa32a..a911d5d 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 b16c9f1..a2f770e 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 e8b0f48..1e86f3e 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 c1f8360..d4c80a3 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 f51d6b1..3498128 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 284bfcf..a5b8ddc 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 4351cae..58cb6dd 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 db7192c..00209fe 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 28833a2..b533709 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 64e536a..d634274 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 10f2eb0..fa7446f 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 d89a4d2..4b9b40d 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 2e8b597..49f7ebe 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 6a86260..fb0883f 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 d680559..d6649c8 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 0422d7c..bf31701 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 402cadc..ffc6ff0 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 024dc69..51550cf 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 8525677..b869d8f 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 84244b3..5aea046 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 c79b0cf..c64c0c2 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 2aeecce..39f8370 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 e53951c..ab55e1f 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 02c20c9..2769b25 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 f811ab6..0cdb42e 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 9b7eabb..136162d 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 a99e5dc..bdd3b06 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 39d2694..1e06fb9 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 c23d8e5..098bfdf 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 ae022d7..16ac8e0 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 960e1d1..f77a5c0 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 71566f0..5881d6c 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 4620fa5..dc195cc 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 f1a626c..564849e 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 33ced18..ebff742 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 97985cb..4fd5c5f 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 5eb86dd..bc8c8ee 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 580f07d..90f184c 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 5b08d52..0e40d23 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 b3515a4..5327f9a 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 8359258..ebb8cb3 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 04a89fb..a2aaa90 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 efa2c69..30b51a1 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 7d3989d..d37d1db 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 0240404..18394a2 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 5318b4c..90c68f9 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 788e5a4..3ca423b 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 db6f3a0..e2cf22d 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 ceabc52..0dd2497 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 6a6b582..60e14db 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 d4cef59..515d02b 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 b9c4141..830777e 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 7eb2d93..a1f75bf 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 4cccbc6..20848aa 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 e98732e..735a271 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 ee5c66a..fcfe761 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 75ed9c7..efce43b 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 a04068a..8d94212 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 033fc2b..f3d4bd8 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 0661aba..d32ae51 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 f7bfbe2..d7a27f1 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 0e754ff..3406522 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 1772f18..9a1a9c8 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 b5c1b3b..4d9e5b0 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 ce4ac76..3296d17 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 3423f10..8776c4e 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 5da0ac8..2b1ab91 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 552f0c4..3be022f 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 be93d80..0692c35 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 7661c95..197ff00 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 6616a75..776fe00 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 8445ad2..5898bfb 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 535e310..5229287 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 a2e8903..891be71 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 1b8a8c7..56a96bd 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 fb3ab5c..58072fe 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 89b7fc2..bcaea7d 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 c5e59fe..115ec04 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 7180729..fefa12f 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 cc828a4..2f8b762 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 01fb293..d7cef36 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 e11e8ef..8012d2c 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 b778f2b..b96d4fb 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 1c0fc03..4d834b9 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 4abf425..1c8882a 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 4d439ce..56cd1fe 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 10c3185..d55f64c 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 2b1216e..3bf66c2 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 d27e0ab..3f03c65 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 4ad0a9a..75c1df9 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 8358410..293258c 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 6fbe4a3..bdf08b7 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 d4b15bf..9074547 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 f16b4ed..a40c098 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 2e0f98c..eae7c59 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 c51f64b..7b1fa8c 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 e2da20c..ba20fcd 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 0ddde67..a0b1d05 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 68ba810..408c089 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 a0ea851..50eab14 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 547744f..14f04c1 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 7589e26..eb53e96 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 961c431..d046c8c 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 5779d35..17b0bb1 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 4da7f00..9c207ed 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 fd336f5..cd13944 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 a3567c1..92c8d94 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 6fd88cf..feffb26 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 09069ae..e6693b9 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 ce1083e..ac7094f 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 654431e..bbca065 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 65cfc1b..73bb7bd 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 f973313..1a13fd1 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 28c5d28..39af329 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 ac754f4..111ba90 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 ee724fb..011ec67 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 98b5035..240f68b 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 f4bb58e..7c5d34e 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 a3d4bd1..f565ffa 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 8b35e0f..388cb12 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 39064c1..e571ae8 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 84d37a9..d0c85db 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 970cb91..41529a3 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 9fa9bbb..66e234f 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 e545d4a..d45f0c6 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 91b90ab..e772e66 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 f091e1a..d923e24 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 c4eaddb..f6aeb84 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 7ef0465..952be25 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 358e1f3..7affa027 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 94fdd27..354e904 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 ef366a5..f32db48 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 eed27b2..561c272 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 430809a..e04edad 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 fde6f06..3f91f05 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 a839390..0577677 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 4989516..1d5469b 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 827767b..71a35de 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 b46b7da..b003522 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 2b62243..d760849 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 64d81d2..38be646 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 e2135d9..dc1d2ad 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 ef9e544..e9917cf 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 73358ed..fe9b49b 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 bf97d5f..d23451e 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 000b03d..746af77 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 0b3c533..1eb1f5b 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 d7d24f4..806bc49 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 25955ee..32847da 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 62317ba..927d5d8 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 f90b27d..119fd41 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 a9286b2..45707e2 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 17d1b9e..cfdf0b9 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 e459704..f725d5a 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 1c7e79a..da2d70d 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 3a35ec6..d9a72cc 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 574c821..b84759d 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 e5ba561..a80274b 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 6cc690d..81e67f3 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 2010be1..ee73b28 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 f8b734a..576939c 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 b33f78f..d58119a 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 aeb339e..90ba7cc 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 cab6e9f..c7a3936 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 0c6cc7a..96dfea5 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 2a07fca..3bd0a96 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 0c4d55a..7b16cd1 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 6a08b86..80eeb0f 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 8104168..f0601ae 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 68a4ff7..8c49217 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 a72c0a7..1386f69 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 9ea65ed..b271e67 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 68edb77..fc0993c 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 4e2d7a8..6571d11 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 57767fb..32b70bb 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 9bec215..f3ad29a 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 f899511..fbc0d33 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 9f276eb..5afdc80 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 593b652..99b7460 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 87f7232..af65cf4 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 3a0528c..30c8945 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 11609bd..a9d2ad7 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 d3242ee..b132bab 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 8ebfdfd..e522ed5 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 370efd5..fb52438 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 bab7f22..f0c76f9 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 4723d9e..78cd63f 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 465e6ab..a37e9f3 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 4d4dd27..392b47b 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 0f99808..f1cb99b 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 ef49a32..edd1127 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 d9cd378..36c3503 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 fe33420..9ec8a2f 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 14cae9e..e29bd63 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 fd73646..1c7d72b 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 77b2de1..d852a6a 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 a2d88d4..fb63937 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 5c0caec..13f9ade 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 d352423..a232e35 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 5a2120c..d353110 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 e5dc857..1367dfe 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 8491a99..3b46824 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 3e79eba..b92e35a 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 5842414..8d1a551 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 efe2f5d..1d96fab 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 a79c1e8..e3011fe 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 8db9066..0b8b11e 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 b061914..6b86ec0 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 e6de5c1..827970c 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 824b2b2..33d285f 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 c398343..622a4c3 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 1b9f7c3..3aee77e 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 15b1349..1f77a01 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 fd3198c..e0cd762 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 0f2fc11..bc4ca84 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 46c4911..3559a45 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 717b074..988209c 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 f8f5469..f806cbc 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 0129218..fdef7ad 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 06084b4..1957ba8 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 8b7420d..cc1051a 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 27adef3..3bd82d3 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 b812304..840b702 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 13ae9aa..76a2d16 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 00f001c..f97691c 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 1b6e4e9..a9842e6 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 a5a2a2e..ef0595e 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 dbea3b5..1bb0f6e 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 65c6114..0055fc9 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 c0bd529..8f9620f 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 b7fbe6b..b7ea219 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 577bf0c..1a3c384 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 b420e6b..ce7dbf1 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 96ee950..be9cfaa 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 1ae878b..cda8668 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 46df94a..cb2dd2a 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 1cdf81c..6e3b13d 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 f0861b3..fdcc2aa4 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 dae254b..da43cdf 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 53beb43..db962c6 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 0c6abec..28af3d0 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 53d18c2..95e846e 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 d975429..facc522 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 a920e7f..073c6bd 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 8893b9c..9d2b086 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 6997564..a0bb3d5 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 4b944f1..de75693 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 9d4b3e0..b9e33a9 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 79dd710..47b62f0 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 c57ab00..3aecdc3 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 ca6f694..c0fadba 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 c407836..4c176f3 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 7e3a953..6e243df 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 6aa00d3..1f85cd3 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 6b4b25a..5a56e91 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 24fb668..3816876 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 254a742..63bff16 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 7159dbb..f7cfc08 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 322bf65..b002ff1 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 5a36b12..991272a 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 6899b48..a8e0819 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 0d28711..4782eb9 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 86597f9..72aa972 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 a1e2c1a..06cc997 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 4796ce2..f41bda4 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 6617396..d3ef9ef 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 56d7845..0ff5e07 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 3bc02a9..4e291c6 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 0ef0755..6930c1c 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 9285e57..52d4450 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 5a05ad0..08eaf01 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 c758ce8..8d76a8c 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 96eeb86..c01dc18 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 c05ee66..ec99bd7 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 6a00a19..d09ddb6 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 f93917c..30f26db 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 61e77fe..0737678 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 f9b67ea..196db5b 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 55ca080..c1d45c1 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 da990fa..c0ab87d 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 9741554..954e2bf 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 c034bb6..8e00dc9 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 e19360d..54ab028 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 3c71fd5..15f05f6 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 9defb9e..b22cd07 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 2a9875c..0c741a2 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 5af6bbf..4640b66 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 bfe85ff..2098026 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 abcc09c..d79b3a5 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 24531bc..7bf431c 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 f66e393..b732cad 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 f5c4c8c..2b50b08 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 d5ebf59..2791176 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 7a3fd6b..2bf8ac6 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 4ecf737..98e78fe 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 23279f4..21ccf0d 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 458ba3d..d20a6c7 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 c1979c1..da68b19 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 a503b7f..0466583 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 69590c3..7b4979d 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 f4aa773..7a1b0aa5 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 db23d9f..8d9e209 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 76a9389..32e154c 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 60323db..1dc7f74 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 64beae5..6b87475 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 f8bde0f..47f76ec 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 85316f6..4c2a7b9 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 f89593d..16a6e4b 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 bcf60a0..1f1f33b 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 1f18d47..3dcce02 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 f9ab13a..71529ee 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 e257fdd..a1ea81c 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 1d917a8..59d167e 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 b2d6f4e..3e494e5 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 fff02e9..6f1aab4 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 09384cc..0c525ad 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 e68654c..0ec29f8 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 487d245..cdc52cc 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 08fc04c..487b269 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 e3f1d1a..a5d306d 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 7591346..e9402ed 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 8c7ee78..db1eed8 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 b1d041d..3dfbc3d 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 271b32b..d22e357 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 c9a1858..ba3ab09 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 2e3da0a..3ab91fa 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 1280683..b760a05 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 73813c9..4927e5d 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 b79a377..e9a706e 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 f43f645..18aaadf 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 422b03c..d68645d 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 de16926..a33f67d 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 dcd33ce..92dcab8 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 03dd8d0..2dd540c 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 17d602f..611c74a 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 4960e669..e7ba38d 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 7e2d7e2..c3c756c 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 5b08f12..66d927b 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 0b6c704..101923e 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 4e8d340..f8cec59 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 6c6ea8f..ded554a 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 5f1b368..2b5aae6 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 dcfb2ad..507f346 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 7c56c2b..e7cd989 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 56fecb5..632a8a2 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 2a2b89a..06da6af 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 a68ff09..d840b71 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 20a283f..76192e4 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 4ede597..fb581a1 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 0013171..0226878 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 24ac0f9..019536d 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 47b4518..34dc778 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 9780200..c3a1d5a 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 cc9f636..074ee9d 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 73a0daa..8140c57 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 848392b..10c655a 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 18f5363..100b694 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 cc572b4..5a0eb36 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 b22caf4..a92b327 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 f031718..7bc9d98 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 a6bfaab..32f2ac5 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 b26dc45..e2253ab 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 1350e8a..00a0533 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 9b597f1..5833320 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 c31e5be..4de766f 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 614bd05..a006220 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 a99b5f3..ecf8e74 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 8c5fb7d..d44ebec 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 a976eca..05c6bbd 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 b9bcb17..0e13497 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 fbee240..a6d0161 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 76ef89a..a032deb 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 7655be2..d83a928 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 e5995f0..7a58a44 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 35c2270..7096ebe 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 bd05c75..3327010 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 8057921..a320ff1 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 2ba7702..98fef5a 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 250a839..790e424 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 2d93623..057d54e 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 e01f11c..add82f2 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 0808f46..d56b697 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 f785c26..2ae5792 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 4967c4a..dbeecad 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 50c27aa..ddba38d 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 482a75b..98ec7ce 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 92179ab..0f49793 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 0e0bdfb..3ffc608 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 6789f6e..bb633eb 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 4c033cf..4708746 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 bb3e204..b54eeba 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 68aacc6..bf0fc28 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 78d3790..69eb26d 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 9bfe13f..76d8ad4 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 a15b556..08ebd92 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 6fa7676..83dc849 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 6992af1..8a13e99 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 16e20c5..8e37baa 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 a0755d5..a31cb14 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 6ba6847..a98c359 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 db2d687..bf38979 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 80a0ce5..c76fa81 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 13bc50c..2239ca9 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 2701338..677c424 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 9fae07d..c1f4b28 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 d0cad0e..a100727 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 1fe3733..2a8ffd6e 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 2568627..bb4e7df 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 0030f07..76aedbc 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 be1f7ff..2ee9b5b 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 09542d5..ad6caf0 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 77f3e4e..13d9585 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 d9750a4..db7e6b1 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 63a6299..79d28b6 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 1d6b019..fd45f00 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 fec880f..3d1798f 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 1f336a4..9c1ce62 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 e79f41d..8daf7b3 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 18080ce..8f0e8a2 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 2a48621..971a970 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 28b5c99..4c7d112 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 a90e9b2..e5c00b3 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 dc47613..d43e9a2 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 7d242e7..3c8c905 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 56d748e..4345875 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 42bbfe8..d03f8ef 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 b440563..495f939 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 a8af375..b9e7b2b 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 3923b06..8712800 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 cdcbabf..cdfbe4a 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 fd8522a..b7f327c 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 4df27ef..17e5b38 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 80f636e..94f385f 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 d2bc3ef..c497a19 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 c347da4..5f7b0a7 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 d8df231..16f8d21 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 4cb3d0d..ed9f4ac 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 96d479b..bbb6776 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 f6d4ab8..8655118 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 ed5dcd1..e23420f 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 d94bd89..018989e 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 5fb0635..4bb25e1 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 0ecabef..832ae8b 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 69b739f..f43fc2c 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 005c18d..7a17715 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 075d9c4..79a2e8f 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 6aa2d1c..88cdec8 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 e897e8c..5fd54b7 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 9194f94..73875d7 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 96bd3fa..b27f231 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 ac7c022..1ee04ec 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 d3b00ab..ee558eb 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 32ecb6f..597f489 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 3210041..051bb7c 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 1b8a82d..9bcec69 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 cc9db4a..068246c 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 2f5aa66..c1f454e 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 7ffda64..8664da2 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 a5f0632..28f906e 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 cdfb957..8a25194 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 41cde4a..7542d8f 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 73395a4..e2e99bf 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 b69a836..8eb3a44 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 654d9de..f7b4412 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 48bdc6d..da5dac9 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 8cad6a1..aa24afa 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 4aac352..21f8c65 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 aab07a7..3cb9e9a 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 7923f3a..f49adb6 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 13c9cd8..93822c4 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 444a29f..431ac24 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 ef1234f..42b7b1e 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 be8accf..3b912b6 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 64856ea..cd0fdba 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 186938a..cd2ab10 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 b211ca5..0c33305 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 24a68bf..e2508cd 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 b0b580b..57ef0ba 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 8e526b5..f6a368c 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 0af552e..4fae24e 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 f75c459..8529e54 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 9c1a3c3..9a8e93b 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 3e78247..103a00f 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 f2a3df8..04bf3e0 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 4304be8..3b57501 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 e68adee..fb37658 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 070be5a..e61964d 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 ec506e0..3804714 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 e257ef0..860652c 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 53cbb28..d33d8ca 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 a578b16..2bc7f02 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 97d9794..8582458 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 b9aa132..9eebcd9 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 e3a3e72..c131d1e 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 87aed22..fac7eaf 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 cf5f28f..3b297a5 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 13f3595..e2ad3cb 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 5dfd69a..7eb8f4b 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 5bac633..8c23799 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 bec993c..d4f1fa3 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 82aa10a..1b2c871 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 e0e2a72..5152966 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 8d8db01..263dcb8 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 79ef23b..d0032c6 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 f579659..c00bb56 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 fdf4097..57e3a92 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 60ec6cc..97892e5 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 032e35c..da3b579 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 16927dc..344f975 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 ef7e7fe..626ffb9 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 259b0a9..4b3eb87 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 24dc87c..97c3a75 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 1b41d2b..db86eeb 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 31f5c87..18b256f 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 4be2cc9..f4ed520 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 23ccdb5..d794704 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 2c84f49..4fad8e1 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 c925aff..72f9039 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 3ad9a4c..39ed020 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 cc19a47..5eb7a02 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 cb034a4..86681e4 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 b270a45..8c11bfe 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 1a6dae0..94aff8c 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 198129d..1c5252a 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 18e9808..5ee0adc 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 14afc90..073952f 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 ddd7956..32a700d 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 d7c26d1..dc9c92b 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 11f8a52..6812e64 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 7394126..0eba7bd 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 1f06ad6..4e4f5b4 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 06faf6d..db7a853 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 5ccf6f0..699201f 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 b5a6e76..33d0c3e 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 31fe32b..058b7b7 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 e88dbef..d9fc52e 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 3afb2d9..e596e13 100644
--- a/test/-ext-/win32/test_console_attr.rb
+++ b/test/-ext-/win32/test_console_attr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
if /mswin|mingw/ =~ RUBY_PLATFORM and STDOUT.tty?
require '-test-/win32/console'
require 'io/console'
diff --git a/test/-ext-/win32/test_dln.rb b/test/-ext-/win32/test_dln.rb
index fe289d1..fd5e453 100644
--- a/test/-ext-/win32/test_dln.rb
+++ b/test/-ext-/win32/test_dln.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
require 'rbconfig'
diff --git a/test/-ext-/win32/test_fd_setsize.rb b/test/-ext-/win32/test_fd_setsize.rb
index 6fe889c..4c64376 100644
--- a/test/-ext-/win32/test_fd_setsize.rb
+++ b/test/-ext-/win32/test_fd_setsize.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module Bug
diff --git a/test/base64/test_base64.rb b/test/base64/test_base64.rb
index c2cd60a..8e11bef 100644
--- a/test/base64/test_base64.rb
+++ b/test/base64/test_base64.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require "test/unit"
require "base64"
diff --git a/test/benchmark/test_benchmark.rb b/test/benchmark/test_benchmark.rb
index 1b9964e..2db1483 100644
--- a/test/benchmark/test_benchmark.rb
+++ b/test/benchmark/test_benchmark.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'benchmark'
diff --git a/test/bigdecimal/test_bigdecimal.rb b/test/bigdecimal/test_bigdecimal.rb
index edbaa16..f10c50b 100644
--- a/test/bigdecimal/test_bigdecimal.rb
+++ b/test/bigdecimal/test_bigdecimal.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "testbase"
require 'bigdecimal/math'
diff --git a/test/bigdecimal/test_bigdecimal_util.rb b/test/bigdecimal/test_bigdecimal_util.rb
index e4d6400..c3a45b2 100644
--- a/test/bigdecimal/test_bigdecimal_util.rb
+++ b/test/bigdecimal/test_bigdecimal_util.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "testbase"
require 'bigdecimal/util'
diff --git a/test/bigdecimal/test_bigmath.rb b/test/bigdecimal/test_bigmath.rb
index 740c755..6f271d0 100644
--- a/test/bigdecimal/test_bigmath.rb
+++ b/test/bigdecimal/test_bigmath.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "testbase"
require "bigdecimal/math"
diff --git a/test/bigdecimal/testbase.rb b/test/bigdecimal/testbase.rb
index c014e61..22b05f0 100644
--- a/test/bigdecimal/testbase.rb
+++ b/test/bigdecimal/testbase.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "bigdecimal"
diff --git a/test/cgi/test_cgi_cookie.rb b/test/cgi/test_cgi_cookie.rb
index eee6215..ae7b14a 100644
--- a/test/cgi/test_cgi_cookie.rb
+++ b/test/cgi/test_cgi_cookie.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'stringio'
diff --git a/test/cgi/test_cgi_core.rb b/test/cgi/test_cgi_core.rb
index 68e008d..97308a0 100644
--- a/test/cgi/test_cgi_core.rb
+++ b/test/cgi/test_cgi_core.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'stringio'
diff --git a/test/cgi/test_cgi_header.rb b/test/cgi/test_cgi_header.rb
index 91086c4..b1a0b41 100644
--- a/test/cgi/test_cgi_header.rb
+++ b/test/cgi/test_cgi_header.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'time'
diff --git a/test/cgi/test_cgi_modruby.rb b/test/cgi/test_cgi_modruby.rb
index ed1d519..9813a95 100644
--- a/test/cgi/test_cgi_modruby.rb
+++ b/test/cgi/test_cgi_modruby.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require_relative 'update_env'
diff --git a/test/cgi/test_cgi_multipart.rb b/test/cgi/test_cgi_multipart.rb
index b3df694..f63c2e3 100644
--- a/test/cgi/test_cgi_multipart.rb
+++ b/test/cgi/test_cgi_multipart.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'tempfile'
diff --git a/test/cgi/test_cgi_session.rb b/test/cgi/test_cgi_session.rb
index c2d7bdc..59e8d4c 100644
--- a/test/cgi/test_cgi_session.rb
+++ b/test/cgi/test_cgi_session.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'cgi/session'
diff --git a/test/cgi/test_cgi_tag_helper.rb b/test/cgi/test_cgi_tag_helper.rb
index cc119cb..a48bafd 100644
--- a/test/cgi/test_cgi_tag_helper.rb
+++ b/test/cgi/test_cgi_tag_helper.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'stringio'
diff --git a/test/cgi/test_cgi_util.rb b/test/cgi/test_cgi_util.rb
index 2c5182b..5662a30 100644
--- a/test/cgi/test_cgi_util.rb
+++ b/test/cgi/test_cgi_util.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'stringio'
diff --git a/test/cgi/update_env.rb b/test/cgi/update_env.rb
index 0cd926d..cbc8dc1 100644
--- a/test/cgi/update_env.rb
+++ b/test/cgi/update_env.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module UpdateEnv
def update_env(environ)
environ.each do |key, val|
diff --git a/test/coverage/test_coverage.rb b/test/coverage/test_coverage.rb
index b7a7ea7..4870b10 100644
--- a/test/coverage/test_coverage.rb
+++ b/test/coverage/test_coverage.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "coverage"
require "tmpdir"
diff --git a/test/csv/base.rb b/test/csv/base.rb
index 621569e..a282c7a 100644
--- a/test/csv/base.rb
+++ b/test/csv/base.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "csv"
diff --git a/test/csv/test_csv_parsing.rb b/test/csv/test_csv_parsing.rb
index 319f3f3..ff3d65f 100755
--- a/test/csv/test_csv_parsing.rb
+++ b/test/csv/test_csv_parsing.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_csv_parsing.rb
#
diff --git a/test/csv/test_csv_writing.rb b/test/csv/test_csv_writing.rb
index 704c1d7..de82dae 100755
--- a/test/csv/test_csv_writing.rb
+++ b/test/csv/test_csv_writing.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_csv_writing.rb
#
diff --git a/test/csv/test_data_converters.rb b/test/csv/test_data_converters.rb
index 89b6dd1..70f9963 100755
--- a/test/csv/test_data_converters.rb
+++ b/test/csv/test_data_converters.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_data_converters.rb
#
diff --git a/test/csv/test_encodings.rb b/test/csv/test_encodings.rb
index dc45692..7460a3f 100755
--- a/test/csv/test_encodings.rb
+++ b/test/csv/test_encodings.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_encodings.rb
#
diff --git a/test/csv/test_features.rb b/test/csv/test_features.rb
index e314657..37fdab8 100755
--- a/test/csv/test_features.rb
+++ b/test/csv/test_features.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_features.rb
#
diff --git a/test/csv/test_headers.rb b/test/csv/test_headers.rb
index 79ccd20..d8a1c15 100755
--- a/test/csv/test_headers.rb
+++ b/test/csv/test_headers.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_headers.rb
#
diff --git a/test/csv/test_interface.rb b/test/csv/test_interface.rb
index d6bf470..a12545c 100755
--- a/test/csv/test_interface.rb
+++ b/test/csv/test_interface.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_interface.rb
#
diff --git a/test/csv/test_row.rb b/test/csv/test_row.rb
index a8aeb28..1fa15d3 100755
--- a/test/csv/test_row.rb
+++ b/test/csv/test_row.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_row.rb
#
diff --git a/test/csv/test_table.rb b/test/csv/test_table.rb
index 7d2148c..80e553e 100755
--- a/test/csv/test_table.rb
+++ b/test/csv/test_table.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_table.rb
#
diff --git a/test/csv/ts_all.rb b/test/csv/ts_all.rb
index 3893841..9eadf12 100644
--- a/test/csv/ts_all.rb
+++ b/test/csv/ts_all.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# ts_all.rb
#
diff --git a/test/date/test_date.rb b/test/date/test_date.rb
index 3d8bf86..3bb1f4a 100644
--- a/test/date/test_date.rb
+++ b/test/date/test_date.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_arith.rb b/test/date/test_date_arith.rb
index 7b79c18..f5ac5bf 100644
--- a/test/date/test_date_arith.rb
+++ b/test/date/test_date_arith.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_attr.rb b/test/date/test_date_attr.rb
index bc6bec2..3d1b0a2 100644
--- a/test/date/test_date_attr.rb
+++ b/test/date/test_date_attr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_base.rb b/test/date/test_date_base.rb
index 1f3d8c0..06fec19 100644
--- a/test/date/test_date_base.rb
+++ b/test/date/test_date_base.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_compat.rb b/test/date/test_date_compat.rb
index 8284007..1bd30b5 100644
--- a/test/date/test_date_compat.rb
+++ b/test/date/test_date_compat.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_conv.rb b/test/date/test_date_conv.rb
index daf0374..8b99970 100644
--- a/test/date/test_date_conv.rb
+++ b/test/date/test_date_conv.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_marshal.rb b/test/date/test_date_marshal.rb
index 4ea5565..27ae1e9 100644
--- a/test/date/test_date_marshal.rb
+++ b/test/date/test_date_marshal.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_new.rb b/test/date/test_date_new.rb
index 0bbbfee..80ecbc2 100644
--- a/test/date/test_date_new.rb
+++ b/test/date/test_date_new.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_parse.rb b/test/date/test_date_parse.rb
index e0cd602..d980674 100644
--- a/test/date/test_date_parse.rb
+++ b/test/date/test_date_parse.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_strftime.rb b/test/date/test_date_strftime.rb
index 0ed9215..7472a43 100644
--- a/test/date/test_date_strftime.rb
+++ b/test/date/test_date_strftime.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_strptime.rb b/test/date/test_date_strptime.rb
index ae149bb..15fdc94 100644
--- a/test/date/test_date_strptime.rb
+++ b/test/date/test_date_strptime.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_switch_hitter.rb b/test/date/test_switch_hitter.rb
index 08e2301..931d736 100644
--- a/test/date/test_switch_hitter.rb
+++ b/test/date/test_switch_hitter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/dbm/test_dbm.rb b/test/dbm/test_dbm.rb
index c783b49..cd8c3fd 100644
--- a/test/dbm/test_dbm.rb
+++ b/test/dbm/test_dbm.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
diff --git a/test/digest/digest/foo.rb b/test/digest/digest/foo.rb
index d576ef0..6d42b00 100644
--- a/test/digest/digest/foo.rb
+++ b/test/digest/digest/foo.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Digest
Foo = nil
diff --git a/test/digest/test_digest.rb b/test/digest/test_digest.rb
index ccf0a26..039c170 100644
--- a/test/digest/test_digest.rb
+++ b/test/digest/test_digest.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# $RoughId: test.rb,v 1.4 2001/07/13 15:38:27 knu Exp $
# $Id$
diff --git a/test/digest/test_digest_extend.rb b/test/digest/test_digest_extend.rb
index 46158a6..9dd026b 100644
--- a/test/digest/test_digest_extend.rb
+++ b/test/digest/test_digest_extend.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'digest'
require_relative '../lib/with_different_ofs.rb'
diff --git a/test/drb/drbtest.rb b/test/drb/drbtest.rb
index 11b542a..4488e1b 100644
--- a/test/drb/drbtest.rb
+++ b/test/drb/drbtest.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'drb/drb'
require 'drb/extservm'
diff --git a/test/drb/ignore_test_drb.rb b/test/drb/ignore_test_drb.rb
index 8b94650..996a554 100644
--- a/test/drb/ignore_test_drb.rb
+++ b/test/drb/ignore_test_drb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drbtest'
module DRbTests
diff --git a/test/drb/test_acl.rb b/test/drb/test_acl.rb
index a1ee1d4..c886ae2 100644
--- a/test/drb/test_acl.rb
+++ b/test/drb/test_acl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# acltest.rb - ACL unit test
# Copyright (c) 2000 Masatoshi SEKI
#
diff --git a/test/drb/test_drb.rb b/test/drb/test_drb.rb
index 016e62f..dd2855e 100644
--- a/test/drb/test_drb.rb
+++ b/test/drb/test_drb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'drbtest'
module DRbTests
diff --git a/test/drb/test_drbssl.rb b/test/drb/test_drbssl.rb
index bcf5f90..1f14953 100644
--- a/test/drb/test_drbssl.rb
+++ b/test/drb/test_drbssl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'drbtest'
begin
diff --git a/test/drb/test_drbunix.rb b/test/drb/test_drbunix.rb
index c422b7a..7ece245 100644
--- a/test/drb/test_drbunix.rb
+++ b/test/drb/test_drbunix.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'drbtest'
begin
diff --git a/test/drb/ut_array.rb b/test/drb/ut_array.rb
index 01599f1..d13dda3 100644
--- a/test/drb/ut_array.rb
+++ b/test/drb/ut_array.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
diff --git a/test/drb/ut_array_drbssl.rb b/test/drb/ut_array_drbssl.rb
index fa9afa6..08849ca 100644
--- a/test/drb/ut_array_drbssl.rb
+++ b/test/drb/ut_array_drbssl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
require 'drb/ssl'
diff --git a/test/drb/ut_array_drbunix.rb b/test/drb/ut_array_drbunix.rb
index dd39790..b656cda 100644
--- a/test/drb/ut_array_drbunix.rb
+++ b/test/drb/ut_array_drbunix.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
diff --git a/test/drb/ut_drb.rb b/test/drb/ut_drb.rb
index 0dd0988..6a94a0f 100644
--- a/test/drb/ut_drb.rb
+++ b/test/drb/ut_drb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
require 'timeout'
diff --git a/test/drb/ut_drb_drbssl.rb b/test/drb/ut_drb_drbssl.rb
index b6d1c12..ddaa859 100644
--- a/test/drb/ut_drb_drbssl.rb
+++ b/test/drb/ut_drb_drbssl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "ut_drb"
require 'drb/ssl'
diff --git a/test/drb/ut_drb_drbunix.rb b/test/drb/ut_drb_drbunix.rb
index c997d24..ecf0920 100644
--- a/test/drb/ut_drb_drbunix.rb
+++ b/test/drb/ut_drb_drbunix.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "#{File.dirname(File.expand_path(__FILE__))}/ut_drb"
if __FILE__ == $0
diff --git a/test/drb/ut_eq.rb b/test/drb/ut_eq.rb
index cc86158..56285a3 100644
--- a/test/drb/ut_eq.rb
+++ b/test/drb/ut_eq.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
diff --git a/test/drb/ut_eval.rb b/test/drb/ut_eval.rb
index c456790..0a81b40 100644
--- a/test/drb/ut_eval.rb
+++ b/test/drb/ut_eval.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
diff --git a/test/drb/ut_large.rb b/test/drb/ut_large.rb
index c2fbd3e..c00279e 100644
--- a/test/drb/ut_large.rb
+++ b/test/drb/ut_large.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
require 'timeout'
diff --git a/test/drb/ut_port.rb b/test/drb/ut_port.rb
index 3009db5..d317a30 100644
--- a/test/drb/ut_port.rb
+++ b/test/drb/ut_port.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
diff --git a/test/drb/ut_safe1.rb b/test/drb/ut_safe1.rb
index 43eb367..4b16fa7 100644
--- a/test/drb/ut_safe1.rb
+++ b/test/drb/ut_safe1.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
diff --git a/test/drb/ut_timerholder.rb b/test/drb/ut_timerholder.rb
index 6c62ea7..1b992d9 100644
--- a/test/drb/ut_timerholder.rb
+++ b/test/drb/ut_timerholder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'runit/testcase'
require 'runit/cui/testrunner'
require 'timerholder'
diff --git a/test/dtrace/dummy.rb b/test/dtrace/dummy.rb
index e856142..932cb4e 100644
--- a/test/dtrace/dummy.rb
+++ b/test/dtrace/dummy.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
# this is a dummy file used by test/dtrace/test_require.rb
diff --git a/test/dtrace/helper.rb b/test/dtrace/helper.rb
index f76c41b..a479b1a 100644
--- a/test/dtrace/helper.rb
+++ b/test/dtrace/helper.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
require 'tempfile'
diff --git a/test/dtrace/test_array_create.rb b/test/dtrace/test_array_create.rb
index d849bcc..44d4657 100644
--- a/test/dtrace/test_array_create.rb
+++ b/test/dtrace/test_array_create.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_cmethod.rb b/test/dtrace/test_cmethod.rb
index 0a9107f..a0aa1b6 100644
--- a/test/dtrace/test_cmethod.rb
+++ b/test/dtrace/test_cmethod.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_function_entry.rb b/test/dtrace/test_function_entry.rb
index 74aee64..fc07ccc 100644
--- a/test/dtrace/test_function_entry.rb
+++ b/test/dtrace/test_function_entry.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_gc.rb b/test/dtrace/test_gc.rb
index 2f58a11..77de799 100644
--- a/test/dtrace/test_gc.rb
+++ b/test/dtrace/test_gc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_hash_create.rb b/test/dtrace/test_hash_create.rb
index 2cceded..83a4d00 100644
--- a/test/dtrace/test_hash_create.rb
+++ b/test/dtrace/test_hash_create.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_load.rb b/test/dtrace/test_load.rb
index cceb0c2..1c208bd 100644
--- a/test/dtrace/test_load.rb
+++ b/test/dtrace/test_load.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
require 'tempfile'
diff --git a/test/dtrace/test_method_cache.rb b/test/dtrace/test_method_cache.rb
index d8ddf45..7ecec19 100644
--- a/test/dtrace/test_method_cache.rb
+++ b/test/dtrace/test_method_cache.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_object_create_start.rb b/test/dtrace/test_object_create_start.rb
index 2be9611..81f8ed2 100644
--- a/test/dtrace/test_object_create_start.rb
+++ b/test/dtrace/test_object_create_start.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_raise.rb b/test/dtrace/test_raise.rb
index 48fdbf1..81e64e8 100644
--- a/test/dtrace/test_raise.rb
+++ b/test/dtrace/test_raise.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_require.rb b/test/dtrace/test_require.rb
index 46a1d76..9fa6c0e 100644
--- a/test/dtrace/test_require.rb
+++ b/test/dtrace/test_require.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_singleton_function.rb b/test/dtrace/test_singleton_function.rb
index 9e118f6..3698a02 100644
--- a/test/dtrace/test_singleton_function.rb
+++ b/test/dtrace/test_singleton_function.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_string.rb b/test/dtrace/test_string.rb
index 873d5ac..407280b 100644
--- a/test/dtrace/test_string.rb
+++ b/test/dtrace/test_string.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/erb/test_erb.rb b/test/erb/test_erb.rb
index 1f1253f..4e2d49a 100644
--- a/test/erb/test_erb.rb
+++ b/test/erb/test_erb.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
require 'erb'
diff --git a/test/erb/test_erb_command.rb b/test/erb/test_erb_command.rb
index abc8fdb..406b14c 100644
--- a/test/erb/test_erb_command.rb
+++ b/test/erb/test_erb_command.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
class TestErbCommand < Test::Unit::TestCase
diff --git a/test/erb/test_erb_m17n.rb b/test/erb/test_erb_m17n.rb
index f60dd10..a7840c9 100644
--- a/test/erb/test_erb_m17n.rb
+++ b/test/erb/test_erb_m17n.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
require 'test/unit'
require 'erb'
diff --git a/test/etc/test_etc.rb b/test/etc/test_etc.rb
index 5ac09a7..ec9083e 100644
--- a/test/etc/test_etc.rb
+++ b/test/etc/test_etc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "etc"
diff --git a/test/excludes/TestException.rb b/test/excludes/TestException.rb
index 78ee4ca..a992950 100644
--- a/test/excludes/TestException.rb
+++ b/