Dancer2-Session-DatabasePlugin

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "Carp" : "1.38",
            "Dancer2::Core::Role::SessionFactory" : "0.206000",
            "Dancer2::Plugin::Database" : "2.17",
            "Data::Dumper" : "2.161",
            "Modern::Perl" : "1.20170117",
            "Moo" : "2.003002",
            "MooX::Types::MooseLike::Base" : "0.29",
            "Ref::Util" : "0.203",
            "Scalar::Util" : "1.48",
            "Storable" : "2.62",
            "Test::More" : "1.302073",
            "namespace::clean" : "0.27"
         }
      }
   },

META.yml  view on Meta::CPAN

name: Dancer2-Session-DatabasePlugin
no_index:
  directory:
    - t
    - inc
requires:
  Carp: '1.38'
  Dancer2::Core::Role::SessionFactory: '0.206000'
  Dancer2::Plugin::Database: '2.17'
  Data::Dumper: '2.161'
  Modern::Perl: '1.20170117'
  Moo: '2.003002'
  MooX::Types::MooseLike::Base: '0.29'
  Ref::Util: '0.203'
  Scalar::Util: '1.48'
  Storable: '2.62'
  Test::More: '1.302073'
  namespace::clean: '0.27'
version: '1.0014'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    NAME              => 'Dancer2::Session::DatabasePlugin',
    VERSION_FROM      => 'lib/Dancer2/Session/DatabasePlugin.pm', # finds $VERSION
    LICENSE=>'perl_5',
    PREREQ_PM         => {
    qw(
      Moo  2.003002
      Modern::Perl 1.20170117
      MooX::Types::MooseLike::Base 0.29
      Carp 1.38
      namespace::clean 0.27
      Data::Dumper  2.161
      Test::More    1.302073
      Scalar::Util  1.48
      Ref::Util     0.203
      Dancer2::Plugin::Database 2.17
      Dancer2::Core::Role::SessionFactory 0.206000
      Storable  2.62

lib/Dancer2/Plugin/SessionDatabase.pm  view on Meta::CPAN

package Dancer2::Plugin::SessionDatabase;

use Modern::Perl;
use Dancer2::Plugin; 

use Carp qw(croak);
use Data::Dumper;

=head1 NAME

Dancer2::Plugin::SessionDatabase - Hook Loader For Dancer2::Session::DatabasePlugin

=head1 DESCRIPTION

lib/Dancer2/Session/DatabasePlugin.pm  view on Meta::CPAN

package Dancer2::Session::DatabasePlugin;

use Modern::Perl;
use Moo;
use Data::Dumper;
use Dancer2::Core::Types;
use Dancer2::Plugin::Database;
use Carp qw(croak);
use Ref::Util qw(is_plain_hashref);
use Storable qw(nfreeze thaw);
with 'Dancer2::Core::Role::SessionFactory';
our $VERSION="1.0014";

t/Dancer2-Plugin-SessionDatabase.t  view on Meta::CPAN

use Modern::Perl;
use Carp qw(confess);
BEGIN { $SIG{__DIE__} = sub { confess @_ }; }
use Test::More qw(no_plan);

my $class='Dancer2::Plugin::SessionDatabase';
require_ok($class);
use_ok($class);

done_testing;

t/Dancer2-Session-DatabasePlugin.t  view on Meta::CPAN

use Modern::Perl;
use Data::Dumper;
use Test::More qw(no_plan);
use Plack::Test;
use HTTP::Request::Common;
use File::Temp qw(tempfile);

eval 'require DBD::SQLite';
our $TEST_DB=!$@;

our $SESSION;

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.091 second using v1.00-cache-2.02-grep-82fe00e-cpan-48ebf85a1963 )