Commit graph

18 commits

Author SHA1 Message Date
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 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