Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to my dzil bundle - add $VERSION to all modules - add generate…
… files
- Loading branch information
Showing
16 changed files
with
582 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Dave Rolsky <autarch@urth.org> <devnull@localhost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
requires "B" => "0"; | ||
requires "Carp" => "0"; | ||
requires "Data::Dumper" => "0"; | ||
requires "Encode" => "0"; | ||
requires "HTTP::Headers::ActionPack" => "0.07"; | ||
requires "HTTP::Status" => "0"; | ||
requires "Hash::MultiValue" => "0"; | ||
requires "IO::Handle::Util" => "0"; | ||
requires "List::Util" => "0"; | ||
requires "Locale::Maketext" => "0"; | ||
requires "Module::Runtime" => "0"; | ||
requires "Plack::Component" => "0"; | ||
requires "Plack::Request" => "0"; | ||
requires "Plack::Response" => "0"; | ||
requires "Plack::Util" => "0"; | ||
requires "Scalar::Util" => "0"; | ||
requires "Sub::Exporter" => "0"; | ||
requires "Try::Tiny" => "0"; | ||
requires "parent" => "0"; | ||
requires "strict" => "0"; | ||
requires "warnings" => "0"; | ||
|
||
on 'test' => sub { | ||
requires "ExtUtils::MakeMaker" => "0"; | ||
requires "File::Spec" => "0"; | ||
requires "FindBin" => "0"; | ||
requires "HTTP::Message::PSGI" => "0"; | ||
requires "HTTP::Request" => "0"; | ||
requires "HTTP::Request::Common" => "0"; | ||
requires "HTTP::Response" => "0"; | ||
requires "IO::Handle" => "0"; | ||
requires "IPC::Open3" => "0"; | ||
requires "MIME::Base64" => "0"; | ||
requires "Net::HTTP" => "0"; | ||
requires "Plack::Runner" => "0"; | ||
requires "Plack::Test" => "0"; | ||
requires "Test::FailWarnings" => "0"; | ||
requires "Test::Fatal" => "0.003"; | ||
requires "Test::More" => "0.96"; | ||
requires "base" => "0"; | ||
requires "lib" => "0"; | ||
requires "perl" => "5.006"; | ||
requires "utf8" => "0"; | ||
}; | ||
|
||
on 'test' => sub { | ||
recommends "CPAN::Meta" => "2.120900"; | ||
}; | ||
|
||
on 'configure' => sub { | ||
requires "ExtUtils::MakeMaker" => "0"; | ||
}; | ||
|
||
on 'develop' => sub { | ||
requires "Perl::Critic" => "1.123"; | ||
requires "Perl::Tidy" => "20140711"; | ||
requires "Pod::Coverage::TrustPod" => "0"; | ||
requires "Test::CPAN::Changes" => "0.19"; | ||
requires "Test::EOL" => "0"; | ||
requires "Test::More" => "0.88"; | ||
requires "Test::NoTabs" => "0"; | ||
requires "Test::Pod" => "1.41"; | ||
requires "Test::Pod::Coverage" => "1.08"; | ||
requires "Test::Spelling" => "0.12"; | ||
requires "Test::Synopsis" => "0"; | ||
requires "Test::Version" => "1"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ use warnings; | |
|
||
use parent 'Locale::Maketext'; | ||
|
||
our $VERSION = '0.16'; | ||
|
||
1; | ||
|
||
__END__ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
severity = 3 | ||
verbose = 11 | ||
theme = core + pbp + bugs + maintenance + cosmetic + complexity + security + tests + moose | ||
|
||
exclude = Subroutines::ProhibitCallsToUndeclaredSubs | ||
|
||
[BuiltinFunctions::ProhibitStringySplit] | ||
severity = 3 | ||
|
||
[CodeLayout::RequireTrailingCommas] | ||
severity = 3 | ||
|
||
[ControlStructures::ProhibitCStyleForLoops] | ||
severity = 3 | ||
|
||
[InputOutput::RequireCheckedSyscalls] | ||
functions = :builtins | ||
exclude_functions = sleep | ||
severity = 3 | ||
|
||
[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 = Carp Test::Builder | ||
|
||
[-Subroutines::RequireFinalReturn] | ||
|
||
[-ErrorHandling::RequireCarping] | ||
|
||
# No need for /xsm everywhere | ||
[-RegularExpressions::RequireDotMatchAnything] | ||
[-RegularExpressions::RequireExtendedFormatting] | ||
[-RegularExpressions::RequireLineBoundaryMatching] | ||
|
||
# http://stackoverflow.com/questions/2275317/why-does-perlcritic-dislike-using-shift-to-populate-subroutine-variables | ||
[-Subroutines::RequireArgUnpacking] | ||
|
||
# "use v5.14" is more readable than "use 5.014" | ||
[-ValuesAndExpressions::ProhibitVersionStrings] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
-l=78 | ||
-i=4 | ||
-ci=4 | ||
-se | ||
-b | ||
-bar | ||
-boc | ||
-vt=0 | ||
-vtc=0 | ||
-cti=0 | ||
-pt=1 | ||
-bt=1 | ||
-sbt=1 | ||
-bbt=1 | ||
-nolq | ||
-npro | ||
-nsfs | ||
--blank-lines-before-packages=0 | ||
--opening-hash-brace-right | ||
--no-outdent-long-comments | ||
--iterations=2 | ||
-wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x=" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[PerlTidy] | ||
select = **/*.{pl,pm,t,psgi} | ||
ignore = t/00-* | ||
ignore = t/author-* | ||
ignore = t/release-* | ||
ignore = blib/**/* | ||
ignore = .build/**/* | ||
ignore = Web-Machine-*/**/* | ||
argv = --profile=$ROOT/perltidyrc | ||
|
||
[PerlCritic] | ||
select = **/*.{pl,pm,t,psgi} | ||
ignore = t/00-* | ||
ignore = t/author-* | ||
ignore = t/release-* | ||
ignore = blib/**/* | ||
ignore = .build/**/* | ||
ignore = Web-Machine-*/**/* | ||
argv = --profile $ROOT/perlcriticrc --program-extensions .pl --program-extensions .t --program-extensions .psgi |