From 02771a7aede0f9e3485d947ba542cdef4852caf7 Mon Sep 17 00:00:00 2001 From: akira Date: Sat, 17 Jul 2004 13:14:35 +0000 Subject: * 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 --- ChangeLog | 4 ++++ lib/uri.rb | 5 +++-- lib/uri/common.rb | 4 ++-- lib/uri/ldap.rb | 6 +++--- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a31c293ad..78286d7375 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Jul 17 22:04:44 akira yamada + + * lib/uri/ldap.rb: method hierarchical? should be in URI::LDAP. + Sat Jul 17 18:29:07 2004 Nobuyoshi Nakada * parse.y (stmt): not to show same error messages twice. diff --git a/lib/uri.rb b/lib/uri.rb index ec9a18cd31..09c4f5fbcf 100644 --- a/lib/uri.rb +++ b/lib/uri.rb @@ -1,6 +1,4 @@ # -# = uri.rb -# # URI support for Ruby # # Author:: Akira Yamada @@ -14,8 +12,11 @@ # module URI + # :stopdoc: VERSION_CODE = '000911'.freeze VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze + # :startdoc: + end require 'uri/common' diff --git a/lib/uri/common.rb b/lib/uri/common.rb index f5772084e2..1e59c0fa33 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -214,7 +214,7 @@ module URI # :startdoc: end # REGEXP - module Util + module Util # :nodoc: def make_components_hash(klass, array_hash) tmp = {} if array_hash.kind_of?(Array) && @@ -260,7 +260,7 @@ module URI # String to replaces in. # +unsafe+:: # Regexp that matches all symbols that must be replaced with codes. - # By default uses REGEXP::SAFE. + # By default uses REGEXP::UNSAFE. # # == Description # diff --git a/lib/uri/ldap.rb b/lib/uri/ldap.rb index e75cdc4552..163d2cda24 100644 --- a/lib/uri/ldap.rb +++ b/lib/uri/ldap.rb @@ -180,10 +180,10 @@ module URI set_extensions(val) val end - end - def hierarchical? - false + def hierarchical? + false + end end @@schemes['LDAP'] = LDAP -- cgit v1.2.3