Chris Dwan
b6b7985d6e
fixes based on comments for pull request
2011-11-17 14:23:41 -08:00
Chris Dwan
463ac436a8
added the ability to do a delete_tree
2011-11-16 16:36:39 -08:00
Daniel Abrahamsson
2a74577d5f
search should return result set if :return_result is unspecified (nil).
...
Corrects incorrect behaviour introduced in a4819e525f
2011-10-07 15:56:55 +02:00
Rory O'Connell
5344d73543
Merge pull request #23 from danabr/correct_return_value_from_search
...
Correct return value from search
2011-09-24 11:33:38 -07:00
Daniel Abrahamsson
2336188503
No need to pass empty block to search
2011-09-22 16:19:12 +02:00
Daniel Abrahamsson
42bdeb93d8
Add test case showing incorrect behaviour for failed searches
2011-09-22 15:55:13 +02:00
Daniel Abrahamsson
3a8b8a2e00
LDAP uses UTF-8 strings
2011-09-09 19:16:30 +02:00
Austin Ziegler
2a63ae72b9
Merge branch 'filter_escaping' of https://github.com/Jamstah/ruby-net-ldap into Jamstah-filter_escaping
2011-03-17 22:37:44 -04:00
Austin Ziegler
7ae8e28550
Merge branch 'filter_single_clauses' of https://github.com/Jamstah/ruby-net-ldap into jamstah-filter_single_clauses
2011-03-17 22:33:16 -04:00
Austin Ziegler
811369ce94
Merge branch 'master' of github.com:RoryO/ruby-net-ldap
2011-03-17 22:26:34 -04:00
Austin Ziegler
393b57405d
Formatting changes to the DN class.
2011-03-17 22:25:22 -04:00
Kaspar Schiess
380459060d
. Clarifying a hack in spec code
2011-03-18 10:06:12 +08:00
Jamstah
2b3e2774fb
Spec for a DN class which escapes values and can parse a DN.
2011-01-11 16:27:14 +00:00
Jamstah
ab196040b4
Add breaking tests.
2011-01-11 14:23:15 +00:00
Jamstah
f3204bde6d
Accept filters with only one clause to an & or |
2011-01-06 14:06:31 +00:00
Kaspar Schiess
9a0da07f73
+ Upgrades our code to a recent rspec
2010-12-30 13:46:06 +01:00
Kaspar Schiess
36904e208a
+ Rewrote tests as specs. Ruby1.9 compatible escape code.
2010-12-30 13:44:17 +01:00
Kaspar Schiess
cd866c0109
+ Patch from Sean Cashin that fixes filter behaviour
...
Filters would not accept apostrophes, now they do.
Thanks Sean Cashin (http://github.com/scashin133 )!
2010-10-08 16:47:24 +02:00
Kaspar Schiess
fefe50dcef
. Converts test_ber into specs
2010-04-05 19:16:15 +02:00
Kaspar Schiess
a3824392bf
+ Adds a specification for the new ldap extensible filter
...
I am not sure about this, since I haven't been able to find
documentation about what this does. This should work, though.
Cleanup of comments and exceptions, adds specification for
Filter.ex and a parser method.
2010-03-22 15:17:26 +01:00
Austin Ziegler
a1078808ce
Fixing a problem where the metaid gem isn't running on my system.
2010-03-20 23:07:16 -04:00
Kaspar Schiess
ddb15caace
+ Adding String#read_ber! back in, since our test server uses it.
2010-03-20 14:18:15 +01:00
Kaspar Schiess
cfd9dbc922
+ Spec for Net::LDAP::Entry
...
Pretty much rewrote the code. It now also responds to respond_to?
correctly. Most of that symbol manipulation is now in just one place.
2010-03-18 10:08:59 +01:00
Kaspar Schiess
31ba47cf1d
! A proper fix for the error I've found yesterday.
...
We should further look for empty rescue statements, as they may
sometimes catch stuff that we don't want to be caught.
2010-03-18 08:44:58 +01:00
Kaspar Schiess
6a17e6a2c2
! Fixes connection open bug
...
Without this require, even the simplest example will fail, since TCPSocket
is not defined. Our tests were faking this by including openssl and socket.
2010-03-17 16:40:55 +01:00
Kaspar Schiess
b849681f5f
! Fixes that last ssl topic
2010-02-12 15:08:56 +01: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