Commit graph

21 commits

Author SHA1 Message Date
Austin Ziegler 84e42ceb78 Merging an ugly set of changes I had forgotten about. 2011-03-17 21:37:17 -04:00
Lars Tobias Skjong-Børsting 36b06f46df Fix undefined method 'to_ber' for nil:NilClass. Convert unless nil.
Made modify_ops a method to allow for unit testing of it.

Added unit tests for add, delete and replace.
2011-01-28 14:50:54 +01:00
Kaspar Schiess 36904e208a + Rewrote tests as specs. Ruby1.9 compatible escape code. 2010-12-30 13:44:17 +01:00
Jamstah a696aa89a0 Add a method to escape filter strings, and some convenience method for creating some common filter patterns, that are automatically escaped. 2010-12-30 13:14:15 +01:00
Kaspar Schiess 74e994eed1 - disables a test that wont run on most machines 2010-10-11 08:46:58 +02:00
tonyheadford 1761db89e9 Added new_superior arg to Net::LDAP rename method. This enables moving an entry in the tree by specifying the new parent container in addition to the rename entry functionality. Added a unit test file test_rename.rb for this method. 2010-07-19 20:52:10 +01:00
Austin Ziegler 64bcdd0912 Removing a stub file, lib/net/ldif.rb.
There is no value provided by this stub.
2010-04-19 01:52:39 -04:00
Rory O'Connell 6e9125df79 Split ldif test data file so regexp in 1.9.1 works 2010-04-15 17:01:43 -05:00
Rory O'Connell 896eaa533c Merge branch 'ldap-cleanup', remote branch 'halostatue/ldap-cleanup' into ldap-cleanup 2010-04-15 16:27:08 -05:00
Rory O'Connell f42773569f Merge branch 'ber-cleanup', remote branch 'halostatue/ber-cleanup' into ber-cleanup
Conflicts:
	test/test_ber.rb
2010-04-15 16:19:33 -05:00
Kaspar Schiess fefe50dcef . Converts test_ber into specs 2010-04-05 19:16:15 +02:00
Austin Ziegler 06ea324055 Cleanup of Dataset and Entry. 2010-03-27 14:51:01 -04:00
Austin Ziegler 28d58cd581 Importing, but disabling, tests from other repos. 2010-03-27 01:57:19 -04:00
Austin Ziegler 3e07125214 Adding experimental RFC4515 extensible filtering. 2010-03-22 13:56:37 +01:00
Austin Ziegler 31946c35c7 Rationalizing startup. 2010-03-13 00:20:07 -05:00
Rory OConnell de4021f2e1 Merge branch from kschiess 2010-02-12 10:42:29 -06:00
Kaspar Schiess 1509aa8ef6 ! Fixes all tests
Some code has been removed. Version control is not synonymous with code storage - if you're not using it now, you probably don't have working tests and the code will be buggy anyway. Write it when you need it.
2010-02-12 14:39:57 +01:00
Kaspar Schiess 75f37c58b9 ! Fixes tests for everything BUT the number conversion
This commit removes read_ber! since no one seems to be using it. YAGNI.
2010-02-12 11:59:46 +01:00
Rory OConnell 4c24cf239a Import fixes from kschiess 2010-02-10 12:13:59 -06:00
emiel afe6567a90 Use proper Ruby SHA1
* Ruby 1.8.[67] and 1.9's SHA1 is in 'digest/sha1'
2009-02-21 15:49:24 +00:00
emiel 6b5548ffd2 This commit is all about moving toward 'Hoe' as the project helper.
$ gem install hoe

To get there the following has been done:

 * Adhere to hoe naming conventions.
 * Migrate and update tests.
 * Consolidate and update documentation.
 * Prepare History.txt for release.
 * And I probably forgot something...
2008-11-14 23:22:30 +00:00