# -----------------------------------------------------------
+# 0.08001 2007-09-26
+# ----------------------------------------------------------
+
+* Patched to ignore all TT versions >= 2.15 until TT is fixed :(
+
+# -----------------------------------------------------------
+# 0.08 2006-12-07
+# -----------------------------------------------------------
+
+* Patched 18ttschema-producer.t and 33tt-table-producter.t to skip on TT 2.15, thanks Ash!
+
+# -----------------------------------------------------------
# 0.08_04 2006-11-10
# -----------------------------------------------------------
package SQL::Translator;
# ----------------------------------------------------------------------
-# $Id: Translator.pm,v 1.71 2006-11-10 21:58:14 mwz444 Exp $
+# $Id: Translator.pm,v 1.72 2007-09-26 13:20:09 schiffbruechige Exp $
# ----------------------------------------------------------------------
# Copyright (C) 2002-4 The SQLFairy Authors
#
require 5.004;
-$VERSION = '0.08_04';
-$REVISION = sprintf "%d.%02d", q$Revision: 1.71 $ =~ /(\d+)\.(\d+)/;
+$VERSION = '0.08001';
+$REVISION = sprintf "%d.%02d", q$Revision: 1.72 $ =~ /(\d+)\.(\d+)/;
$DEBUG = 0 unless defined $DEBUG;
$ERROR = "";
package SQL::Translator::Producer::GraphViz;
# -------------------------------------------------------------------
-# $Id: GraphViz.pm,v 1.13 2007-05-07 20:58:56 mwz444 Exp $
+# $Id: GraphViz.pm,v 1.14 2007-09-26 13:20:09 schiffbruechige Exp $
# -------------------------------------------------------------------
# Copyright (C) 2002-4 SQLFairy Authors
#
use SQL::Translator::Utils qw(debug);
use vars qw[ $VERSION $DEBUG ];
-$VERSION = sprintf "%d.%02d", q$Revision: 1.13 $ =~ /(\d+)\.(\d+)/;
+$VERSION = sprintf "%d.%02d", q$Revision: 1.14 $ =~ /(\d+)\.(\d+)/;
$DEBUG = 0 unless defined $DEBUG;
use constant VALID_LAYOUT => {
} @fields
) . '\l';
my $label = $show_fields ? "{$table_name|$field_str}" : $table_name;
- $gv->add_node( $table_name, label => $label );
-
+# $gv->add_node( $table_name, label => $label );
+ $gv->add_node( $table_name, label => $label, ($node_shape eq 'record' ? ( shape => $node_shape ) : ()) );
debug("Processing table '$table_name'");
debug("Fields = ", join(', ', map { $_->name } @fields));
#=============================================================================
BEGIN {
+ eval {require Template;};
+ plan skip_all => "Template v2.15+ is incompatible with SQL::Translator 0.08+"
+ if !$@ && Template->VERSION >= 2.15;
+
maybe_plan(8, 'Template', 'Test::Differences')
}
use Test::Differences;