X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FOptional%2FDependencies.pm;fp=lib%2FDBIx%2FClass%2FOptional%2FDependencies.pm;h=6ac9e50f65cde274852bda2f4365cdf77b34f9c0;hb=54a9a08890c1784af806b643a3671faf1312c2fc;hp=13ce5c3eb84cf74a20cfb94afe4d0f62dc82d2a3;hpb=ba31911e50a0f79051cfee608b0907a9ac83ad1d;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Optional/Dependencies.pm b/lib/DBIx/Class/Optional/Dependencies.pm index 13ce5c3..6ac9e50 100644 --- a/lib/DBIx/Class/Optional/Dependencies.pm +++ b/lib/DBIx/Class/Optional/Dependencies.pm @@ -47,9 +47,9 @@ my $dbic_reqs = { }, # a common placeholder for engines with IC::DT support based off DT::F::S - _icdt_strptime_based => { + _ic_dt_strptime_based => { augment => { - icdt => { + ic_dt => { req => { 'DateTime::Format::Strptime' => '1.2', }, @@ -133,7 +133,7 @@ my $dbic_reqs = { }, }, - icdt => { + ic_dt => { req => { 'DateTime' => '0.55', 'DateTime::TimeZone::OlsonDB' => 0, @@ -237,7 +237,7 @@ my $dbic_reqs = { desc => 'Modules required to connect to SQLite', }, augment => { - icdt => { + ic_dt => { req => { 'DateTime::Format::SQLite' => '0', }, @@ -247,9 +247,9 @@ my $dbic_reqs = { # centralize the specification, as we have ICDT tests which can # test the full behavior of RDBMS-specific ICDT on top of bare SQLite - _icdt_pg_base => { + _ic_dt_pg_base => { augment => { - icdt => { + ic_dt => { req => { 'DateTime::Format::Pg' => '0.16004', }, @@ -257,12 +257,12 @@ my $dbic_reqs = { }, }, - icdt_pg => { - include => [qw( icdt _icdt_pg_base )], + ic_dt_pg => { + include => [qw( ic_dt _ic_dt_pg_base )], }, rdbms_pg => { - include => '_icdt_pg_base', + include => '_ic_dt_pg_base', req => { # when changing this list make sure to adjust xt/optional_deps.t 'DBD::Pg' => 0, @@ -274,7 +274,7 @@ my $dbic_reqs = { }, _rdbms_mssql_common => { - include => '_icdt_strptime_based', + include => '_ic_dt_strptime_based', }, rdbms_mssql_odbc => { @@ -305,7 +305,7 @@ my $dbic_reqs = { }, _rdbms_msaccess_common => { - include => '_icdt_strptime_based', + include => '_ic_dt_strptime_based', }, rdbms_msaccess_odbc => { @@ -326,9 +326,9 @@ my $dbic_reqs = { # centralize the specification, as we have ICDT tests which can # test the full behavior of RDBMS-specific ICDT on top of bare SQLite - _icdt_mysql_base => { + _ic_dt_mysql_base => { augment => { - icdt => { + ic_dt => { req => { 'DateTime::Format::MySQL' => '0', }, @@ -336,12 +336,12 @@ my $dbic_reqs = { }, }, - icdt_mysql => { - include => [qw( icdt _icdt_mysql_base )], + ic_dt_mysql => { + include => [qw( ic_dt _ic_dt_mysql_base )], }, rdbms_mysql => { - include => '_icdt_mysql_base', + include => '_ic_dt_mysql_base', req => { 'DBD::mysql' => 0, }, @@ -361,7 +361,7 @@ my $dbic_reqs = { desc => 'Modules required to connect to Oracle', }, augment => { - icdt => { + ic_dt => { req => { 'DateTime::Format::Oracle' => '0', }, @@ -370,7 +370,7 @@ my $dbic_reqs = { }, rdbms_ase => { - include => '_icdt_strptime_based', + include => '_ic_dt_strptime_based', req => { 'DBD::Sybase' => 0, }, @@ -382,7 +382,7 @@ my $dbic_reqs = { _rdbms_db2_common => { augment => { - icdt => { + ic_dt => { req => { 'DateTime::Format::DB2' => '0', }, @@ -410,7 +410,7 @@ my $dbic_reqs = { }, rdbms_informix => { - include => '_icdt_strptime_based', + include => '_ic_dt_strptime_based', req => { 'DBD::Informix' => 0, }, @@ -421,7 +421,7 @@ my $dbic_reqs = { }, _rdbms_sqlanywhere_common => { - inclide => '_icdt_strptime_based', + include => '_ic_dt_strptime_based', }, rdbms_sqlanywhere => { @@ -444,7 +444,7 @@ my $dbic_reqs = { }, _rdbms_firebird_common => { - include => '_icdt_strptime_based', + include => '_ic_dt_strptime_based', }, rdbms_firebird => { @@ -1238,7 +1238,7 @@ Somewhere in your build-file (e.g. L's F): my %DBIC_DEPLOY_AND_ORACLE_DEPS = %{ eval { require $class; - $class->req_list_for([qw( deploy rdbms_oracle icdt )]); + $class->req_list_for([qw( deploy rdbms_oracle ic_dt )]); } || {} }; \$EUMM_ARGS{PREREQ_PM} = {