RAA - ruby-activeldap/0.7.2

ruby-activeldap / 0.7.2

Short description: object oriented interface to Ruby/LDAP
Category: Library/Database
Status: beta
Created: 2004-08-25 04:48:20 GMT
Last update: 2006-05-21 23:21:01 GMT
Owner: wad (Projects of this owner)
Homepage: http://ruby-activeldap.rubyforge.org/
Download: http://rubyforge.org/projects/ruby-activeldap/
License: Ruby's
Dependency:
Requires: ruby-ldap/0.8.2(*) ruby-ldap
Requires: log4r/1.0.4 Log4r
(*): newer version exists
Description:

Ruby/ActiveLDAP provides an object oriented interface to LDAP. This library was inspired by ActiveRecord (both the concept and the library). It maps LDAP entries to Ruby objects with LDAP attribute accessors exposed as methods dynamically assigned based on your LDAP schema and each object's objectClasses.

Any and all feedback, requests, patches, etc are appreciated!


CHANGES:
0.7.2:
* Stopped overriding Conn.schema in ldap/schema - now use schema2
* Fix attributes being deleted when changing between objectclasses with shared attributes
* Added schema attribute case insensitivity
* Added case insensitivity to the attribute methods.
* Added LDAP scope override support to ldap_mapping via :scope argument. (ldap_mapping :scope => LDAP::
LDAP_SCOPE_SUBTREE, ...)
* Fixed the bug where Klass.find() return nil (default arg for find/find_all now '*')
* Added :return_objects to Base.connect()/configuration.rb -- When true, sets the default behavior in B
ase.find/find_all to return objects instead of just the dnattr string.
* Hid away several exposed private class methods (do_bind, etc)
* Undefined dnattr for a class now raises a ConfigurationError
* Centralized all connection management code where possible
* Added Base.can_reconnect? which returns true if never connected or below the :retries limit
* Added block support to Base.connection to ensure "safe" connection usage. This is not just for intern
al library use. If you need to do something fancy with the connection object, use Base.connection do |con
n| ...
* Fixed object instantiation in Base#initialize when using full DNs
* Added :parent_class option to ldap_mapping which allows for object.parent() to return an instantiated
object using the parent DN. (ldap_mapping :parent_class => String, ...)
* Fixed reconnect bug in Base#initialize (didn't respect infinite retries)
* Added(*) :timeout argument to allow timeouts on hanging LDAP connections
* Added(*) :retry_on_timeout boolean option to allow disabling retries on timeouts
* Added TimeoutError
* Added(*) a forking timeout using SIGALRM to interrupt handling.
(*) Only works when RUBY_PLATFORM has "linux" in it

Versions: [0.7.3 (2006-05-30)] [0.7.2 (2006-05-21)] [0.7.1 (2006-05-07)] [0.6.0 (2006-01-09)] [0.5.5 (2005-02-20)] [0.5.4 (2005-02-18)] [0.5.2 (2004-10-23)] [0.5.1 (2004-10-22)] [0.4.4 (2004-10-11)] [0.4.3 (2004-10-08)] [0.4.2 (2004-10-08)] [0.4.1 (2004-10-06)] [0.4.0 (2004-10-05)] [0.3.5 (2004-09-25)] [0.3.2 (2004-09-24)] [0.3.0 (2004-09-23)] [0.2.0 (2004-09-17)] [0.1.8 (2004-09-14)] [0.1.7 (2004-09-13)] [0.1.2 (2004-08-30)] [0.1.1 (2004-08-25)]

Edit this project (for project owner)

back to RAA top