Dancer-Plugin-SimpleCRUD

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "CGI::FormBuilder" : "3.1",
            "DBD::SQLite" : "1.5",
            "Dancer" : "1.3",
            "Dancer::Plugin::Auth::Extensible" : "0",
            "Dancer::Plugin::Database" : "2.13",
            "Dancer::Plugin::Database::Core" : "0.2",
            "HTML::Table::FromDatabase" : "1.1",
            "HTML::TreeBuilder" : "5.03",
            "List::MoreUtils" : "0.416",
            "Moo" : "0",
            "Test::Differences" : "0.64",
            "Test::More" : "0"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "web" : "https://github.com/bigpresh/Dancer-Plugin-SimpleCRUD/issues"
      },
      "homepage" : "https://github.com/bigpresh/Dancer-Plugin-SimpleCRUD/wiki/Quick-intro",

META.yml  view on Meta::CPAN

  CGI::FormBuilder: '3.1'
  DBD::SQLite: '1.5'
  Dancer: '1.3'
  Dancer::Plugin::Auth::Extensible: '0'
  Dancer::Plugin::Database: '2.13'
  Dancer::Plugin::Database::Core: '0.2'
  HTML::Table::FromDatabase: '1.1'
  HTML::TreeBuilder: '5.03'
  List::MoreUtils: '0.416'
  Moo: '0'
  Test::Differences: '0.64'
  Test::More: '0'
resources:
  bugtracker: https://github.com/bigpresh/Dancer-Plugin-SimpleCRUD/issues
  homepage: https://github.com/bigpresh/Dancer-Plugin-SimpleCRUD/wiki/Quick-intro
  repository: https://github.com/bigpresh/Dancer-Plugin-SimpleCRUD
version: '1.16'

Makefile.PL  view on Meta::CPAN

    NAME                => 'Dancer::Plugin::SimpleCRUD',
    AUTHOR              => q{David Precious <davidp@preshweb.co.uk>},
    VERSION_FROM        => 'lib/Dancer/Plugin/SimpleCRUD.pm',
    ABSTRACT_FROM       => 'lib/Dancer/Plugin/SimpleCRUD.pm',
    ($ExtUtils::MakeMaker::VERSION >= 6.3002
      ? ('LICENSE'=> 'perl')
      : ()),
    PL_FILES            => {},
    PREREQ_PM => {
        'Test::More' => 0,
        'Test::Differences' => 0.64,
        'Dancer'     => 1.3,
        'Dancer::Plugin::Database' => 2.13,
        'Dancer::Plugin::Database::Core' => 0.20,
        #'Dancer::Plugin::DBIC' => 0.2104,  # we do not make this a hard dependency
        #'DBIx::Class::Schema::Loader' => 0.07049, # also not a hard dependency
        'HTML::Table::FromDatabase' => 1.10,
        'CGI::FormBuilder' => 3.10,
        'DBD::SQLite'   => 1.50,
        'HTML::TreeBuilder' => 5.03,
        'List::MoreUtils' => 0.416,

t/lib/TestAppBase.pm  view on Meta::CPAN

package t::lib::TestAppBase;

use Dancer ':syntax';
use Dancer::Logger;
use Dancer::Test;

use Test::More import => ['!pass'];
use Test::Differences;
use HTML::TreeBuilder;

use Moo;
has 'dbh'      => (is=>'rw', required=>1);
has 'provider' => (is=>'rw', required=>1); # "Database" or "DBIC"
has 'trap'     => (is=>'rw', default=>sub { Dancer::Logger::Capture->trap } );

BEGIN {
    eval { use Dancer::Plugin::SimpleCRUD; };
    if ($@) { die "Can't load Dancer::Plugin::SimpleCRUD. Bail out!\n"; }



( run in 1.659 second using v1.01-cache-2.11-cpan-2398b32b56e )