From: Justin Hunter Date: Thu, 2 Jul 2009 07:31:36 +0000 (-0700) Subject: make these roles X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=432eccda2c2b101d7154384c09fe9d643faada2c;p=dbsrgits%2FSQL-Translator-2.0-ish.git make these roles --- diff --git a/lib/SQL/Translator/Parser/DDL.pm b/lib/SQL/Translator/Parser/DDL.pm index 426743b..55e10e7 100644 --- a/lib/SQL/Translator/Parser/DDL.pm +++ b/lib/SQL/Translator/Parser/DDL.pm @@ -1,5 +1,6 @@ package SQL::Translator::Parser::DDL; -use Moose; -extends 'SQL::Translator::Parser'; +use Moose::Role; + +no Moose; 1; diff --git a/lib/SQL/Translator/Parser/DDL/MySQL.pm b/lib/SQL/Translator/Parser/DDL/MySQL.pm index 2904860..ead0a85 100644 --- a/lib/SQL/Translator/Parser/DDL/MySQL.pm +++ b/lib/SQL/Translator/Parser/DDL/MySQL.pm @@ -1,5 +1,6 @@ package SQL::Translator::Parser::DDL::MySQL; -use Moose; -extends 'SQL::Translator::Parser::DDL'; +use Moose::Role; + +no Moose; 1; diff --git a/lib/SQL/Translator/Parser/DDL/Oracle.pm b/lib/SQL/Translator/Parser/DDL/Oracle.pm index a8ee63e..78acc99 100644 --- a/lib/SQL/Translator/Parser/DDL/Oracle.pm +++ b/lib/SQL/Translator/Parser/DDL/Oracle.pm @@ -1,5 +1,6 @@ package SQL::Translator::Parser::DDL::Oracle; -use Moose; -extends 'SQL::Translator::Parser::DDL'; +use Moose::Role; + +no Moose; 1; diff --git a/lib/SQL/Translator/Parser/DDL/PostgreSQL.pm b/lib/SQL/Translator/Parser/DDL/PostgreSQL.pm index 40f2183..caac905 100644 --- a/lib/SQL/Translator/Parser/DDL/PostgreSQL.pm +++ b/lib/SQL/Translator/Parser/DDL/PostgreSQL.pm @@ -1,5 +1,6 @@ package SQL::Translator::Parser::DDL::PostgreSQL; -use Moose; -extends 'SQL::Translator::Parser::DDL'; +use Moose::Role; + +no Moose; 1; diff --git a/lib/SQL/Translator/Parser/DDL/SQLite.pm b/lib/SQL/Translator/Parser/DDL/SQLite.pm index 181910e..843f8c9 100644 --- a/lib/SQL/Translator/Parser/DDL/SQLite.pm +++ b/lib/SQL/Translator/Parser/DDL/SQLite.pm @@ -1,5 +1,6 @@ package SQL::Translator::Parser::DDL::SQLite; -use Moose; -extends 'SQL::Translator::Parser::DDL'; +use Moose::Role; + +no Moose; 1; diff --git a/lib/SQL/Translator/Parser/DDL/Sybase.pm b/lib/SQL/Translator/Parser/DDL/Sybase.pm index 0796c8b..6235a25 100644 --- a/lib/SQL/Translator/Parser/DDL/Sybase.pm +++ b/lib/SQL/Translator/Parser/DDL/Sybase.pm @@ -1,5 +1,6 @@ package SQL::Translator::Parser::DDL::Sybase; -use Moose; -extends 'SQL::Translator::Parser::DDL'; +use Moose::Role; + +no Moose; 1;