@@ -142,25 +142,25 @@ def join(*uris) # :nodoc:
142
142
143
143
# Compatibility for RFC2396 parser
144
144
def extract ( str , schemes = nil , &block ) # :nodoc:
145
- warn "URI::RFC3986_PARSER.extract is obsoleted . Use URI::RFC2396_PARSER.extract explicitly." , uplevel : 1 if $VERBOSE
145
+ warn "URI::RFC3986_PARSER.extract is obsolete . Use URI::RFC2396_PARSER.extract explicitly." , uplevel : 1 if $VERBOSE
146
146
RFC2396_PARSER . extract ( str , schemes , &block )
147
147
end
148
148
149
149
# Compatibility for RFC2396 parser
150
150
def make_regexp ( schemes = nil ) # :nodoc:
151
- warn "URI::RFC3986_PARSER.make_regexp is obsoleted . Use URI::RFC2396_PARSER.make_regexp explicitly." , uplevel : 1 if $VERBOSE
151
+ warn "URI::RFC3986_PARSER.make_regexp is obsolete . Use URI::RFC2396_PARSER.make_regexp explicitly." , uplevel : 1 if $VERBOSE
152
152
RFC2396_PARSER . make_regexp ( schemes )
153
153
end
154
154
155
155
# Compatibility for RFC2396 parser
156
156
def escape ( str , unsafe = nil ) # :nodoc:
157
- warn "URI::RFC3986_PARSER.escape is obsoleted . Use URI::RFC2396_PARSER.escape explicitly." , uplevel : 1 if $VERBOSE
157
+ warn "URI::RFC3986_PARSER.escape is obsolete . Use URI::RFC2396_PARSER.escape explicitly." , uplevel : 1 if $VERBOSE
158
158
unsafe ? RFC2396_PARSER . escape ( str , unsafe ) : RFC2396_PARSER . escape ( str )
159
159
end
160
160
161
161
# Compatibility for RFC2396 parser
162
162
def unescape ( str , escaped = nil ) # :nodoc:
163
- warn "URI::RFC3986_PARSER.unescape is obsoleted . Use URI::RFC2396_PARSER.unescape explicitly." , uplevel : 1 if $VERBOSE
163
+ warn "URI::RFC3986_PARSER.unescape is obsolete . Use URI::RFC2396_PARSER.unescape explicitly." , uplevel : 1 if $VERBOSE
164
164
escaped ? RFC2396_PARSER . unescape ( str , escaped ) : RFC2396_PARSER . unescape ( str )
165
165
end
166
166
0 commit comments