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",
"test" : {
"recommends" : {
"CPAN::Meta" : "2.120900"
},
"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"
}
}
},
"provides" : {
"AWS::Lambda::Quick" : {
"file" : "lib/AWS/Lambda/Quick.pm",
"version" : "1.0002"
},
},
"version" : 1.0002,
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.028001"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
"config" : {
"Dist::Zilla::Role::TestRunner" : {
"default_jobs" : 1
}
},
"name" : "@MAXMIND/MakeMaker",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
"config" : {
"Dist::Zilla::Plugin::GatherDir" : {
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@MAXMIND/Manifest",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::CheckVersionIncrement",
"name" : "@MAXMIND/CheckVersionIncrement",
"version" : "0.121750"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@MAXMIND/TestRelease",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@MAXMIND/ConfirmRelease",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::MAXMIND::VersionProvider",
"name" : "@MAXMIND/MAXMIND::VersionProvider",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
"config" : {
"Dist::Zilla::Plugin::Prereqs" : {
"phase" : "test",
"type" : "requires"
}
},
"name" : "@MAXMIND/Test::More with Test2",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
"config" : {
"Dist::Zilla::Plugin::Prereqs" : {
"phase" : "develop",
"type" : "requires"
}
},
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
"config" : {
"Dist::Zilla::Plugin::Prereqs" : {
"phase" : "develop",
"type" : "requires"
}
},
"name" : "@MAXMIND/Test::Version which fixes https://github.com/plicease/Test-Version/issues/7",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
"config" : {
"Dist::Zilla::Plugin::PromptIfStale" : {
"check_all_plugins" : 0,
"check_all_prereqs" : 0,
"modules" : [
"Dist::Zilla::PluginBundle::MAXMIND"
"Dist::Zilla::Plugin::MAXMIND::TidyAll",
"Dist::Zilla::Plugin::MAXMIND::VersionProvider",
"Pod::Weaver::PluginBundle::MAXMIND"
]
}
},
"name" : "@MAXMIND/PromptIfStale",
"version" : "0.055"
},
{
"class" : "Dist::Zilla::Plugin::Test::PodSpelling",
"config" : {
"Dist::Zilla::Plugin::Test::PodSpelling" : {
"directories" : [
"bin",
"lib"
],
"spell_cmd" : "",
"stopwords" : [
"AWS",
"Alders",
"Alders'",
"Eilam",
"MaxMind's",
"Oschwald",
"Oschwald's",
"PayPal",
"Rolsky",
"Rolsky's"
],
"wordlist" : "Pod::Wordlist"
}
},
"name" : "@MAXMIND/Test::PodSpelling",
"version" : "2.007005"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@MAXMIND/PodSyntaxTests",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::RunExtraTests",
"config" : {
"Dist::Zilla::Role::TestRunner" : {
"default_jobs" : 1
}
},
"name" : "@MAXMIND/RunExtraTests",
"version" : "0.029"
},
{
"class" : "Dist::Zilla::Plugin::MojibakeTests",
"name" : "@MAXMIND/MojibakeTests",
"version" : "0.8"
},
{
"class" : "Dist::Zilla::Plugin::Test::CPAN::Changes",
"config" : {
"Dist::Zilla::Plugin::Test::CPAN::Changes" : {
"changelog" : "Changes"
}
},
"name" : "@MAXMIND/Test::CPAN::Changes",
"version" : "0.012"
},
{
"class" : "Dist::Zilla::Plugin::Test::CPAN::Meta::JSON",
"name" : "@MAXMIND/Test::CPAN::Meta::JSON",
"version" : "0.004"
},
{
"class" : "Dist::Zilla::Plugin::Test::EOL",
"config" : {
"Dist::Zilla::Plugin::Test::EOL" : {
"filename" : "xt/author/eol.t",
"finder" : [
":ExecFiles",
":InstallModules",
":TestFiles"
],
"trailing_whitespace" : 1
}
},
"name" : "@MAXMIND/Test::EOL",
"version" : "0.19"
},
{
"class" : "Dist::Zilla::Plugin::Test::NoTabs",
"config" : {
"Dist::Zilla::Plugin::Test::NoTabs" : {
"filename" : "xt/author/no-tabs.t",
"finder" : [
":InstallModules",
":ExecFiles",
":TestFiles"
]
}
},
"name" : "@MAXMIND/Test::NoTabs",
"version" : "0.15"
},
{
"class" : "Dist::Zilla::Plugin::Test::Portability",
"config" : {
"Dist::Zilla::Plugin::Test::Portability" : {
"options" : ""
}
},
"name" : "@MAXMIND/Test::Portability",
"version" : "2.001000"
},
{
"class" : "Dist::Zilla::Plugin::Test::TidyAll",
"name" : "@MAXMIND/Test::TidyAll",
"version" : "0.04"
},
{
"class" : "Dist::Zilla::Plugin::Test::Compile",
"config" : {
"Dist::Zilla::Plugin::Test::Compile" : {
"bail_out_on_fail" : 0,
"fail_on_warning" : "author",
"fake_home" : 0,
"filename" : "xt/author/00-compile.t",
"module_finder" : [
":InstallModules"
],
"needs_display" : 0,
"phase" : "develop",
"script_finder" : [
":PerlExecFiles"
],
"skips" : [],
"switch" : []
}
},
"name" : "@MAXMIND/Test::Compile",
"version" : "2.058"
},
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
"name" : "@MAXMIND/Test::ReportPrereqs",
"version" : "0.027"
},
{
"class" : "Dist::Zilla::Plugin::Test::Version",
"name" : "@MAXMIND/Test::Version",
"version" : "1.09"
},
{
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
"git_version" : "2.21.0 (Apple Git-122.2)",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
"name" : ":InstallModules",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExtraTestFiles",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
"version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":PerlExecFiles",
---
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'
homepage: http://metacpan.org/release/AWS-Lambda-Quick
repository: git://github.com/2shortplanks/aws-lambda-quick.git
version: '1.0002'
x_Dist_Zilla:
perl:
version: '5.028001'
plugins:
-
class: Dist::Zilla::Plugin::MakeMaker
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 1
name: '@MAXMIND/MakeMaker'
version: '6.012'
-
class: Dist::Zilla::Plugin::Git::GatherDir
config:
Dist::Zilla::Plugin::GatherDir:
exclude_filename:
- CONTRIBUTING.md
- LICENSE
version: '6.012'
-
class: Dist::Zilla::Plugin::Manifest
name: '@MAXMIND/Manifest'
version: '6.012'
-
class: Dist::Zilla::Plugin::CheckVersionIncrement
name: '@MAXMIND/CheckVersionIncrement'
version: '0.121750'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@MAXMIND/TestRelease'
version: '6.012'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@MAXMIND/ConfirmRelease'
version: '6.012'
-
class: Dist::Zilla::Plugin::MAXMIND::VersionProvider
name: '@MAXMIND/MAXMIND::VersionProvider'
version: '0.83'
-
-
class: Dist::Zilla::Plugin::NextRelease
name: '@MAXMIND/NextRelease'
version: '6.012'
-
class: Dist::Zilla::Plugin::Prereqs
config:
Dist::Zilla::Plugin::Prereqs:
phase: test
type: requires
name: '@MAXMIND/Test::More with Test2'
version: '6.012'
-
class: Dist::Zilla::Plugin::Prereqs
config:
Dist::Zilla::Plugin::Prereqs:
phase: develop
type: requires
name: '@MAXMIND/Modules for use with tidyall'
version: '6.012'
-
class: Dist::Zilla::Plugin::Prereqs
config:
Dist::Zilla::Plugin::Prereqs:
phase: develop
type: requires
name: '@MAXMIND/Test::Version which fixes https://github.com/plicease/Test-Version/issues/7'
version: '6.012'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
Dist::Zilla::Plugin::PromptIfStale:
check_all_plugins: 0
check_all_prereqs: 0
modules:
- Dist::Zilla::PluginBundle::MAXMIND
phase: build
- Dist::Zilla::Plugin::MAXMIND::CheckChangesHasContent
- Dist::Zilla::Plugin::MAXMIND::Contributors
- Dist::Zilla::Plugin::MAXMIND::Git::CheckFor::CorrectBranch
- Dist::Zilla::Plugin::MAXMIND::License
- Dist::Zilla::Plugin::MAXMIND::TidyAll
- Dist::Zilla::Plugin::MAXMIND::VersionProvider
- Pod::Weaver::PluginBundle::MAXMIND
name: '@MAXMIND/PromptIfStale'
version: '0.055'
-
class: Dist::Zilla::Plugin::Test::PodSpelling
config:
Dist::Zilla::Plugin::Test::PodSpelling:
directories:
- bin
- lib
spell_cmd: ''
stopwords:
- AWS
- Alders
- "Alders'"
- Eilam
- "Eilam's"
- MAXMIND
- "MAXMIND's"
- MaxMind
- "MaxMind's"
- Oschwald
- "Oschwald's"
- PayPal
- Rolsky
- "Rolsky's"
wordlist: Pod::Wordlist
name: '@MAXMIND/Test::PodSpelling'
version: '2.007005'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@MAXMIND/PodSyntaxTests'
version: '6.012'
-
class: Dist::Zilla::Plugin::RunExtraTests
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 1
name: '@MAXMIND/RunExtraTests'
version: '0.029'
-
class: Dist::Zilla::Plugin::MojibakeTests
name: '@MAXMIND/MojibakeTests'
version: '0.8'
-
class: Dist::Zilla::Plugin::Test::CPAN::Changes
config:
Dist::Zilla::Plugin::Test::CPAN::Changes:
changelog: Changes
name: '@MAXMIND/Test::CPAN::Changes'
version: '0.012'
-
class: Dist::Zilla::Plugin::Test::CPAN::Meta::JSON
name: '@MAXMIND/Test::CPAN::Meta::JSON'
version: '0.004'
-
class: Dist::Zilla::Plugin::Test::EOL
config:
Dist::Zilla::Plugin::Test::EOL:
filename: xt/author/eol.t
finder:
- ':ExecFiles'
- ':InstallModules'
- ':TestFiles'
trailing_whitespace: 1
name: '@MAXMIND/Test::EOL'
version: '0.19'
-
class: Dist::Zilla::Plugin::Test::NoTabs
config:
Dist::Zilla::Plugin::Test::NoTabs:
filename: xt/author/no-tabs.t
finder:
- ':InstallModules'
- ':ExecFiles'
- ':TestFiles'
name: '@MAXMIND/Test::NoTabs'
version: '0.15'
-
class: Dist::Zilla::Plugin::Test::Portability
config:
Dist::Zilla::Plugin::Test::Portability:
options: ''
name: '@MAXMIND/Test::Portability'
version: '2.001000'
-
class: Dist::Zilla::Plugin::Test::TidyAll
name: '@MAXMIND/Test::TidyAll'
version: '0.04'
-
class: Dist::Zilla::Plugin::Test::Compile
config:
Dist::Zilla::Plugin::Test::Compile:
bail_out_on_fail: '0'
fail_on_warning: author
fake_home: 0
filename: xt/author/00-compile.t
module_finder:
- ':InstallModules'
needs_display: 0
phase: develop
script_finder:
- ':PerlExecFiles'
skips: []
switch: []
name: '@MAXMIND/Test::Compile'
version: '2.058'
-
class: Dist::Zilla::Plugin::Test::ReportPrereqs
name: '@MAXMIND/Test::ReportPrereqs'
version: '0.027'
-
class: Dist::Zilla::Plugin::Test::Version
name: '@MAXMIND/Test::Version'
version: '1.09'
-
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
git_version: '2.21.0 (Apple Git-122.2)'
include_authors: 0
include_releaser: 1
order_by: name
paths: []
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExtraTestFiles'
version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':PerlExecFiles'
version: '6.012'
-
Makefile.PL view on Meta::CPAN
"autodie" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_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
},
"VERSION" => "1.0002",
"test" => {
"TESTS" => "t/*.t"
}
);
Makefile.PL view on Meta::CPAN
"Archive::Zip" => 0,
"Exporter" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"File::Temp" => 0,
"FindBin" => 0,
"HTTP::Tiny" => 0,
"JSON::PP" => 0,
"Mo" => 0,
"Path::Tiny" => 0,
"Test2::V0" => 0,
"Test::More" => "1.302015",
"Test::TempDir::Tiny" => 0,
"autodie" => 0,
"base" => 0,
"lib" => 0,
"strict" => 0,
"warnings" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
requires "autodie" => "0";
requires "strict" => "0";
requires "warnings" => "0";
on 'test' => sub {
requires "Exporter" => "0";
requires "ExtUtils::MakeMaker" => "0";
requires "File::Spec" => "0";
requires "FindBin" => "0";
requires "HTTP::Tiny" => "0";
requires "Test2::V0" => "0";
requires "Test::More" => "1.302015";
requires "Test::TempDir::Tiny" => "0";
requires "base" => "0";
requires "lib" => "0";
};
on 'test' => sub {
recommends "CPAN::Meta" => "2.120900";
};
on 'configure' => sub {
requires "ExtUtils::MakeMaker" => "0";
};
on 'develop' => sub {
requires "Code::TidyAll::Plugin::Test::Vars" => "0.02";
requires "File::Spec" => "0";
requires "IO::Handle" => "0";
requires "IPC::Open3" => "0";
requires "Parallel::ForkManager" => "1.19";
requires "Perl::Critic" => "1.126";
requires "Perl::Tidy" => "20160302";
requires "Pod::Wordlist" => "0";
requires "Test::CPAN::Changes" => "0.19";
requires "Test::CPAN::Meta::JSON" => "0.16";
requires "Test::Code::TidyAll" => "0.50";
requires "Test::EOL" => "0";
requires "Test::Mojibake" => "0";
requires "Test::More" => "0.96";
requires "Test::NoTabs" => "0";
requires "Test::Pod" => "1.41";
requires "Test::Portability::Files" => "0";
requires "Test::Spelling" => "0.12";
requires "Test::Vars" => "0.009";
requires "Test::Version" => "2.05";
requires "perl" => "5.006";
};
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',
t/00-report-prereqs.dd view on Meta::CPAN
'test' => {
'recommends' => {
'CPAN::Meta' => '2.120900'
},
'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'
}
}
};
$x;
}
t/00-report-prereqs.t view on Meta::CPAN
#!perl
use strict;
use warnings;
# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027
use Test::More tests => 1;
use ExtUtils::MakeMaker;
use File::Spec;
# from $version::LAX
my $lax_version_re =
qr/(?: undef | (?: (?:[0-9]+) (?: \. | (?:\.[0-9]+) (?:_[0-9]+)? )?
|
(?:\.[0-9]+) (?:_[0-9]+)?
) | (?:
#!/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/00-compile.t view on Meta::CPAN
if (@_warnings)
{
warn @_warnings;
push @warnings, @_warnings;
}
}
is(scalar(@warnings), 0, 'no warnings found')
or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) );
xt/author/eol.t view on Meta::CPAN
use strict;
use warnings;
# this test was generated with Dist::Zilla::Plugin::Test::EOL 0.19
use Test::More 0.88;
use Test::EOL;
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'
);
eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
done_testing;
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();