tweek tests to work with Net::LDAP::Server::Test 0.03 v0.1002
Peter Karman [Wed, 9 Jul 2008 20:45:52 +0000 (20:45 +0000)]
Changes
META.yml
Makefile.PL
lib/Catalyst/Authentication/Store/LDAP.pm
lib/Catalyst/Authentication/Store/LDAP/Backend.pm
lib/Catalyst/Authentication/Store/LDAP/User.pm
t/lib/LDAPTest.pm

diff --git a/Changes b/Changes
index 93b315c..a0fe243 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+0.1002  9 July 2008
+    - tests updated to use Net::LDAP::Server::Test 0.03
+
+
 0.1001  9 April 2008
     - matthewr pointed out that the SYNOPSIS 'use Catalyst' line is wrong.
     - imacat reported that t/03-entry was failing when Catalyst::Model::LDAP was
index 5e72800..b1fc9ee 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -3,7 +3,7 @@ abstract: Authenticate Users against LDAP Directories
 author: 
   - Adam Jacob <holoway@cpan.org>
 build_requires: 
-  Net::LDAP::Server::Test: 0.02
+  Net::LDAP::Server::Test: 0.03
   Test::More: 0
 distribution_type: module
 generated_by: Module::Install version 0.68
@@ -19,4 +19,4 @@ no_index:
 requires: 
   Catalyst::Plugin::Authentication: 0.10003
   Net::LDAP: 0
-version: 0.1001
+version: 0.1002
index 54ebb06..f567377 100644 (file)
@@ -10,7 +10,7 @@ requires('Net::LDAP');
 requires( 'Catalyst::Plugin::Authentication' => '0.10003' );
 
 #requires('Catalyst::Model::LDAP');
-build_requires('Net::LDAP::Server::Test' => '0.02');
+build_requires('Net::LDAP::Server::Test' => '0.03');
 build_requires('Test::More');
 
 auto_install();
index 06b5b21..f0c3dc4 100644 (file)
@@ -3,7 +3,7 @@ package Catalyst::Authentication::Store::LDAP;
 use strict;
 use warnings;
 
-our $VERSION = '0.1001';
+our $VERSION = '0.1002';
 
 use Catalyst::Authentication::Store::LDAP::Backend;
 
index 87b3948..cef2d35 100644 (file)
@@ -78,7 +78,7 @@ use base qw( Class::Accessor::Fast );
 use strict;
 use warnings;
 
-our $VERSION = '0.1001';
+our $VERSION = '0.1002';
 
 use Catalyst::Authentication::Store::LDAP::User;
 use Net::LDAP;
index ce20d4f..cc447b3 100644 (file)
@@ -46,7 +46,7 @@ use base qw( Catalyst::Authentication::User Class::Accessor::Fast );
 use strict;
 use warnings;
 
-our $VERSION = '0.1001';
+our $VERSION = '0.1002';
 
 BEGIN { __PACKAGE__->mk_accessors(qw/user store/) }
 
index 4b9c58a..e1e73c1 100644 (file)
@@ -20,7 +20,7 @@ sub spawn_server {
     );
     push @mydata, $entry;
 
-    return Net::LDAP::Server::Test->new( server_port(), \@mydata );
+    return Net::LDAP::Server::Test->new( server_port(), data => \@mydata );
 }
 
 1;