From: Luke Saunders Date: Tue, 5 Feb 2008 16:00:04 +0000 (+0000) Subject: prep for dev release X-Git-Tag: v1.001002~39 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d85d888efb8c532a6d91f57702254f25f4b2b5e1;p=dbsrgits%2FDBIx-Class-Fixtures.git prep for dev release --- diff --git a/MANIFEST b/MANIFEST index e2acf0c..3495473 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,6 +1,39 @@ Changes -MANIFEST +lib/DBIx/Class/Fixtures/Schema.pm +lib/DBIx/Class/Fixtures/SchemaVersioned.pm +lib/DBIx/Class/Fixtures/Versioned.pm +lib/DBIx/Class/Fixtures.pm Makefile.PL +MANIFEST README -lib/DBIx/Class/Fixtures.pm t/00-load.t +t/01-new.t +t/02-dump-basic.t +t/03-dump-quantity.t +t/04-dump-fetch.t +t/05-dump-rules.t +t/06-dump-date.t +t/12-populate-basic.t +t/13populate-two-dbs.t +t/lib/DBICTest/Schema/Artist.pm +t/lib/DBICTest/Schema/CD.pm +t/lib/DBICTest/Schema/CD_to_Producer.pm +t/lib/DBICTest/Schema/Producer.pm +t/lib/DBICTest/Schema/Tag.pm +t/lib/DBICTest/Schema/Track.pm +t/lib/DBICTest/Schema.pm +t/lib/DBICTest/Schema2/Artist.pm +t/lib/DBICTest/Schema2/CD.pm +t/lib/DBICTest/Schema2/Friend.pm +t/lib/DBICTest/Schema2.pm +t/lib/DBICTest.pm +t/lib/mysql.sql +t/lib/sqlite.sql +t/lib/sqlite_different.sql +t/var/configs/date.json +t/var/configs/fetch.json +t/var/configs/quantity.json +t/var/configs/rules.json +t/var/configs/sample.json +t/var/configs/simple.json +META.yml Module meta-data (added by MakeMaker) diff --git a/lib/DBIx/Class/Fixtures.pm b/lib/DBIx/Class/Fixtures.pm index ca0aa2e..b83ef4c 100644 --- a/lib/DBIx/Class/Fixtures.pm +++ b/lib/DBIx/Class/Fixtures.pm @@ -25,11 +25,11 @@ __PACKAGE__->mk_group_accessors( 'simple' => qw/config_dir _inherited_attributes =head1 VERSION -Version 1.000 +Version 0.999_01 =cut -our $VERSION = '1.000'; +our $VERSION = '0.999_01'; =head1 NAME @@ -409,6 +409,7 @@ sub dump { my $output_dir = dir($params->{directory}); unless (-e $output_dir) { + $output_dir->mkpath || return DBIx::Class::Exception->throw('output directory does not exist at ' . $output_dir); } diff --git a/t/06-dump-date.t b/t/06-dump-date.t index 888b2e2..5cd99d1 100644 --- a/t/06-dump-date.t +++ b/t/06-dump-date.t @@ -8,7 +8,7 @@ use Path::Class; use Data::Dumper; use DateTime; -plan skip_all => 'Set $ENV{FIXTURETEST_DSN}, _USER and _PASS to mysql db run this test' +plan skip_all => 'Set $ENV{FIXTURETEST_DSN}, _USER and _PASS to point at MySQL DB to run this test' unless ($ENV{FIXTURETEST_DSN}); plan tests => 5;