Dancer-Plugin-RPC

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.99_02 2016-01-26T14:24:13+01:00 (9159494 => abeltje)
 - (abeltje, Tue, 26 Jan 2016 14:24:13 +0100) Autocommit for distribution
   Dancer::Plugin::RPC 0.99_02 (test)

 - (Larion Garaczi, Tue, 26 Jan 2016 15:27:25 +0100) Bail out early when
   given an non-existing target function in the dispatch table
 -     This prevents strange runtime errors ("use of uninitialized value on
 -     subroutine entry") resulting from trying to call a non-function.

 - (Larion Garaczi, Tue, 26 Jan 2016 17:30:53 +0100) Replace
   Test::Exception with Test::Fatal

 - (abeltje, Tue, 26 Jan 2016 18:48:53 +0100) Merge remote-tracking branch
   'larion/bugfix_dont_call_nonexistent_handler' into
   feature/die_on_bad_dispatch

 - (abeltje, Tue, 26 Jan 2016 18:50:59 +0100) Fix MANIFEST after
   pull-request.

0.99_01 2016-01-25T12:22:42+01:00 (6993bdc => abeltje)
 - (abeltje, Mon, 25 Jan 2016 12:22:42 +0100) Autocommit for distribution

META.json  view on Meta::CPAN

      ]
   },
   "prereqs" : {
      "build" : {
         "requires" : {
            "Dancer" : "1.31",
            "JSON" : "2.0",
            "Moo" : "2",
            "Params::ValidationCompiler" : "0.24",
            "RPC::XML" : "0.56",
            "Test::Fatal" : "0.010",
            "Test::More" : "0.88",
            "Test::Warnings" : "0.030",
            "Time::HiRes" : "1.9719",
            "Types::Standard" : "1.00",
            "YAML" : "1.21",
            "namespace::autoclean" : "0"
         }
      },
      "configure" : {
         "requires" : {

META.yml  view on Meta::CPAN

---
abstract: 'Configure endpoints for XMLRPC, JSONRPC and RESTRPC procedures'
author:
  - 'Abe Timmerman <abeltje@cpan.org>'
build_requires:
  Dancer: '1.31'
  JSON: '2.0'
  Moo: '2'
  Params::ValidationCompiler: '0.24'
  RPC::XML: '0.56'
  Test::Fatal: '0.010'
  Test::More: '0.88'
  Test::Warnings: '0.030'
  Time::HiRes: '1.9719'
  Types::Standard: '1.00'
  YAML: '1.21'
  namespace::autoclean: '0'
configure_requires:
  ExtUtils::MakeMaker: 6.55_02
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.64, CPAN::Meta::Converter version 2.150010'

Makefile.PL  view on Meta::CPAN

    VERSION_FROM  => 'lib/Dancer/Plugin/RPC.pm',
    ABSTRACT_FROM => 'lib/Dancer/Plugin/RPC.pm',
    AUTHOR        => 'Abe Timmerman <abeltje@cpan.org>',
    LICENSE       => 'perl',

    PREREQ_PM          => $prereq_pm,
    CONFIGURE_REQUIRES => {
        'ExtUtils::MakeMaker' => '6.55_02',
    },
    BUILD_REQUIRES     => {
        'Test::Fatal'          => '0.010',
        'Test::More'           => '0.88',    # done_testing()
        'Test::Warnings'       => '0.030',
        'Moo'                  => 2,
        'namespace::autoclean' => 0,
        %$prereq_pm
    },

    MIN_PERL_VERSION => '5.010001',

    META_ADD => {

t/Test/abeltje.pm  view on Meta::CPAN

use v5.10.1;
use warnings;
use strict;

our $VERSION = '1.06';

use parent 'Test::Builder::Module';

use Test::Builder::Module;
use Test::More;
use Test::Fatal qw( exception success dies_ok lives_ok );
use Test::Warnings qw( :all );

our @EXPORT = (
    'abeltje_done_testing',

    @Test::More::EXPORT,
    @Test::Fatal::EXPORT_OK,
    @Test::Warnings::EXPORT_OK
);

sub import_extra {
    # use Test::Warnings 'warnings' interferes
    # with warnings->import()
    warnings::import('warnings');
    strict->import();

    require feature;

t/Test/abeltje.pm  view on Meta::CPAN


    # Don't forget -I. on the shebang line
    # this is where you have your Fav. test-routines.

    abeltje_done_testing();

=head1 DESCRIPTION

Mostly nicked from other modules (like L<Modern::Perl>)...

This gives you L<Test::More>, L<Test::Fatal>, L<Test::Warnings> and also imports
for you: L<strict>, L<warnings>, the L<feature> with the C<:5.10> tag and L<lib>
with the C<t/lib> path.

=head2 abeltje_done_testing

Just for fun, an alias for L<Test::More/done_testing()>.

=head2 import_extra

This module works by the use of L<Test::Builder::Module/import_extra()>.



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