From: Peter Rabbitson Date: Sat, 24 Jan 2015 19:53:22 +0000 (+0100) Subject: Neither of these can fail now that we dep on 5.8.1 (missed in 55087b99) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4aa3f96d65ed88da064da2637a42eb76a40452c1;p=dbsrgits%2FDBIx-Class.git Neither of these can fail now that we dep on 5.8.1 (missed in 55087b99) --- diff --git a/lib/DBIx/Class/Optional/Dependencies.pm b/lib/DBIx/Class/Optional/Dependencies.pm index 9afc2be..37e18c0 100644 --- a/lib/DBIx/Class/Optional/Dependencies.pm +++ b/lib/DBIx/Class/Optional/Dependencies.pm @@ -51,7 +51,6 @@ my $datetime_basic = { }; my $id_shortener = { - 'Digest::MD5' => '0', 'Math::BigInt' => '1.80', 'Math::Base36' => '0.07', }; diff --git a/lib/DBIx/Class/SQLMaker/Oracle.pm b/lib/DBIx/Class/SQLMaker/Oracle.pm index 3cad115..b4c1584 100644 --- a/lib/DBIx/Class/SQLMaker/Oracle.pm +++ b/lib/DBIx/Class/SQLMaker/Oracle.pm @@ -9,6 +9,7 @@ BEGIN { if (my $missing = DBIx::Class::Optional::Dependencies->req_missing_for ('id_shortener') ) { die "The following extra modules are required for Oracle-based Storages: $missing\n"; } + require Digest::MD5; } use base 'DBIx::Class::SQLMaker'; diff --git a/t/inflate/serialize.t b/t/inflate/serialize.t index 5b1a437..a9bf5d7 100644 --- a/t/inflate/serialize.t +++ b/t/inflate/serialize.t @@ -28,8 +28,6 @@ foreach my $serializer (@serializers) { } } -plan (skip_all => "No suitable serializer found") unless $selected; - DBICTest::Schema::Serialized->inflate_column( 'serialized', { inflate => $selected->{inflater}, deflate => $selected->{deflater},