DBICx-Hooks

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "DBIx::Class" : 0,
            "Exporter" : 0,
            "SQL::Translator" : "0.11006",
            "Scalar::Util" : 0,
            "parent" : 0
         }
      },
      "test" : {
         "requires" : {
            "Test::Deep" : 0,
            "Test::Fatal" : 0,
            "Test::MockObject" : 0,
            "Test::More" : "0.92"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "homepage" : "http://search.cpan.org/dist/DBICx-Hooks/",
      "repository" : {
         "type" : "git",

META.yml  view on Meta::CPAN

---
abstract: 'Provide hooks into DBIx::Class create()/update()/delete()'
author:
  - 'Pedro Melo <melo@simplicidade.org>'
build_requires:
  Test::Deep: 0
  Test::Fatal: 0
  Test::MockObject: 0
  Test::More: 0.92
configure_requires:
  ExtUtils::MakeMaker: 6.31
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.200001, CPAN::Meta::Converter version 2.102400'
license: artistic_2
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4

Makefile.PL  view on Meta::CPAN


use ExtUtils::MakeMaker 6.31;



my %WriteMakefileArgs = (
  'ABSTRACT' => 'Provide hooks into DBIx::Class create()/update()/delete()',
  'AUTHOR' => 'Pedro Melo <melo@simplicidade.org>',
  'BUILD_REQUIRES' => {
    'Test::Deep' => '0',
    'Test::Fatal' => '0',
    'Test::MockObject' => '0',
    'Test::More' => '0.92'
  },
  'CONFIGURE_REQUIRES' => {
    'ExtUtils::MakeMaker' => '6.31'
  },
  'DISTNAME' => 'DBICx-Hooks',
  'EXE_FILES' => [],
  'LICENSE' => 'artistic_2',
  'NAME' => 'DBICx::Hooks',

dist.ini  view on Meta::CPAN

parent          = 0
Exporter        = 0
Scalar::Util    = 0
DBIx::Class     = 0
SQL::Translator = 0.11006

[Prereqs / RuntimeRecommends]

[Prereqs / TestRequires]
Test::More       = 0.92
Test::Fatal      = 0
Test::Deep       = 0
Test::MockObject = 0

[Prereqs / TestRecommends]


[InstallGuide]


[Git::Check]

t/10-registry.t  view on Meta::CPAN

#!perl

use strict;
use warnings;
use Test::More;
use Test::Fatal;
use Test::Deep;
use Test::MockObject;
use DBICx::Hooks::Registry;


subtest 'good usage' => sub {
  my $cb1 = sub { };
  my $cb2 = sub { };

  is(scalar(dbic_hooks_for('Source', 'create')),

t/15-live.t  view on Meta::CPAN

#!perl

use strict;
use warnings;
use lib 't/tlib';
use Test::More;
use Test::Fatal;
use DBICx::Hooks::Registry;
use S;

### Setup
my $db   = S->test_db;
my $u_rs = $db->resultset('U');
my $b_rs = $db->resultset('B');


### Hook



( run in 1.043 second using v1.01-cache-2.11-cpan-54e63673c56 )