From: Peter Rabbitson Date: Mon, 28 Sep 2009 06:19:12 +0000 (+0000) Subject: Dep fixes and changes X-Git-Tag: v0.11008~82 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3e1ed76b56340d01077841f92270cea61cddde9f;p=dbsrgits%2FSQL-Translator.git Dep fixes and changes --- diff --git a/Changes b/Changes index bc79e36..a590ebb 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ * Pg parser fixes to deal properly with MATCH * Pg parser fixes to parse timestamp attributes correctly +* Fix broken default detection in script/sqlt (RT#27438) +* Fix dependency issues with LibXML and TT # ---------------------------------------------------------- # 0.11002 2009-08-30 diff --git a/Makefile.PL b/Makefile.PL index 2916095..148fec7 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -23,7 +23,7 @@ my $deps = { 'XML::Writer' => 0.500, }, recommends => { - 'Template' => 2.10, + 'Template' => 2.20, 'GD' => 0, 'GraphViz' => 0, 'Graph::Directed' => 0, diff --git a/t/18ttschema-producer.t b/t/18ttschema-producer.t index 2df7891..82ce0fe 100644 --- a/t/18ttschema-producer.t +++ b/t/18ttschema-producer.t @@ -16,16 +16,9 @@ use FindBin qw/$Bin/; #============================================================================= BEGIN { - eval {require Template;}; - - if ( $@ ) { - plan skip_all => 'Template not installed?' - } - - maybe_plan(6, - 'XML::XPath', + maybe_plan(6, 'SQL::Translator::Parser::XML::SQLFairy', - 'Template', + 'Template 2.20', 'Test::Differences' ); } diff --git a/t/33tt-table-producer.t b/t/33tt-table-producer.t index 9d7d7bb..7d75023 100644 --- a/t/33tt-table-producer.t +++ b/t/33tt-table-producer.t @@ -21,9 +21,7 @@ use File::Temp qw/tempdir/; #============================================================================= BEGIN { - eval {require Template;}; - - maybe_plan(8, 'Template', 'Test::Differences') + maybe_plan(8, 'Template 2.20', 'Test::Differences') } use Test::Differences; diff --git a/t/34tt-base.t b/t/34tt-base.t index 30d62b2..6cda785 100644 --- a/t/34tt-base.t +++ b/t/34tt-base.t @@ -10,8 +10,8 @@ use Test::Exception; use Test::SQL::Translator qw(maybe_plan); BEGIN { - maybe_plan(4, 'Template', - 'Test::Differences', + maybe_plan(4, 'Template 2.20', + 'Test::Differences', 'SQL::Translator::Parser::XML::SQLFairy') } use Test::Differences; diff --git a/t/36-filters.t b/t/36-filters.t index c1ad7ca..cfda7ac 100644 --- a/t/36-filters.t +++ b/t/36-filters.t @@ -42,7 +42,7 @@ use Test::SQL::Translator qw(maybe_plan); use Data::Dumper; BEGIN { - maybe_plan(16, 'Template', 'Test::Differences', + maybe_plan(16, 'Template 2.20', 'Test::Differences', 'SQL::Translator::Parser::YAML', 'SQL::Translator::Producer::YAML')