},
# 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',
},
},
},
- icdt => {
+ ic_dt => {
req => {
'DateTime' => '0.55',
},
desc => 'Modules required to connect to SQLite',
},
augment => {
- icdt => {
+ ic_dt => {
req => {
'DateTime::Format::SQLite' => '0',
},
# 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',
},
},
},
- 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,
},
_rdbms_mssql_common => {
- include => '_icdt_strptime_based',
+ include => '_ic_dt_strptime_based',
},
rdbms_mssql_odbc => {
},
_rdbms_msaccess_common => {
- include => '_icdt_strptime_based',
+ include => '_ic_dt_strptime_based',
},
rdbms_msaccess_odbc => {
# 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',
},
},
},
- 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,
},
desc => 'Modules required to connect to Oracle',
},
augment => {
- icdt => {
+ ic_dt => {
req => {
'DateTime::Format::Oracle' => '0',
},
},
rdbms_ase => {
- include => '_icdt_strptime_based',
+ include => '_ic_dt_strptime_based',
req => {
'DBD::Sybase' => 0,
},
_rdbms_db2_common => {
augment => {
- icdt => {
+ ic_dt => {
req => {
'DateTime::Format::DB2' => '0',
},
},
rdbms_informix => {
- include => '_icdt_strptime_based',
+ include => '_ic_dt_strptime_based',
req => {
'DBD::Informix' => 0,
},
},
_rdbms_sqlanywhere_common => {
- inclide => '_icdt_strptime_based',
+ include => '_ic_dt_strptime_based',
},
rdbms_sqlanywhere => {
},
_rdbms_firebird_common => {
- include => '_icdt_strptime_based',
+ include => '_ic_dt_strptime_based',
},
rdbms_firebird => {
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} = {
);
# ICDT augmentation
- my $mysql_icdt = [shuffle qw( test_rdbms_mysql icdt )];
+ my %expected_icdt_base = ( DateTime => '0.55', 'DateTime::TimeZone::OlsonDB' => 0 );
+
+ my $mysql_icdt = [shuffle qw( test_rdbms_mysql ic_dt )];
is_deeply(
DBIx::Class::Optional::Dependencies->modreq_list_for($mysql_icdt),
# test multi-level include with a variable and mandatory part converging on same included dep
local $ENV{DBICTEST_MSACCESS_ODBC_DSN};
local $ENV{DBICTEST_MSSQL_ODBC_DSN} = 'foo';
- my $msaccess_mssql_icdt = [ shuffle qw( test_rdbms_msaccess_odbc test_rdbms_mssql_odbc icdt ) ];
+ my $msaccess_mssql_icdt = [ shuffle qw( test_rdbms_msaccess_odbc test_rdbms_mssql_odbc ic_dt ) ];
is_deeply(
DBIx::Class::Optional::Dependencies->req_missing_for($msaccess_mssql_icdt),
'Data::GUID DateTime~0.55 DateTime::Format::Strptime~1.2 DBD::ODBC as well as the following group(s) of environment variables: DBICTEST_MSACCESS_ODBC_DSN/..._USER/..._PASS',