Business-GoCardless

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.09     2014-09-17
        - Document the confirmation of webhooks

0.08     2014-09-16
        - POD updates

0.07     2014-09-16
        - Add Webhook support (https://developer.gocardless.com/#webhook-overview)

0.06     2014-09-10
        - Replace use of TryCatch with Try::Tiny in tests

0.05     2014-09-06
        - Kwalitee improvements in distribution

0.04     2014-09-06
        - fix test failures for checking JSON boolean values

0.03     2014-09-04
        - Correct links in perldoc

META.json  view on Meta::CPAN

   },
   "prereqs" : {
      "build" : {
         "requires" : {
            "FindBin" : "0",
            "LWP::Simple" : "6",
            "Test::Deep" : "0.112",
            "Test::Exception" : "0.32",
            "Test::MockObject" : "1.20140408",
            "Test::Most" : "0.31",
            "Try::Tiny" : "0.22"
         }
      },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "Carp" : "0",

META.yml  view on Meta::CPAN

abstract: unknown
author:
  - 'Lee Johnson <leejo@cpan.org>'
build_requires:
  FindBin: '0'
  LWP::Simple: '6'
  Test::Deep: '0.112'
  Test::Exception: '0.32'
  Test::MockObject: '1.20140408'
  Test::Most: '0.31'
  Try::Tiny: '0.22'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Business-GoCardless
no_index:

Makefile.PL  view on Meta::CPAN

        'LWP::Protocol::https' => 6.00,
        'JSON'                 => 2.90,
    },
    BUILD_REQUIRES => {
        'Test::Most'       => 0.31,
        'Test::Deep'       => 0.112,
        'Test::Exception'  => 0.32,
        'FindBin'          => 0, # FindBin was first released with perl 5.00307
        'LWP::Simple'      => 6.00,
        'Test::MockObject' => 1.20140408,
        'Try::Tiny'        => 0.22,
    },
    META_MERGE => {
        resources => {
            license    => 'http://dev.perl.org/licenses/',
            homepage   => 'https://metacpan.org/module/Business::GoCardless',
            bugtracker => 'https://github.com/Humanstate/business-gocardless/issues',
            repository => 'https://github.com/Humanstate/business-gocardless'
        },
    },
    test => {

t/business/gocardless/exception.t  view on Meta::CPAN

#!perl

use strict;
use warnings;

use Test::Most;
use Test::Exception;
use Try::Tiny;

use_ok( 'Business::GoCardless::Exception' );

throws_ok(
    sub { Business::GoCardless::Exception->throw },
    qr/Missing required arguments: message/,
    '->throw requires a message',
);

throws_ok(

t/business/gocardless/exception.t  view on Meta::CPAN

    ' ... message coerced and available'
);

try {
    Business::GoCardless::Exception->throw(
        message => 'Boo!'
    );
}
catch {
    isa_ok( $_,'Business::GoCardless::Exception' );
    is( $_->message,'Boo!','Try::Tiny catches exceptions' );
};

done_testing();

# vim: ts=4:sw=4:et



( run in 0.524 second using v1.01-cache-2.11-cpan-05444aca049 )