view release on metacpan or search on metacpan
lib/AWS/Lambda/Quick.pm
lib/AWS/Lambda/Quick/CreateZip.pm
lib/AWS/Lambda/Quick/Processor.pm
lib/AWS/Lambda/Quick/Upload.pm
perlcriticrc
perltidyrc
t/00-report-prereqs.dd
t/00-report-prereqs.t
t/02zip.t
t/03process.t
t/lib/TestHelper/CreateTestFiles.pm
tidyall.ini
xt/author/00-compile.t
xt/author/eol.t
xt/author/mojibake.t
xt/author/no-tabs.t
xt/author/pod-spell.t
xt/author/pod-syntax.t
xt/author/portability.t
xt/author/test-version.t
xt/author/tidyall.t
},
"name" : "AWS-Lambda-Quick",
"prereqs" : {
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"develop" : {
"requires" : {
"Code::TidyAll::Plugin::Test::Vars" : "0.02",
"File::Spec" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Parallel::ForkManager" : "1.19",
"Perl::Critic" : "1.126",
"Perl::Tidy" : "20160302",
"Pod::Wordlist" : "0",
"Test::CPAN::Changes" : "0.19",
"Test::CPAN::Meta::JSON" : "0.16",
"Test::Code::TidyAll" : "0.50",
"Test::EOL" : "0",
"Test::Mojibake" : "0",
"Test::More" : "0.96",
"Test::NoTabs" : "0",
"Test::Pod" : "1.41",
"Test::Portability::Files" : "0",
"Test::Spelling" : "0.12",
"Test::Vars" : "0.009",
"Test::Version" : "2.05",
"perl" : "5.006"
}
},
"runtime" : {
"requires" : {
"AWS::CLIWrapper" : "0",
"Archive::Zip" : "0",
"File::Temp" : "0",
"JSON::PP" : "0",
"Mo" : "0",
---
abstract: 'quickly create a REST accesible AWS Lambda function'
author:
- 'Mark Fowler <mark@twoshortplanks.com>'
build_requires:
Exporter: '0'
ExtUtils::MakeMaker: '0'
File::Spec: '0'
FindBin: '0'
HTTP::Tiny: '0'
Test2::V0: '0'
Test::More: '1.302015'
Test::TempDir::Tiny: '0'
base: '0'
lib: '0'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.012, 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 = AWS-Lambda-Quick
author = Mark Fowler <mark@twoshortplanks.com>
copyright_holder = Mark Fowler
[@MAXMIND]
dist = AWS-Lambda-Quick
-remove = MAXMIND::Contributors
-remove = Test::CleanNamespaces
-remove = Test::Synopsis
-remove = UploadToCPAN
-remove = Test::Pod::Coverage::Configurable
stopwords = AWS
[UploadToCPAN]
perlcriticrc view on Meta::CPAN
[RegularExpressions::ProhibitComplexRegexes]
max_characters = 200
[RegularExpressions::ProhibitUnusualDelimiters]
severity = 3
[Subroutines::ProhibitUnusedPrivateSubroutines]
private_name_regex = _(?!build)\w+
[TestingAndDebugging::ProhibitNoWarnings]
allow = redefine
[ValuesAndExpressions::ProhibitEmptyQuotes]
severity = 3
[ValuesAndExpressions::ProhibitInterpolationOfLiterals]
severity = 3
[ValuesAndExpressions::RequireUpperCaseHeredocTerminator]
severity = 3
[Variables::ProhibitPackageVars]
add_packages = Test::Builder
[-ControlStructures::ProhibitCascadingIfElse]
[-ErrorHandling::RequireCarping]
[-InputOutput::RequireBriefOpen]
[-ValuesAndExpressions::ProhibitConstantPragma]
# No need for /xsm everywhere
[-RegularExpressions::RequireDotMatchAnything]
t/00-report-prereqs.dd view on Meta::CPAN
do { my $x = {
'configure' => {
'requires' => {
'ExtUtils::MakeMaker' => '0'
}
},
'develop' => {
'requires' => {
'Code::TidyAll::Plugin::Test::Vars' => '0.02',
'File::Spec' => '0',
'IO::Handle' => '0',
'IPC::Open3' => '0',
'Parallel::ForkManager' => '1.19',
'Perl::Critic' => '1.126',
'Perl::Tidy' => '20160302',
'Pod::Wordlist' => '0',
'Test::CPAN::Changes' => '0.19',
'Test::CPAN::Meta::JSON' => '0.16',
'Test::Code::TidyAll' => '0.50',
'Test::EOL' => '0',
'Test::Mojibake' => '0',
'Test::More' => '0.96',
'Test::NoTabs' => '0',
'Test::Pod' => '1.41',
'Test::Portability::Files' => '0',
'Test::Spelling' => '0.12',
'Test::Vars' => '0.009',
'Test::Version' => '2.05',
'perl' => '5.006'
}
},
'runtime' => {
'requires' => {
'AWS::CLIWrapper' => '0',
'Archive::Zip' => '0',
'File::Temp' => '0',
'JSON::PP' => '0',
'Mo' => '0',
#!/usr/bin/perl
use strict;
use warnings;
use FindBin;
use Path::Tiny qw(path);
use lib path( $FindBin::Bin, 'lib' )->stringify;
use Test2::V0;
use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
use AWS::Lambda::Quick::CreateZip ();
use TestHelper::CreateTestFiles qw(populated_tempdir);
my $tempdir = populated_tempdir();
my $zip_filename = path( $tempdir, 'handler.zip' );
AWS::Lambda::Quick::CreateZip->new(
src_filename => path( $tempdir, 'src', 'handler.pl' ),
zip_filename => $zip_filename,
extra_files => ['lib'],
)->create_zip;
t/03process.t view on Meta::CPAN
#!/usr/bin/perl
use strict;
use warnings;
use FindBin;
use Path::Tiny qw(path);
use lib path( $FindBin::Bin, 'lib' )->stringify;
use Test2::V0;
use HTTP::Tiny ();
use AWS::Lambda::Quick::Processor ();
use TestHelper::CreateTestFiles qw(populated_tempdir);
ok( 1, 'processor compiled' );
if ( $ENV{DO_AWS_TESTS} ) {
my $tempdir = populated_tempdir();
my $zip_filename = path( $tempdir, 'handler.zip' );
# upload;
my $url = AWS::Lambda::Quick::Processor->new(
t/lib/TestHelper/CreateTestFiles.pm view on Meta::CPAN
package TestHelper::CreateTestFiles;
use strict;
use warnings;
use Test::TempDir::Tiny qw( tempdir );
use Path::Tiny qw( path );
use base qw(Exporter);
our @EXPORT_OK = qw( populated_tempdir );
sub populated_tempdir {
# make a clean temp dir
my $tempdir = path( tempdir() );
$tempdir->remove_tree if -e $tempdir;
tidyall.ini view on Meta::CPAN
ignore = .build/**/*
ignore = AWS-Lambda-Quick-*/**/*
ignore = blib/**/*
ignore = t/00-*
ignore = t/author-*
ignore = t/release-*
ignore = t/zzz-*
ignore = xt/**/*
argv = --profile=$ROOT/perltidyrc
[Test::Vars]
select = **/*.pm
ignore = .build/**/*
ignore = AWS-Lambda-Quick-*/**/*
ignore = blib/**/*
ignore = t/00-*
ignore = t/author-*
ignore = t/release-*
ignore = t/zzz-*
ignore = xt/**/*
xt/author/00-compile.t view on Meta::CPAN
use 5.006;
use strict;
use warnings;
# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058
use Test::More;
plan tests => 5;
my @module_files = (
'AWS/Lambda/Quick.pm',
'AWS/Lambda/Quick/CreateZip.pm',
'AWS/Lambda/Quick/Processor.pm',
'AWS/Lambda/Quick/Upload.pm'
);
xt/author/mojibake.t view on Meta::CPAN
#!perl
use strict;
use warnings qw(all);
use Test::More;
use Test::Mojibake;
all_files_encoding_ok();
xt/author/no-tabs.t view on Meta::CPAN
use strict;
use warnings;
# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.15
use Test::More 0.88;
use Test::NoTabs;
my @files = (
'lib/AWS/Lambda/Quick.pm',
'lib/AWS/Lambda/Quick/CreateZip.pm',
'lib/AWS/Lambda/Quick/Processor.pm',
'lib/AWS/Lambda/Quick/Upload.pm',
't/00-report-prereqs.dd',
't/00-report-prereqs.t',
't/02zip.t',
't/03process.t',
't/lib/TestHelper/CreateTestFiles.pm'
);
notabs_ok($_) foreach @files;
done_testing;
xt/author/pod-spell.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007005
use Test::Spelling 0.12;
use Pod::Wordlist;
add_stopwords(<DATA>);
all_pod_files_spelling_ok( qw( bin lib ) );
__DATA__
AWS
Alders
Alders'
CreateZip
xt/author/pod-syntax.t view on Meta::CPAN
#!perl
# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use strict; use warnings;
use Test::More;
use Test::Pod 1.41;
all_pod_files_ok();
xt/author/portability.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
eval 'use Test::Portability::Files';
plan skip_all => 'Test::Portability::Files required for testing portability'
if $@;
run_tests();
xt/author/test-version.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
# generated by Dist::Zilla::Plugin::Test::Version 1.09
use Test::Version;
my @imports = qw( version_all_ok );
my $params = {
is_strict => 1,
has_version => 1,
multiple => 0,
};
push @imports, $params
if version->parse( $Test::Version::VERSION ) >= version->parse('1.002');
Test::Version->import(@imports);
version_all_ok;
done_testing;
xt/author/tidyall.t view on Meta::CPAN
# This file was automatically generated by Dist::Zilla::Plugin::Test::TidyAll v$VERSION
use Test::More 0.88;
BEGIN {
if ( $] < 5.010 ) {
plan skip_all => 'This test requires Perl version 5.010';
}
}
use Test::Code::TidyAll 0.24;
tidyall_ok(
verbose => ( exists $ENV{TEST_TIDYALL_VERBOSE} ? $ENV{TEST_TIDYALL_VERBOSE} : 1 ),
jobs => ( exists $ENV{TEST_TIDYALL_JOBS} ? $ENV{TEST_TIDYALL_JOBS} : 4 ),
);
done_testing;
xt/release/cpan-changes.t view on Meta::CPAN
use strict;
use warnings;
# this test was generated with Dist::Zilla::Plugin::Test::CPAN::Changes 0.012
use Test::More 0.96 tests => 1;
use Test::CPAN::Changes;
subtest 'changes_ok' => sub {
changes_file_ok('Changes');
};
xt/release/meta-json.t view on Meta::CPAN
#!perl
use Test::CPAN::Meta::JSON;
meta_json_ok();
view all matches for this distributionview release on metacpan - search on metacpan