summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-02 17:52:33 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-02 17:52:33 +0000
commite859e668d2eb59f34ad18edb7458ce90076617e9 ()
tree0c2866cf07670dbcea797ee96a620e5d761af417
parentc8c66bcf92b94951fd2035761f91e6cde3145d7f (diff)
lib/*: Prefer require_relative over require.
[#15206] [Fix GH-1976] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/cgi/cookie.rb2
-rw-r--r--lib/cgi/core.rb10
-rw-r--r--lib/cgi/session/pstore.rb2
-rw-r--r--lib/cgi/util.rb2
-rw-r--r--lib/drb/drb.rb4
-rw-r--r--lib/drb/extserv.rb2
-rw-r--r--lib/drb/extservm.rb2
-rw-r--r--lib/drb/gw.rb8
-rw-r--r--lib/drb/ssl.rb2
-rw-r--r--lib/drb/timeridconv.rb2
-rw-r--r--lib/drb/unix.rb2
-rw-r--r--lib/irb/cmd/load.rb2
-rw-r--r--lib/irb/context.rb4
-rw-r--r--lib/irb/ext/use-loader.rb4
-rw-r--r--lib/irb/init.rb2
-rw-r--r--lib/irb/input-method.rb2
-rw-r--r--lib/irb/ruby-lex.rb2
-rw-r--r--lib/irb/slex.rb2
-rw-r--r--lib/irb/xmp.rb2
-rw-r--r--lib/net/ftp.rb2
-rw-r--r--lib/net/http/status.rb2
-rw-r--r--lib/net/https.rb4
-rw-r--r--lib/net/imap.rb2
-rw-r--r--lib/net/pop.rb2
-rw-r--r--lib/net/smtp.rb2
-rw-r--r--lib/racc/parser.rb2
-rw-r--r--lib/rexml/attlistdecl.rb4
-rw-r--r--lib/rexml/attribute.rb4
-rw-r--r--lib/rexml/cdata.rb2
-rw-r--r--lib/rexml/child.rb2
-rw-r--r--lib/rexml/comment.rb2
-rw-r--r--lib/rexml/doctype.rb12
-rw-r--r--lib/rexml/document.rb28
-rw-r--r--lib/rexml/dtd/attlistdecl.rb2
-rw-r--r--lib/rexml/dtd/dtd.rb12
-rw-r--r--lib/rexml/dtd/elementdecl.rb2
-rw-r--r--lib/rexml/dtd/entitydecl.rb2
-rw-r--r--lib/rexml/dtd/notationdecl.rb2
-rw-r--r--lib/rexml/element.rb14
-rw-r--r--lib/rexml/entity.rb6
-rw-r--r--lib/rexml/formatters/pretty.rb2
-rw-r--r--lib/rexml/formatters/transitive.rb2
-rw-r--r--lib/rexml/instruction.rb4
-rw-r--r--lib/rexml/light/node.rb2
-rw-r--r--lib/rexml/namespace.rb2
-rw-r--r--lib/rexml/node.rb6
-rw-r--r--lib/rexml/output.rb2
-rw-r--r--lib/rexml/parent.rb2
-rw-r--r--lib/rexml/parsers/baseparser.rb6
-rw-r--r--lib/rexml/parsers/lightparser.rb6
-rw-r--r--lib/rexml/parsers/pullparser.rb6
-rw-r--r--lib/rexml/parsers/sax2parser.rb8
-rw-r--r--lib/rexml/parsers/streamparser.rb2
-rw-r--r--lib/rexml/parsers/treeparser.rb4
-rw-r--r--lib/rexml/parsers/ultralightparser.rb4
-rw-r--r--lib/rexml/parsers/xpathparser.rb4
-rw-r--r--lib/rexml/quickpath.rb4
-rw-r--r--lib/rexml/source.rb2
-rw-r--r--lib/rexml/text.rb12
-rw-r--r--lib/rexml/undefinednamespaceexception.rb2
-rw-r--r--lib/rexml/validation/relaxng.rb4
-rw-r--r--lib/rexml/validation/validation.rb2
-rw-r--r--lib/rexml/xmldecl.rb4
-rw-r--r--lib/rexml/xpath.rb4
-rw-r--r--lib/rexml/xpath_parser.rb10
-rw-r--r--lib/rinda/ring.rb2
-rw-r--r--lib/rinda/tuplespace.rb2
-rw-r--r--lib/rss/0.9.rb2
-rw-r--r--lib/rss/1.0.rb2
-rw-r--r--lib/rss/atom.rb2
-rw-r--r--lib/rss/content.rb2
-rw-r--r--lib/rss/converter.rb2
-rw-r--r--lib/rss/dublincore.rb4
-rw-r--r--lib/rss/dublincore/atom.rb2
-rw-r--r--lib/rss/image.rb2
-rw-r--r--lib/rss/maker.rb22
-rw-r--r--lib/rss/maker/0.9.rb2
-rw-r--r--lib/rss/maker/1.0.rb2
-rw-r--r--lib/rss/maker/atom.rb4
-rw-r--r--lib/rss/maker/base.rb2
-rw-r--r--lib/rss/maker/content.rb2
-rw-r--r--lib/rss/maker/dublincore.rb2
-rw-r--r--lib/rss/maker/entry.rb4
-rw-r--r--lib/rss/maker/feed.rb2
-rw-r--r--lib/rss/maker/image.rb4
-rw-r--r--lib/rss/maker/itunes.rb2
-rw-r--r--lib/rss/maker/slash.rb2
-rw-r--r--lib/rss/maker/syndication.rb2
-rw-r--r--lib/rss/maker/taxonomy.rb4
-rw-r--r--lib/rss/maker/trackback.rb2
-rw-r--r--lib/rss/parser.rb4
-rw-r--r--lib/rss/rss.rb4
-rw-r--r--lib/rss/taxonomy.rb2
-rw-r--r--lib/rss/xml-stylesheet.rb2
-rw-r--r--lib/rss/xml.rb2
-rw-r--r--lib/shell/builtin-command.rb2
-rw-r--r--lib/shell/command-processor.rb4
-rw-r--r--lib/shell/system-command.rb2
-rw-r--r--lib/uri/common.rb4
-rw-r--r--lib/uri/file.rb2
-rw-r--r--lib/uri/ftp.rb2
-rw-r--r--lib/uri/generic.rb2
-rw-r--r--lib/uri/http.rb2
-rw-r--r--lib/uri/https.rb2
-rw-r--r--lib/uri/ldap.rb2
-rw-r--r--lib/uri/ldaps.rb2
-rw-r--r--lib/uri/mailto.rb2
-rw-r--r--lib/webrick/cgi.rb6
-rw-r--r--lib/webrick/config.rb10
-rw-r--r--lib/webrick/cookie.rb2
-rw-r--r--lib/webrick/httpauth.rb10
-rw-r--r--lib/webrick/httpauth/basicauth.rb6
-rw-r--r--lib/webrick/httpauth/digestauth.rb6
-rw-r--r--lib/webrick/httpauth/htdigest.rb4
-rw-r--r--lib/webrick/httpauth/htpasswd.rb4
-rw-r--r--lib/webrick/httpproxy.rb2
-rw-r--r--lib/webrick/httprequest.rb8
-rw-r--r--lib/webrick/httpresponse.rb8
-rw-r--r--lib/webrick/https.rb4
-rw-r--r--lib/webrick/httpserver.rb14
-rw-r--r--lib/webrick/httpservlet.rb10
-rw-r--r--lib/webrick/httpservlet/abstract.rb6
-rw-r--r--lib/webrick/httpservlet/cgihandler.rb4
-rw-r--r--lib/webrick/httpservlet/filehandler.rb6
-rw-r--r--lib/webrick/httpstatus.rb2
-rw-r--r--lib/webrick/server.rb4
126 files changed, 256 insertions, 256 deletions
@@ -1,5 +1,5 @@
# frozen_string_literal: true
-require 'cgi/util'
class CGI
# Class representing an HTTP cookie.
#
@@ -862,24 +862,24 @@ class CGI
case @options[:tag_maker]
when "html3"
- require 'cgi/html'
extend Html3
extend HtmlExtension
when "html4"
- require 'cgi/html'
extend Html4
extend HtmlExtension
when "html4Tr"
- require 'cgi/html'
extend Html4Tr
extend HtmlExtension
when "html4Fr"
- require 'cgi/html'
extend Html4Tr
extend Html4Fr
extend HtmlExtension
when "html5"
- require 'cgi/html'
extend Html5
extend HtmlExtension
end
@@ -10,7 +10,7 @@
# persistent of session data on top of the pstore library. See
# cgi/session.rb for more details on session storage managers.
-require 'cgi/session'
require 'pstore'
class CGI
@@ -55,7 +55,7 @@ module CGI::Util
end
begin
- require 'cgi/escape'
rescue LoadError
end
@@ -48,7 +48,7 @@
require 'socket'
require 'io/wait'
-require 'drb/eq'
#
# == Overview
@@ -1638,7 +1638,7 @@ module DRb
end
- require 'drb/invokemethod'
class InvokeMethod
include InvokeMethod18Mixin
end
@@ -4,7 +4,7 @@
Copyright (c) 2000,2002 Masatoshi SEKI
=end
-require 'drb/drb'
require 'monitor'
module DRb
@@ -4,7 +4,7 @@
Copyright (c) 2000 Masatoshi SEKI
=end
-require 'drb/drb'
require 'monitor'
module DRb
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'drb/drb'
require 'monitor'
module DRb
@@ -109,7 +109,7 @@ s2.thread.join
=begin
# foo.rb
-require 'drb/drb'
class Foo
include DRbUndumped
@@ -127,7 +127,7 @@ end
=begin
# gw_a.rb
-require 'drb/unix'
require 'foo'
obj = Foo.new('a')
@@ -141,7 +141,7 @@ DRb.thread.join
=begin
# gw_c.rb
-require 'drb/unix'
require 'foo'
foo = Foo.new('c', nil)
@@ -1,7 +1,7 @@
# frozen_string_literal: false
require 'socket'
require 'openssl'
-require 'drb/drb'
require 'singleton'
module DRb
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'drb/drb'
require 'monitor'
module DRb
@@ -1,6 +1,6 @@
# frozen_string_literal: false
require 'socket'
-require 'drb/drb'
require 'tmpdir'
raise(LoadError, "UNIXServer is required") unless defined?(UNIXServer)
@@ -11,7 +11,7 @@
#
require "irb/cmd/nop.rb"
-require "irb/ext/loader"
# :stopdoc:
module IRB
@@ -9,8 +9,8 @@
#
#
#
-require "irb/workspace"
-require "irb/inspector"
require "irb/input-method"
require "irb/output-method"
@@ -10,8 +10,8 @@
#
#
-require "irb/cmd/load"
-require "irb/ext/loader"
class Object
alias __original__load__IRB_use_loader__ load
@@ -197,7 +197,7 @@ module IRB # :nodoc:
print IRB.version, "\n"
exit 0
when "-h", "--help"
- require "irb/help"
IRB.print_usage
exit 0
when "--"
@@ -9,7 +9,7 @@
#
#
#
-require 'irb/src_encoding'
require 'irb/magic-file'
module IRB
@@ -11,7 +11,7 @@
#
require "e2mmap"
-require "irb/slex"
require "irb/ruby-token"
# :stopdoc:
@@ -11,7 +11,7 @@
#
require "e2mmap"
-require "irb/notifier"
# :stopdoc:
module IRB
@@ -11,7 +11,7 @@
#
require "irb"
-require "irb/frame"
# An example printer for irb.
#
@@ -17,7 +17,7 @@
require "socket"
require "monitor"
-require "net/protocol"
require "time"
begin
require "openssl"
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
-require 'net/http'
if $0 == __FILE__
require 'open-uri'
@@ -4,7 +4,7 @@
= net/https -- SSL/TLS enhancement for Net::HTTP.
This file has been merged with net/http. There is no longer any need to
- require 'net/https' to use HTTPS.
See Net::HTTP for details on how to make HTTPS connections.
@@ -19,5 +19,5 @@
=end
-require 'net/http'
require 'openssl'
@@ -18,7 +18,7 @@ require "socket"
require "monitor"
require "digest/md5"
require "strscan"
-require 'net/protocol'
begin
require "openssl"
rescue LoadError
@@ -21,7 +21,7 @@
# See Net::POP3 for documentation.
#
-require 'net/protocol'
require 'digest/md5'
require 'timeout'
@@ -17,7 +17,7 @@
# See Net::SMTP for documentation.
#
-require 'net/protocol'
require 'digest/md5'
require 'timeout'
begin
@@ -187,7 +187,7 @@ module Racc
Racc_Runtime_Core_Version_R = '1.4.6'
Racc_Runtime_Core_Revision_R = %w$originalRevision: 1.8 $[1]
begin
- require 'racc/cparse'
# Racc_Runtime_Core_Version_C = (defined in extension)
Racc_Runtime_Core_Revision_C = Racc_Runtime_Core_Id_C.split[2]
unless new.respond_to?(:_racc_do_parse_c, true)
@@ -1,7 +1,7 @@
# frozen_string_literal: false
#vim:ts=2 sw=2 noexpandtab:
-require 'rexml/child'
-require 'rexml/source'
module REXML
# This class needs:
@@ -1,6 +1,6 @@
# frozen_string_literal: false
-require "rexml/namespace"
-require 'rexml/text'
module REXML
# Defines an Element Attribute; IE, a attribute=value pair, as in:
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rexml/text"
module REXML
class CData < Text
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rexml/node"
module REXML
##
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rexml/child"
module REXML
##
@@ -1,10 +1,10 @@
# frozen_string_literal: false
-require "rexml/parent"
-require "rexml/parseexception"
-require "rexml/namespace"
-require 'rexml/entity'
-require 'rexml/attlistdecl'
-require 'rexml/xmltokens'
module REXML
# Represents an XML DOCTYPE declaration; that is, the contents of <!DOCTYPE
@@ -1,17 +1,17 @@
# frozen_string_literal: false
-require "rexml/security"
-require "rexml/element"
-require "rexml/xmldecl"
-require "rexml/source"
-require "rexml/comment"
-require "rexml/doctype"
-require "rexml/instruction"
-require "rexml/rexml"
-require "rexml/parseexception"
-require "rexml/output"
-require "rexml/parsers/baseparser"
-require "rexml/parsers/streamparser"
-require "rexml/parsers/treeparser"
module REXML
# Represents a full XML document, including PIs, a doctype, etc. A
@@ -226,7 +226,7 @@ module REXML
end
formatter = if indent > -1
if transitive
- require "rexml/formatters/transitive"
REXML::Formatters::Transitive.new( indent, ie_hack )
else
REXML::Formatters::Pretty.new( indent, ie_hack )
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rexml/child"
module REXML
module DTD
class AttlistDecl < Child
@@ -1,10 +1,10 @@
# frozen_string_literal: false
-require "rexml/dtd/elementdecl"
-require "rexml/dtd/entitydecl"
-require "rexml/comment"
-require "rexml/dtd/notationdecl"
-require "rexml/dtd/attlistdecl"
-require "rexml/parent"
module REXML
module DTD
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rexml/child"
module REXML
module DTD
class ElementDecl < Child
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rexml/child"
module REXML
module DTD
class EntityDecl < Child
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rexml/child"
module REXML
module DTD
class NotationDecl < Child
@@ -1,10 +1,10 @@
# frozen_string_literal: false
-require "rexml/parent"
-require "rexml/namespace"
-require "rexml/attribute"
-require "rexml/cdata"
-require "rexml/xpath"
-require "rexml/parseexception"
module REXML
# An implementation note about namespaces:
@@ -713,7 +713,7 @@ module REXML
Kernel.warn("#{self.class.name}.write is deprecated. See REXML::Formatters", uplevel: 1)
formatter = if indent > -1
if transitive
- require "rexml/formatters/transitive"
REXML::Formatters::Transitive.new( indent, ie_hack )
else
REXML::Formatters::Pretty.new( indent, ie_hack )
@@ -1,7 +1,7 @@
# frozen_string_literal: false
-require 'rexml/child'
-require 'rexml/source'
-require 'rexml/xmltokens'
module REXML
class Entity < Child
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rexml/formatters/default'
module REXML
module Formatters
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rexml/formatters/pretty'
module REXML
module Formatters
@@ -1,6 +1,6 @@
# frozen_string_literal: false
-require "rexml/child"
-require "rexml/source"
module REXML
# Represents an XML Instruction; IE, <? ... ?>
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rexml/xmltokens'
# [ :element, parent, name, attributes, children* ]
# a = Node.new
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rexml/xmltokens'
module REXML
# Adds named attributes to an object.
@@ -1,7 +1,7 @@
# frozen_string_literal: false
-require "rexml/parseexception"
-require "rexml/formatters/pretty"
-require "rexml/formatters/default"
module REXML
# Represents a node in the tree. Nodes are never encountered except as
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rexml/encoding'
module REXML
class Output
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rexml/child"
module REXML
# A parent has children, and has methods for accessing them. The Parent
@@ -1,7 +1,7 @@
# frozen_string_literal: false
-require 'rexml/parseexception'
-require 'rexml/undefinednamespaceexception'
-require 'rexml/source'
require 'set'
module REXML
@@ -1,7 +1,7 @@
# frozen_string_literal: false
-require 'rexml/parsers/streamparser'
-require 'rexml/parsers/baseparser'
-require 'rexml/light/node'
module REXML
module Parsers
@@ -1,9 +1,9 @@
# frozen_string_literal: false
require 'forwardable'
-require 'rexml/parseexception'
-require 'rexml/parsers/baseparser'
-require 'rexml/xmltokens'
module REXML
module Parsers
@@ -1,8 +1,8 @@
# frozen_string_literal: false
-require 'rexml/parsers/baseparser'
-require 'rexml/parseexception'
-require 'rexml/namespace'
-require 'rexml/text'
module REXML
module Parsers
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rexml/parsers/baseparser"
module REXML
module Parsers
@@ -1,6 +1,6 @@
# frozen_string_literal: false
-require 'rexml/validation/validationexception'
-require 'rexml/undefinednamespaceexception'
module REXML
module Parsers
@@ -1,6 +1,6 @@
# frozen_string_literal: false
-require 'rexml/parsers/streamparser'
-require 'rexml/parsers/baseparser'
module REXML
module Parsers
@@ -1,6 +1,6 @@
# frozen_string_literal: false
-require 'rexml/namespace'
-require 'rexml/xmltokens'
module REXML
module Parsers
@@ -1,6 +1,6 @@
# frozen_string_literal: false
-require 'rexml/functions'
-require 'rexml/xmltokens'
module REXML
class QuickPath
@@ -1,6 +1,6 @@
# coding: US-ASCII
# frozen_string_literal: false
-require 'rexml/encoding'
module REXML
# Generates Source-s. USE THIS CLASS.
@@ -1,10 +1,10 @@
# frozen_string_literal: false
-require 'rexml/security'
-require 'rexml/entity'
-require 'rexml/doctype'
-require 'rexml/child'
-require 'rexml/doctype'
-require 'rexml/parseexception'
module REXML
# Represents text nodes in an XML document
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rexml/parseexception'
module REXML
class UndefinedNamespaceException < ParseException
def initialize( prefix, source, parser )
@@ -1,6 +1,6 @@
# frozen_string_literal: false
-require "rexml/validation/validation"
-require "rexml/parsers/baseparser"
module REXML
module Validation
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rexml/validation/validationexception'
module REXML
module Validation
@@ -1,6 +1,6 @@
# frozen_string_literal: false
-require 'rexml/encoding'
-require 'rexml/source'
module REXML
# NEEDS DOCUMENTATION
@@ -1,6 +1,6 @@
# frozen_string_literal: false
-require 'rexml/functions'
-require 'rexml/xpath_parser'
module REXML
# Wrapper class. Use this class to access the XPath functions.
@@ -1,9 +1,9 @@
# frozen_string_literal: false
-require 'rexml/namespace'
-require 'rexml/xmltokens'
-require 'rexml/attribute'
-require 'rexml/syncenumerator'
-require 'rexml/parsers/xpathparser'
class Object
# provides a unified +clone+ operation, for REXML::XPathParser
@@ -3,7 +3,7 @@
# Note: Rinda::Ring API is unstable.
#
require 'drb/drb'
-require 'rinda/rinda'
require 'ipaddr'
module Rinda
@@ -1,7 +1,7 @@
# frozen_string_literal: false
require 'monitor'
require 'drb/drb'
-require 'rinda/rinda'
require 'forwardable'
module Rinda
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rss/parser"
module RSS
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rss/parser"
module RSS
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rss/parser'
module RSS
##
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rss/rss"
module RSS
# The prefix for the Content XML namespace.
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rss/utils"
module RSS
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rss/rss"
module RSS
# The prefix for the Dublin Core XML namespace.
@@ -161,4 +161,4 @@ end
require 'rss/dublincore/1.0'
require 'rss/dublincore/2.0'
-require 'rss/dublincore/atom'
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rss/atom"
module RSS
module Atom
@@ -1,6 +1,6 @@
# frozen_string_literal: false
require 'rss/1.0'
-require 'rss/dublincore'
module RSS
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rss/rss"
module RSS
##
@@ -67,13 +67,13 @@ end
require "rss/maker/1.0"
require "rss/maker/2.0"
-require "rss/maker/feed"
-require "rss/maker/entry"
-require "rss/maker/content"
-require "rss/maker/dublincore"
-require "rss/maker/slash"
-require "rss/maker/syndication"
-require "rss/maker/taxonomy"
-require "rss/maker/trackback"
-require "rss/maker/image"
-require "rss/maker/itunes"
@@ -1,7 +1,7 @@
# frozen_string_literal: false
require "rss/0.9"
-require "rss/maker/base"
module RSS
module Maker
@@ -1,7 +1,7 @@
# frozen_string_literal: false
require "rss/1.0"
-require "rss/maker/base"
module RSS
module Maker
@@ -1,7 +1,7 @@
# frozen_string_literal: false
-require "rss/atom"
-require "rss/maker/base"
module RSS
module Maker
@@ -1,7 +1,7 @@
# frozen_string_literal: false
require 'forwardable'
-require 'rss/rss'
module RSS
module Maker
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rss/content'
require 'rss/maker/1.0'
require 'rss/maker/2.0'
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rss/dublincore'
require 'rss/maker/1.0'
module RSS
@@ -1,6 +1,6 @@
# frozen_string_literal: false
-require "rss/maker/atom"
-require "rss/maker/feed"
module RSS
module Maker
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rss/maker/atom"
module RSS
module Maker
@@ -1,7 +1,7 @@
# frozen_string_literal: false
-require 'rss/image'
require 'rss/maker/1.0'
-require 'rss/maker/dublincore'
module RSS
module Maker
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rss/itunes'
require 'rss/maker/2.0'
module RSS
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rss/slash'
require 'rss/maker/1.0'
module RSS
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rss/syndication'
require 'rss/maker/1.0'
module RSS
@@ -1,7 +1,7 @@
# frozen_string_literal: false
-require 'rss/taxonomy'
require 'rss/maker/1.0'
-require 'rss/maker/dublincore'
module RSS
module Maker
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'rss/trackback'
require 'rss/maker/1.0'
require 'rss/maker/2.0'
@@ -2,8 +2,8 @@
require "forwardable"
require "open-uri"
-require "rss/rss"
-require "rss/xml"
module RSS
@@ -63,8 +63,8 @@ end
require "English"
-require "rss/utils"
-require "rss/converter"
require "rss/xml-stylesheet"
module RSS
@@ -1,6 +1,6 @@
# frozen_string_literal: false
require "rss/1.0"
-require "rss/dublincore"
module RSS
# The prefix for the Taxonomy XML namespace.
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rss/utils"
module RSS
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require "rss/utils"
module RSS
module XML
@@ -10,7 +10,7 @@
#
#
-require "shell/filter"
class Shell
class BuiltInCommand < Filter
@@ -12,8 +12,8 @@
require "e2mmap"
-require "shell/error"
-require "shell/filter"
require "shell/system-command"
require "shell/builtin-command"
@@ -10,7 +10,7 @@
#
#
-require "shell/filter"
class Shell
class SystemCommand < Filter
@@ -10,8 +10,8 @@
# See URI for general documentation
#
-require "uri/rfc2396_parser"
-require "uri/rfc3986_parser"
module URI
REGEXP = RFC2396_REGEXP
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-require 'uri/generic'
module URI
@@ -8,7 +8,7 @@
# See URI for general documentation
#
-require 'uri/generic'
module URI
@@ -9,7 +9,7 @@
# See URI for general documentation
#
-require 'uri/common'
autoload :IPSocket, 'socket'
autoload :IPAddr, 'ipaddr'
@@ -8,7 +8,7 @@
# See URI for general documentation
#
-require 'uri/generic'
module URI
@@ -8,7 +8,7 @@
# See URI for general documentation
#
-require 'uri/http'
module URI
@@ -12,7 +12,7 @@
# See URI for general documentation
#
-require 'uri/generic'
module URI
@@ -6,7 +6,7 @@
# See URI for general documentation
#
-require 'uri/ldap'
module URI
@@ -8,7 +8,7 @@
# See URI for general documentation
#
-require 'uri/generic'
module URI
@@ -8,9 +8,9 @@
#
# $Id$
-require "webrick/httprequest"
-require "webrick/httpresponse"
-require "webrick/config"
require "stringio"
module WEBrick
@@ -9,11 +9,11 @@
#
# $IPR: config.rb,v 1.52 2003/07/22 19:20:42 gotoyuzo Exp $
-require 'webrick/version'
-require 'webrick/httpversion'
-require 'webrick/httputils'
-require 'webrick/utils'
-require 'webrick/log'
module WEBrick
module Config
@@ -10,7 +10,7 @@
# $IPR: cookie.rb,v 1.16 2002/09/21 12:23:35 gotoyuzo Exp $
require 'time'
-require 'webrick/httputils'
module WEBrick
@@ -9,11 +9,11 @@
#
# $IPR: httpauth.rb,v 1.14 2003/07/22 19:20:42 gotoyuzo Exp $
-require 'webrick/httpauth/basicauth'
-require 'webrick/httpauth/digestauth'
-require 'webrick/httpauth/htpasswd'
-require 'webrick/httpauth/htdigest'
-require 'webrick/httpauth/htgroup'
module WEBrick
@@ -8,9 +8,9 @@
#
# $IPR: basicauth.rb,v 1.5 2003/02/20 07:15:47 gotoyuzo Exp $
-require 'webrick/config'
-require 'webrick/httpstatus'
-require 'webrick/httpauth/authenticator'
module WEBrick
module HTTPAuth
@@ -12,9 +12,9 @@
#
# $IPR: digestauth.rb,v 1.5 2003/02/20 07:15:47 gotoyuzo Exp $
-require 'webrick/config'
-require 'webrick/httpstatus'
-require 'webrick/httpauth/authenticator'
require 'digest/md5'
require 'digest/sha1'
@@ -8,8 +8,8 @@
#
# $IPR: htdigest.rb,v 1.4 2003/07/22 19:20:45 gotoyuzo Exp $
-require 'webrick/httpauth/userdb'
-require 'webrick/httpauth/digestauth'
require 'tempfile'
module WEBrick
@@ -8,8 +8,8 @@
#
# $IPR: htpasswd.rb,v 1.4 2003/07/22 19:20:45 gotoyuzo Exp $
-require 'webrick/httpauth/userdb'
-require 'webrick/httpauth/basicauth'
require 'tempfile'
module WEBrick
@@ -10,7 +10,7 @@
# $IPR: httpproxy.rb,v 1.18 2003/03/08 18:58:10 gotoyuzo Exp $
# $kNotwork: straw.rb,v 1.3 2002/02/12 15:13:07 gotoken Exp $
-require "webrick/httpserver"
require "net/http"
module WEBrick
@@ -10,10 +10,10 @@
# $IPR: httprequest.rb,v 1.64 2003/07/13 17:18:22 gotoyuzo Exp $
require 'uri'
-require 'webrick/httpversion'
-require 'webrick/httpstatus'
-require 'webrick/httputils'
-require 'webrick/cookie'
module WEBrick
@@ -11,10 +11,10 @@
require 'time'
require 'uri'
-require 'webrick/httpversion'
-require 'webrick/htmlutils'
-require 'webrick/httputils'
-require 'webrick/httpstatus'
module WEBrick
##
@@ -9,8 +9,8 @@
#
# $IPR: https.rb,v 1.15 2003/07/22 19:20:42 gotoyuzo Exp $
-require 'webrick/ssl'
-require 'webrick/httpserver'
module WEBrick
module Config
@@ -10,13 +10,13 @@
# $IPR: httpserver.rb,v 1.63 2002/10/01 17:16:32 gotoyuzo Exp $
require 'io/wait'
-require 'webrick/server'
-require 'webrick/httputils'
-require 'webrick/httpstatus'
-require 'webrick/httprequest'
-require 'webrick/httpresponse'
-require 'webrick/httpservlet'
-require 'webrick/accesslog'
module WEBrick
class HTTPServerError < ServerError; end
@@ -9,11 +9,11 @@
#
# $IPR: httpservlet.rb,v 1.21 2003/02/23 12:24:46 gotoyuzo Exp $
-require 'webrick/httpservlet/abstract'
-require 'webrick/httpservlet/filehandler'
-require 'webrick/httpservlet/cgihandler'
-require 'webrick/httpservlet/erbhandler'
-require 'webrick/httpservlet/prochandler'
module WEBrick
module HTTPServlet
@@ -9,9 +9,9 @@
#
# $IPR: abstract.rb,v 1.24 2003/07/11 11:16:46 gotoyuzo Exp $
-require 'webrick/htmlutils'
-require 'webrick/httputils'
-require 'webrick/httpstatus'
module WEBrick
module HTTPServlet
@@ -11,8 +11,8 @@
require 'rbconfig'
require 'tempfile'
-require 'webrick/config'
-require 'webrick/httpservlet/abstract'
module WEBrick
module HTTPServlet
@@ -11,9 +11,9 @@
require 'time'
-require 'webrick/htmlutils'
-require 'webrick/httputils'
-require 'webrick/httpstatus'
module WEBrick
module HTTPServlet
@@ -9,7 +9,7 @@
#
# $IPR: httpstatus.rb,v 1.11 2003/03/24 20:18:55 gotoyuzo Exp $
-require 'webrick/accesslog'
module WEBrick
@@ -10,8 +10,8 @@
# $IPR: server.rb,v 1.62 2003/07/22 19:20:43 gotoyuzo Exp $
require 'socket'
-require 'webrick/config'
-require 'webrick/log'
module WEBrick