From: Peter Karman Date: Wed, 9 Jul 2008 20:45:52 +0000 (+0000) Subject: tweek tests to work with Net::LDAP::Server::Test 0.03 X-Git-Tag: v0.1002^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Ftags%2Fv0.1002;hp=be60b1e0d03091dd4df56358a3b282c128341b58;p=catagits%2FCatalyst-Authentication-Store-LDAP.git tweek tests to work with Net::LDAP::Server::Test 0.03 --- diff --git a/Changes b/Changes index 93b315c..a0fe243 100644 --- 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 diff --git a/META.yml b/META.yml index 5e72800..b1fc9ee 100644 --- a/META.yml +++ b/META.yml @@ -3,7 +3,7 @@ abstract: Authenticate Users against LDAP Directories author: - Adam Jacob 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 diff --git a/Makefile.PL b/Makefile.PL index 54ebb06..f567377 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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(); diff --git a/lib/Catalyst/Authentication/Store/LDAP.pm b/lib/Catalyst/Authentication/Store/LDAP.pm index 06b5b21..f0c3dc4 100644 --- a/lib/Catalyst/Authentication/Store/LDAP.pm +++ b/lib/Catalyst/Authentication/Store/LDAP.pm @@ -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; diff --git a/lib/Catalyst/Authentication/Store/LDAP/Backend.pm b/lib/Catalyst/Authentication/Store/LDAP/Backend.pm index 87b3948..cef2d35 100644 --- a/lib/Catalyst/Authentication/Store/LDAP/Backend.pm +++ b/lib/Catalyst/Authentication/Store/LDAP/Backend.pm @@ -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; diff --git a/lib/Catalyst/Authentication/Store/LDAP/User.pm b/lib/Catalyst/Authentication/Store/LDAP/User.pm index ce20d4f..cc447b3 100644 --- a/lib/Catalyst/Authentication/Store/LDAP/User.pm +++ b/lib/Catalyst/Authentication/Store/LDAP/User.pm @@ -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/) } diff --git a/t/lib/LDAPTest.pm b/t/lib/LDAPTest.pm index 4b9c58a..e1e73c1 100644 --- a/t/lib/LDAPTest.pm +++ b/t/lib/LDAPTest.pm @@ -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;