DBIx-ThinSQL

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Path::Tiny" : "0",
            "perl" : "5.010",
            "strict" : "0",
            "warnings" : "0"
         }
      },
      "test" : {
         "requires" : {
            "File::chdir" : "0",
            "Test::Database" : "0",
            "Test::Fatal" : "0",
            "Test::More" : "0"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {},
      "repository" : {
         "type" : "git",
         "url" : "ssh://git@github.com/mlawren/p5-DBIx-ThinSQL.git"

META.yml  view on Meta::CPAN

---
abstract: 'A lightweight SQL helper for DBI'
author:
  - 'Mark Lawrence <nomad@null.net>'
build_requires:
  ExtUtils::MakeMaker: '0'
  File::chdir: '0'
  Test::Database: '0'
  Test::Fatal: '0'
  Test::More: '0'
configure_requires:
  ExtUtils::MakeMaker::CPANfile: '0.08'
  File::ShareDir::Install: '0'
dynamic_config: 0
generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010'
license: gpl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'

cpanfile  view on Meta::CPAN

    };
};

on develop => sub {
    requires 'App::githook::perltidy';
};

on test => sub {
    requires 'File::chdir'    => 0;
    requires 'Test::Database' => 0;
    requires 'Test::Fatal'    => 0;
    requires 'Test::More'     => 0;
};

t/DBIx/ThinSQL.t  view on Meta::CPAN

use strict;
use warnings;
use lib 't/lib';
use DBIx::ThinSQL ':all';
use Test::DBIx::ThinSQL qw/run_in_tempdir/;
use Test::Fatal qw/exception/;
use Test::More;

plan skip_all => 'only test with DBD::SQLite'
  unless eval { require DBD::SQLite };

# now let's make a database check our syntax
run_in_tempdir {

    my $driver = eval { require DBD::SQLite } ? 'SQLite' : 'DBM';

t/DBIx/ThinSQL/Drop.t  view on Meta::CPAN

use strict;
use warnings;
use lib 't/lib';
use DBIx::ThinSQL;
use DBIx::ThinSQL::Drop;
use Test::DBIx::ThinSQL qw/run_in_tempdir/;
use Test::Database;
use Test::Fatal qw/exception/;
use Test::More;

my $handle_count;

foreach my $handle ( Test::Database->handles(qw/SQLite Pg DBM/) ) {
    $handle_count++;

    run_in_tempdir {
        $handle->driver->drop_database( $handle->name )
          if $handle->dbd eq 'SQLite';



( run in 2.222 seconds using v1.01-cache-2.11-cpan-54e63673c56 )