Permalink
Browse files

use 5.008; use utf8; add #AUTHORITY

  • Loading branch information...
1 parent e8dd59f commit 4b0598ebd9d738d3f821bd1e1b95d9c0c38940a6 @kentfredric kentfredric committed Mar 1, 2014
View
4 lib/Path/IsDev.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev;
# ABSTRACT: Determine if a given Path resembles a development source tree
+# AUTHORITY
+
=head1 DESCRIPTION
This module is more or less a bunch of heuristics for determining if a given path
View
4 lib/Path/IsDev/Heuristic/Changelog.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Heuristic::Changelog;
# ABSTRACT: Determine if a path contains a C<Changelog> (or similar)
+# AUTHORITY
+
=head1 DESCRIPTION
This heuristic matches any case variation of C<Changes> or C<Changelog>,
View
4 lib/Path/IsDev/Heuristic/DevDirMarker.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Heuristic::DevDirMarker;
# ABSTRACT: Determine if a path contains a C<.devdir> file
+# AUTHORITY
+
=head1 DESCRIPTION
This Heuristic is a workaround that is likely viable in the event none of the other Heuristics work.
View
4 lib/Path/IsDev/Heuristic/META.pm
@@ -1,5 +1,7 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Heuristic::META;
@@ -20,6 +22,8 @@ package Path::IsDev::Heuristic::META;
# ABSTRACT: Determine if a path contains META.(json|yml)
+# AUTHORITY
+
use Role::Tiny::With;
with 'Path::IsDev::Role::Heuristic', 'Path::IsDev::Role::Matcher::Child::Exists::Any::File';
View
4 lib/Path/IsDev/Heuristic/MYMETA.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Heuristic::MYMETA;
# ABSTRACT: Determine if a path contains MYMETA.(json|yml)
+# AUTHORITY
+
=begin MetaPOD::JSON v1.1.0
{
View
5 lib/Path/IsDev/Heuristic/Makefile.pm
@@ -1,5 +1,7 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Heuristic::Makefile;
@@ -19,6 +21,9 @@ package Path::IsDev::Heuristic::Makefile;
=cut
# ABSTRACT: Determine if a path contains a C<Makefile>
+
+# AUTHORITY
+
use Role::Tiny::With;
with 'Path::IsDev::Role::Heuristic', 'Path::IsDev::Role::Matcher::Child::Exists::Any::File';
View
4 lib/Path/IsDev/Heuristic/TestDir.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Heuristic::TestDir;
# ABSTRACT: Determine if a path contains a t/ or xt/ directory
+# AUTHORITY
+
=begin MetaPOD::JSON v1.1.0
{
View
4 lib/Path/IsDev/Heuristic/Tool/Dzil.pm
@@ -1,5 +1,7 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Heuristic::Tool::Dzil;
@@ -20,6 +22,8 @@ package Path::IsDev::Heuristic::Tool::Dzil;
# ABSTRACT: Determine if a path is a Dist::Zilla Source tree
+# AUTHORITY
+
use Role::Tiny::With qw( with );
with 'Path::IsDev::Role::Heuristic', 'Path::IsDev::Role::Matcher::Child::Exists::Any::File';
View
4 lib/Path/IsDev/Heuristic/Tool/MakeMaker.pm
@@ -1,5 +1,7 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Heuristic::Tool::MakeMaker;
@@ -20,6 +22,8 @@ package Path::IsDev::Heuristic::Tool::MakeMaker;
# ABSTRACT: Determine if a path is an C<EUMM> Tooled source directory
+# AUTHORITY
+
use Role::Tiny::With qw( with );
with 'Path::IsDev::Role::Heuristic', 'Path::IsDev::Role::Matcher::Child::Exists::Any::File';
View
4 lib/Path/IsDev/Heuristic/Tool/ModuleBuild.pm
@@ -1,5 +1,7 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Heuristic::Tool::ModuleBuild;
@@ -20,6 +22,8 @@ package Path::IsDev::Heuristic::Tool::ModuleBuild;
# ABSTRACT: Determine if a path is a Module::Build Source tree
+# AUTHORITY
+
use Role::Tiny::With qw( with );
with 'Path::IsDev::Role::Heuristic', 'Path::IsDev::Role::Matcher::Child::Exists::Any::File';
View
4 lib/Path/IsDev/Heuristic/VCS/Git.pm
@@ -1,5 +1,7 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Heuristic::VCS::Git;
@@ -20,6 +22,8 @@ package Path::IsDev::Heuristic::VCS::Git;
# ABSTRACT: Determine if a path contains a C<.git> repository
+# AUTHORITY
+
use Role::Tiny::With;
with 'Path::IsDev::Role::Heuristic', 'Path::IsDev::Role::Matcher::Child::Exists::Any::Dir';
View
4 lib/Path/IsDev/HeuristicSet/Basic.pm
@@ -1,10 +1,14 @@
+use 5.008;
use strict;
use warnings;
+use utf8;
package Path::IsDev::HeuristicSet::Basic;
# ABSTRACT: Basic C<IsDev> set of Heuristics
+# AUTHORITY
+
=begin MetaPOD::JSON v1.1.0
{
View
5 lib/Path/IsDev/NegativeHeuristic/HomeDir.pm
@@ -1,11 +1,14 @@
-
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::NegativeHeuristic::HomeDir;
# ABSTRACT: User home directories are not development roots
+# AUTHORITY
+
## no critic (RequireArgUnpacking, ProhibitSubroutinePrototypes)
sub _uniq (@) {
my %seen = ();
View
5 lib/Path/IsDev/NegativeHeuristic/IsDev/IgnoreFile.pm
@@ -1,11 +1,14 @@
-
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile;
# ABSTRACT: An explicit exclusion file heuristic
+# AUTHORITY
+
=begin MetaPOD::JSON v1.1.0
{
View
4 lib/Path/IsDev/NegativeHeuristic/PerlINC.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::NegativeHeuristic::PerlINC;
# ABSTRACT: White-list paths in C<Config.pm> as being non-development roots.
+# AUTHORITY
+
## no critic (RequireArgUnpacking, ProhibitSubroutinePrototypes)
sub _uniq (@) {
my %seen = ();
View
4 lib/Path/IsDev/Object.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Object;
# ABSTRACT: Object Oriented guts for C<IsDev> export
+# AUTHORITY
+
=begin MetaPOD::JSON v1.1.0
{
View
4 lib/Path/IsDev/Result.pm
@@ -1,10 +1,14 @@
+use 5.008;
use strict;
use warnings;
+use utf8;
package Path::IsDev::Result;
# ABSTRACT: Result container
+# AUTHORITY
+
=begin MetaPOD::JSON v1.1.0
{
View
4 lib/Path/IsDev/Role/Heuristic.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Role::Heuristic;
# ABSTRACT: Base role for Heuristic things.
+# AUTHORITY
+
sub _blessed { require Scalar::Util; goto &Scalar::Util::blessed }
use Role::Tiny;
View
4 lib/Path/IsDev/Role/HeuristicSet.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8;
use strict;
use warnings;
+use utf8;
package Path::IsDev::Role::HeuristicSet;
# ABSTRACT: Role for sets of Heuristics.
+# AUTHORITY
+
=begin MetaPOD::JSON v1.1.0
{
View
5 lib/Path/IsDev/Role/HeuristicSet/Simple.pm
@@ -1,11 +1,14 @@
-
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Role::HeuristicSet::Simple;
# ABSTRACT: Simple excludes/includes set
+# AUTHORITY
+
=begin MetaPOD::JSON v1.1.0
{
View
4 lib/Path/IsDev/Role/Matcher/Child/BaseName/MatchRegexp.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp;
# ABSTRACT: Match when a path has a child file matching an expression
+# AUTHORITY
+
=begin MetaPOD::JSON v1.1.0
{
View
4 lib/Path/IsDev/Role/Matcher/Child/BaseName/MatchRegexp/File.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp::File;
# ABSTRACT: Match if any children have C<basename>s that match a regexp and are files
+# AUTHORITY
+
use Role::Tiny;
with 'Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp';
View
4 lib/Path/IsDev/Role/Matcher/Child/Exists/Any.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Role::Matcher::Child::Exists::Any;
# ABSTRACT: Match if any of a list of children exists
+# AUTHORITY
+
use Role::Tiny;
=begin MetaPOD::JSON v1.1.0
View
4 lib/Path/IsDev/Role/Matcher/Child/Exists/Any/Dir.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Role::Matcher::Child::Exists::Any::Dir;
# ABSTRACT: Match if a path contains one of any of a list of directories
+# AUTHORITY
+
=begin MetaPOD::JSON v1.1.0
{
View
4 lib/Path/IsDev/Role/Matcher/Child/Exists/Any/File.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Role::Matcher::Child::Exists::Any::File;
# ABSTRACT: Match if a path contains one of any of a list of files
+# AUTHORITY
+
=begin MetaPOD::JSON v1.1.0
{
View
5 lib/Path/IsDev/Role/Matcher/FullPath/Is/Any.pm
@@ -1,11 +1,14 @@
-
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Role::Matcher::FullPath::Is::Any;
# ABSTRACT: Match if the current directory is the same directory from a list of absolute paths.
+# AUTHORITY
+
sub _path {
require Path::Tiny;
Path::Tiny->VERSION('0.004');
View
4 lib/Path/IsDev/Role/NegativeHeuristic.pm
@@ -1,10 +1,14 @@
+use 5.008; # utf8
use strict;
use warnings;
+use utf8;
package Path::IsDev::Role::NegativeHeuristic;
# ABSTRACT: Base role for Negative Heuristic things.
+# AUTHORITY
+
sub _blessed { require Scalar::Util; goto &Scalar::Util::blessed }
use Role::Tiny;

0 comments on commit 4b0598e

Please sign in to comment.