From 504aa8c71dd499db805a15dba44faa9d63c4ef50 Mon Sep 17 00:00:00 2001 From: blackhedd Date: Tue, 2 May 2006 00:47:31 +0000 Subject: [PATCH] Bumped up version number to 0.0.2, added a missing status code, and tweaked docs. --- lib/net/ldap.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/net/ldap.rb b/lib/net/ldap.rb index 9e981fa..063f866 100644 --- a/lib/net/ldap.rb +++ b/lib/net/ldap.rb @@ -238,7 +238,7 @@ module Net class LdapError < Exception; end - VERSION = "0.0.1" + VERSION = "0.0.2" SearchScope_BaseObject = 0 @@ -287,6 +287,8 @@ module Net 0 => "Success", 1 => "Operations Error", 2 => "Protocol Error", + 3 => "Time Limit Exceeded", + 4 => "Size Limit Exceeded", 16 => "No Such Attribute", 17 => "Undefined Attribute Type", 20 => "Attribute or Value Exists", @@ -306,7 +308,7 @@ module Net # # LDAP::result2string # - def LDAP::result2string code + def LDAP::result2string code # :nodoc: ResultStrings[code] || "unknown result (#{code})" end