CHI-Driver-MongoDB
view release on metacpan or search on metacpan
0.0101 2018-11-04 20:24:08+01:00 Europe/Berlin
- Accept pull request GH#1:
Added missing prereq Try::Tiny as reported by CPANTS.
Thanks to manwar
0.0100 2018-11-01 18:56:10+01:00 Europe/Berlin
- Fix tests for Perl 5.8.x (do not use "defined-or" operator)
- Update dependency and fix compatibility to MongoDB > 2.0
0.0001 2016-10-01 21:00:56+02:00 Europe/Berlin
- Skip tests unless a MongoDB server is available
0.00_01 2016-09-25 20:56:57+02:00 Europe/Berlin (TRIAL RELEASE)
"CHI" : "0",
"CHI::Serializer::Sereal" : "0",
"Data::Serializer" : "0",
"Date::Parse" : "0",
"Dist::Zilla" : "0",
"Dist::Zilla::Plugin::PodWeaver" : "0",
"MongoDB" : "2.0",
"Moo" : "0",
"Test::Class" : "0",
"Test::Warn" : "0",
"Try::Tiny" : "0",
"URI::Escape::XS" : "0"
}
}
},
"release_status" : "stable",
"resources" : {
"repository" : {
"type" : "git",
"url" : "https://github.com/heikojansen/chi-driver-mongodb.git",
"web" : "https://github.com/heikojansen/chi-driver-mongodb"
CHI: '0'
CHI::Serializer::Sereal: '0'
Data::Serializer: '0'
Date::Parse: '0'
Dist::Zilla: '0'
Dist::Zilla::Plugin::PodWeaver: '0'
MongoDB: '2.0'
Moo: '0'
Test::Class: '0'
Test::Warn: '0'
Try::Tiny: '0'
URI::Escape::XS: '0'
resources:
repository: https://github.com/heikojansen/chi-driver-mongodb.git
version: '0.0101'
x_generated_by_perl: v5.26.2
x_serialization_backend: 'YAML::Tiny version 1.73'
Makefile.PL view on Meta::CPAN
"CHI" => 0,
"CHI::Serializer::Sereal" => 0,
"Data::Serializer" => 0,
"Date::Parse" => 0,
"Dist::Zilla" => 0,
"Dist::Zilla::Plugin::PodWeaver" => 0,
"MongoDB" => "2.0",
"Moo" => 0,
"Test::Class" => 0,
"Test::Warn" => 0,
"Try::Tiny" => 0,
"URI::Escape::XS" => 0
},
"VERSION" => "0.0101",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
Makefile.PL view on Meta::CPAN
"CHI" => 0,
"CHI::Serializer::Sereal" => 0,
"Data::Serializer" => 0,
"Date::Parse" => 0,
"Dist::Zilla" => 0,
"Dist::Zilla::Plugin::PodWeaver" => 0,
"MongoDB" => "2.0",
"Moo" => 0,
"Test::Class" => 0,
"Test::Warn" => 0,
"Try::Tiny" => 0,
"URI::Escape::XS" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
lib/CHI/Driver/MongoDB.pm view on Meta::CPAN
package CHI::Driver::MongoDB;
# vim:syntax=perl:tabstop=4:number:noexpandtab:
$CHI::Driver::MongoDB::VERSION = '0.0101';
# ABSTRACT: MongoDB driver for CHI
use Moo;
use MongoDB;
use BSON;
use BSON::Types qw( bson_bytes bson_time );
use URI::Escape::XS;
use Try::Tiny;
use strict;
use warnings;
extends 'CHI::Driver';
has 'mongodb' => (
is => 'ro',
lazy => 1,
init_arg => undef,
( run in 0.338 second using v1.01-cache-2.11-cpan-05444aca049 )