We welcome your contributions to Net::LDAP. To increase the chances of your patches being accepted, we recommend that you follow the guidelines below:
-
Your code should be formatted like the rest of Net::LDAP. We use a text wrap of 76 - 78 characters, especially for documentation contents. Operators should have spaces around them, method definitions should have parentheses around arguments. Keep the indentation as flat as possible.
-
Your changes should be well-documented and described.
-
You must provide rspec tests for any new or changed features. Rspec has been chosen as the way forward for tests.
-
You should provide LDIF data for importing into LDAP servers so that the changes can be tested in situ with more than one real LDAP server.
-
You should have tested your changes against a real LDAP server.