diff --git a/Changes b/Changes index 2d03811..97ff6b3 100644 --- a/Changes +++ b/Changes @@ -6,6 +6,10 @@ Revision history for Meerkat - Adds support for 'immortal' to cursors + [PREREQS] + + - Made DateTime::Tiny optional + 0.012 2015-11-03 06:31:33-05:00 America/New_York [FIXED] diff --git a/Makefile.PL b/Makefile.PL index d200654..b6b6f73 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -43,7 +43,6 @@ my %WriteMakefileArgs = ( }, "TEST_REQUIRES" => { "Data::Faker" => 0, - "DateTime::Tiny" => 0, "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, "MooX::Types::MooseLike::Base" => 0, @@ -68,7 +67,6 @@ my %FallbackPrereqs = ( "Carp" => 0, "Data::Faker" => 0, "DateTime" => 0, - "DateTime::Tiny" => 0, "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, "Module::Runtime" => 0, diff --git a/dist.ini b/dist.ini index 2212374..015104a 100644 --- a/dist.ini +++ b/dist.ini @@ -15,3 +15,6 @@ stopwords = datetime stopwords = datetimes stopwords = meerkat stopwords = ness + +[RemovePrereqs] +remove = DateTime::Tiny diff --git a/t/datetime.t b/t/datetime.t index 61a7b52..c9ca44f 100644 --- a/t/datetime.t +++ b/t/datetime.t @@ -8,7 +8,6 @@ use Test::Requires qw/MongoDB/; use Time::HiRes; use DateTime; -use DateTime::Tiny; use Meerkat::DateTime; my $conn = eval { MongoDB::MongoClient->new; }; @@ -38,6 +37,8 @@ test 'set DateTime' => sub { }; test 'set DateTime::Tiny' => sub { + plan skip_all => 'requires DateTime::Tiny' + unless eval { require DateTime::Tiny; 1 }; my $self = shift; my $obj = $self->create_person; my $birthday =