- Do not execute t/zzzzzzz_sqlite_deadlock.t for regular module
installs - test is prone to spontaneous blow up
- DT-related tests now require a DateTime >= 0.55 (RT#60324)
+ - Makefile.PL now provides a pre-parsed DBIC version to the
+ Opt::Dep pod generator
0.08123 2010-06-12 14:46 (UTC)
* Fixes
print "Regenerating Optional/Dependencies.pod\n";
require DBIx::Class::Optional::Dependencies;
- DBIx::Class::Optional::Dependencies->_gen_pod;
+ DBIx::Class::Optional::Dependencies->_gen_pod (Meta->version);
# FIXME Disabled due to unsolved issues, ask theorbtwo
# require Module::Install::Pod::Inherit;
# This is to be called by the author only (automatically in Makefile.PL)
sub _gen_pod {
+ my ($class, $distver) = @_;
- my $class = shift;
my $modfn = __PACKAGE__ . '.pm';
$modfn =~ s/\:\:/\//g;
my $podfn = __FILE__;
$podfn =~ s/\.pm$/\.pod/;
- my $distver =
+ $distver ||=
eval { require DBIx::Class; DBIx::Class->VERSION; }
||
- do {
- warn
+ die
"\n\n---------------------------------------------------------------------\n" .
'Unable to load core DBIx::Class module to determine current version, '.
'possibly due to missing dependencies. Author-mode autodocumentation ' .
"halted\n\n" . $@ .
"\n\n---------------------------------------------------------------------\n"
- ;
- '*UNKNOWN*'; # rv
- }
;
my $sqltver = $class->req_list_for ('deploy')->{'SQL::Translator'}