1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/uri/ldap.rb: method hierarchical? should be in URI::LDAP.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akira 2004-07-17 13:14:35 +00:00
parent 95439d0741
commit 02771a7aed
4 changed files with 12 additions and 7 deletions

View file

@ -1,3 +1,7 @@
Sat Jul 17 22:04:44 akira yamada <akira@ruby-lang.org>
* lib/uri/ldap.rb: method hierarchical? should be in URI::LDAP.
Sat Jul 17 18:29:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> Sat Jul 17 18:29:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (stmt): not to show same error messages twice. * parse.y (stmt): not to show same error messages twice.

View file

@ -1,6 +1,4 @@
# #
# = uri.rb
#
# URI support for Ruby # URI support for Ruby
# #
# Author:: Akira Yamada <akira@ruby-lang.org> # Author:: Akira Yamada <akira@ruby-lang.org>
@ -14,8 +12,11 @@
# #
module URI module URI
# :stopdoc:
VERSION_CODE = '000911'.freeze VERSION_CODE = '000911'.freeze
VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze
# :startdoc:
end end
require 'uri/common' require 'uri/common'

View file

@ -214,7 +214,7 @@ module URI
# :startdoc: # :startdoc:
end # REGEXP end # REGEXP
module Util module Util # :nodoc:
def make_components_hash(klass, array_hash) def make_components_hash(klass, array_hash)
tmp = {} tmp = {}
if array_hash.kind_of?(Array) && if array_hash.kind_of?(Array) &&
@ -260,7 +260,7 @@ module URI
# String to replaces in. # String to replaces in.
# +unsafe+:: # +unsafe+::
# Regexp that matches all symbols that must be replaced with codes. # Regexp that matches all symbols that must be replaced with codes.
# By default uses <tt>REGEXP::SAFE</tt>. # By default uses <tt>REGEXP::UNSAFE</tt>.
# #
# == Description # == Description
# #

View file

@ -180,10 +180,10 @@ module URI
set_extensions(val) set_extensions(val)
val val
end end
end
def hierarchical? def hierarchical?
false false
end
end end
@@schemes['LDAP'] = LDAP @@schemes['LDAP'] = LDAP