Merge branch 'master' of github.com:RoryO/ruby-net-ldap

This commit is contained in:
Austin Ziegler 2011-03-21 23:48:25 -04:00
commit cb1966a35b
2 changed files with 4 additions and 1 deletions

View file

@ -10,6 +10,10 @@
prevent those operators from having problems with the private new. prevent those operators from having problems with the private new.
* Added Filter.present and Filter.present? aliases for the method * Added Filter.present and Filter.present? aliases for the method
previously only known as Filter.pres. previously only known as Filter.pres.
* Added Filter.escape to escape strings for use in filters, based on
rfc4515.
* Added Filter.equals, Filter.begins, Filter.ends and Filter.contains,
which automatically escape input for use in a filter string.
* Cleaned up Net::LDAP::Filter::FilterParser to handle branches better. * Cleaned up Net::LDAP::Filter::FilterParser to handle branches better.
Fixed some of the regular expressions to be more canonically defined. Fixed some of the regular expressions to be more canonically defined.
* Correctly handles single-branch branches. * Correctly handles single-branch branches.

View file

@ -1,5 +1,4 @@
# -*- ruby encoding: utf-8 -*- # -*- ruby encoding: utf-8 -*-
# -*- ruby encoding: utf-8 -*-
## ##
# Class Net::LDAP::Filter is used to constrain LDAP searches. An object of # Class Net::LDAP::Filter is used to constrain LDAP searches. An object of