Skip to content

Commit 504aa8c

Browse files
author
blackhedd
committed
Bumped up version number to 0.0.2, added a missing status code,
and tweaked docs.
1 parent d85cc21 commit 504aa8c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/net/ldap.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ class LDAP
238238

239239
class LdapError < Exception; end
240240

241-
VERSION = "0.0.1"
241+
VERSION = "0.0.2"
242242

243243

244244
SearchScope_BaseObject = 0
@@ -287,6 +287,8 @@ class LdapError < Exception; end
287287
0 => "Success",
288288
1 => "Operations Error",
289289
2 => "Protocol Error",
290+
3 => "Time Limit Exceeded",
291+
4 => "Size Limit Exceeded",
290292
16 => "No Such Attribute",
291293
17 => "Undefined Attribute Type",
292294
20 => "Attribute or Value Exists",
@@ -306,7 +308,7 @@ class LdapError < Exception; end
306308
#
307309
# LDAP::result2string
308310
#
309-
def LDAP::result2string code
311+
def LDAP::result2string code # :nodoc:
310312
ResultStrings[code] || "unknown result (#{code})"
311313
end
312314

0 commit comments

Comments
 (0)