CXC-Form-Tiny-Plugin-OptArgs2

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::Version" : "1"
         }
      },
      "runtime" : {
         "requires" : {
            "Clone" : "0.46",
            "Form::Tiny" : "2.17",
            "Hash::Fold" : "1.00",
            "List::Util" : "1.29",
            "OptArgs2" : "2.00",
            "Ref::Util" : "0",
            "Scalar::Util" : "0",
            "Type::Params" : "0",
            "Types::Common::String" : "0",
            "Types::Standard" : "2.000",
            "Types::TypeTiny" : "2.004",
            "experimental" : "0.027",
            "namespace::clean" : "0",
            "perl" : "5.020"
         }
      },

META.json  view on Meta::CPAN

         },
         "requires" : {
            "ExtUtils::MakeMaker" : "0",
            "File::Spec" : "0",
            "IO::Handle" : "0",
            "IPC::Open3" : "0",
            "JSON::PP" : "0",
            "List::Util" : "1.29",
            "Package::Variant" : "0",
            "Path::Tiny" : "0.144",
            "Ref::Util" : "0",
            "Test2::V0" : "0",
            "Test::Lib" : "0",
            "Test::More" : "0",
            "Types::Path::Tiny" : "0"
         }
      }
   },
   "provides" : {
      "CXC::Form::Tiny::Plugin::OptArgs2" : {
         "file" : "lib/CXC/Form/Tiny/Plugin/OptArgs2.pm",

META.yml  view on Meta::CPAN

  - 'Diab Jerius <djerius@cpan.org>'
build_requires:
  ExtUtils::MakeMaker: '0'
  File::Spec: '0'
  IO::Handle: '0'
  IPC::Open3: '0'
  JSON::PP: '0'
  List::Util: '1.29'
  Package::Variant: '0'
  Path::Tiny: '0.144'
  Ref::Util: '0'
  Test2::V0: '0'
  Test::Lib: '0'
  Test::More: '0'
  Types::Path::Tiny: '0'
configure_requires:
  Module::Build::Tiny: '0.034'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010'
license: gpl
meta-spec:

META.yml  view on Meta::CPAN

    version: '0.12'
  CXC::Form::Tiny::Plugin::OptArgs2::Meta:
    file: lib/CXC/Form/Tiny/Plugin/OptArgs2/Meta.pm
    version: '0.12'
requires:
  Clone: '0.46'
  Form::Tiny: '2.17'
  Hash::Fold: '1.00'
  List::Util: '1.29'
  OptArgs2: '2.00'
  Ref::Util: '0'
  Scalar::Util: '0'
  Type::Params: '0'
  Types::Common::String: '0'
  Types::Standard: '2.000'
  Types::TypeTiny: '2.004'
  experimental: '0.027'
  namespace::clean: '0'
  perl: '5.020'
resources:
  bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=CXC-Form-Tiny-Plugin-OptArgs2

dist.ini  view on Meta::CPAN

; --- Project-specific directives

;[AutoPrereqs]

[Prereqs]
Clone                 = 0.46
Form::Tiny            = 2.17
Hash::Fold            = 1.00
List::Util            = 0.29
OptArgs2              = 2.00
Ref::Util             = 0
Scalar::Util          = 0
Type::Params          = 0
Types::Common::String = 0
Types::Standard       = 2.000
; for BoolLike
Types::TypeTiny       = 2.004
experimental          = 0.027
namespace::clean      = 0
perl                  = 5.020

[Prereqs / ConfigureRequires ]
Module::Build::Tiny   = 0

[Prereqs / TestRequires]
List::Util            = 1.29
Package::Variant      = 0
Path::Tiny            = 0.144
Ref::Util             = 0
Test2::V0             = 0
Test::Lib             = 0
Types::Path::Tiny     = 0
JSON::PP              = 0

; authordep Pod::Weaver::Plugin::StopWords
; authordep Pod::Weaver::Section::Contributors
; authordep Pod::Weaver::Section::GenerateSection
; authordep Pod::Weaver::Section::SeeAlso

lib/CXC/Form/Tiny/Plugin/OptArgs2/Meta.pm  view on Meta::CPAN

# ABSTRACT: Form metaclass role for OptArgs2

use v5.20;

use warnings;

our $VERSION = '0.12';

use Clone        ();
use Scalar::Util qw( blessed );
use Ref::Util    qw( is_plain_hashref is_arrayref is_regexpref is_ref );
use Form::Tiny::Utils 'get_package_form_meta';
use Types::Standard
  qw( ArrayRef Bool CodeRef Dict Enum Int Optional RegexpRef Str Tuple Undef Value );
use Type::Params          qw( signature_for );
use Types::Common::String qw ( NonEmptySimpleStr NonEmptyStr );

use Moo::Role;

use experimental 'signatures', 'postderef', 'lexical_subs';

t/00-report-prereqs.dd  view on Meta::CPAN

                                      'Test::Version' => '1'
                                    }
                    },
       'runtime' => {
                      'requires' => {
                                      'Clone' => '0.46',
                                      'Form::Tiny' => '2.17',
                                      'Hash::Fold' => '1.00',
                                      'List::Util' => '1.29',
                                      'OptArgs2' => '2.00',
                                      'Ref::Util' => '0',
                                      'Scalar::Util' => '0',
                                      'Type::Params' => '0',
                                      'Types::Common::String' => '0',
                                      'Types::Standard' => '2.000',
                                      'Types::TypeTiny' => '2.004',
                                      'experimental' => '0.027',
                                      'namespace::clean' => '0',
                                      'perl' => '5.020'
                                    }
                    },

t/00-report-prereqs.dd  view on Meta::CPAN

                                   },
                   'requires' => {
                                   'ExtUtils::MakeMaker' => '0',
                                   'File::Spec' => '0',
                                   'IO::Handle' => '0',
                                   'IPC::Open3' => '0',
                                   'JSON::PP' => '0',
                                   'List::Util' => '1.29',
                                   'Package::Variant' => '0',
                                   'Path::Tiny' => '0.144',
                                   'Ref::Util' => '0',
                                   'Test2::V0' => '0',
                                   'Test::Lib' => '0',
                                   'Test::More' => '0',
                                   'Types::Path::Tiny' => '0'
                                 }
                 }
     };
  $x;
 }

t/inherit.t  view on Meta::CPAN

#! perl

use v5.20;

use Test2::V0;
use Test::Lib;

use My::Test::AutoCleanHash;
use OptArgs2;
use Ref::Util 'is_regexpref';
use List::Util 'pairmap';

use experimental 'signatures', 'postderef';

##no critic (Modules::ProhibitMultiplePackages)

package My::SubForm0 {

    use Form::Tiny plugins => ['+CXC::Form::Tiny::Plugin::OptArgs2'];

t/optargs_opts.t  view on Meta::CPAN

#! perl

use v5.20;

use Test2::V0;
use Test::Lib;

use My::Test::AutoCleanHash;
use OptArgs2;
use Ref::Util 'is_regexpref';
use List::Util 'pairmap';

use experimental 'signatures', 'postderef';

##no critic (Modules::ProhibitMultiplePackages)

package My::Variant {

    use Package::Variant
      importing => [



( run in 0.264 second using v1.01-cache-2.11-cpan-4d50c553e7e )