thor::KENTNL');
$bundle->configure;
my @stopwords = (
qw(
ci api travis api API GitHub URI JSON URIs
)
);
for my $var (@stopwords) {
$bundle->add_or_append_policy_field( 'Documentation::P
path that matches a C<realpath> of a L<< C<File::HomeDir> path|File::HomeDir >>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::NegativeHeuristic::HomeDir",
"interface":"single_clas
gativeHeuristic",
"Path::IsDev::Role::Matcher::FullPath::Is::Any"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
process a line.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"CPAN::Changes::Markdown",
"interface":"class",
"inherits":"Moo::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <ke
tches>
Matches if any of the files in C<files> exist as children of the C<path>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Heuristic::DevDirMarker",
"interface":"single_class",
euristic",
"Path::IsDev::Role::Matcher::Child::Exists::Any::File"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
ll real code.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Object",
"interface":"class",
"inherits":"Class::Tiny::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <
ibexp};
=head2 C<excludes>
Excludes a path if its full path is any of C<paths>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::NegativeHeuristic::PerlINC",
"interface":"single_clas
gativeHeuristic",
"Path::IsDev::Role::Matcher::FullPath::Is::Any"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
ns a match if any child of C<path> exists matching the regexp C<basename_regexp>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Heuristic::Changelog",
"interface":"single_class",
:Heuristic", "Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp::File" ]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
d2 C<reasons>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Result",
"interface":"class",
"inherits":"Class::Tiny::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <
D::JSON v1.1.0
{
"namespace":"CPAN::Changes::Markdown::Filter",
"interface":"class",
"inherits":"Moo::Object",
"does":"CPAN::Changes::Markdown::Role::Filter"
}
=end MetaPOD::JSON
=
_node_delimitedtext>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"CPAN::Changes::Markdown::Filter::NodeUtil",
"interface":"exporter"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl
:Heuristic::MYMETA;
our $VERSION = '1.001003';
# ABSTRACT: Determine if a path contains MYMETA.(json|yml)
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
use Role::Tiny::With qw( with )
'Path::IsDev::Role::Matcher::Child::Exists::Any::File';
sub files {
return qw( MYMETA.json MYMETA.yml );
}
sub matches {
my ( $self, $result_object ) = @_;
if ( $self->child_exi
ncoding UTF-8
=head1 NAME
Path::IsDev::Heuristic::MYMETA - Determine if a path contains MYMETA.(json|yml)
=head1 VERSION
version 1.001003
=head1 DESCRIPTION
This heuristic is intended as a guara
:META;
our $VERSION = '1.001003';
# ABSTRACT: Determine if a path contains META.(json|yml)
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
use Role::Tiny::With qw( with );
with 'Path::I
, 'Path::IsDev::Role::Matcher::Child::Exists::Any::File';
sub files {
return qw( META.json META.yml );
}
sub matches {
my ( $self, $result_object ) = @_;
if ( $self->child_exist
- Determine if a path contains META.(json|yml)
=head1 VERSION
version 1.001003
=head1 METHODS
=head2 C<files>
files relevant to this heuristic:
META.json
META.yml
=head2 C<matches>
Mat
);
unless ($client->validate_agent($client->get_json_schema, $main_site_definition)) {
die("agent defition is not valid for agent json schema");
}
if ($client->create_agent('mai
ypes::Moose qw( Str );
use MooseX::Types::URI qw(Uri);
use URI;
use URI::QueryParam;
use JSON::MaybeXS;
use JSON::Schema;
use Time::HiRes;
use LWP::UserAgent;
use HTTP::Request;
our $VERSION = '0.003
->env_proxy;
my $json = JSON::MaybeXS->new;
=head2 create_agent( $agent_name, $content)
=head2 create_agent($agent_name, $hashref_definition)
=head2 create_agent($agent_name, $json_definition)
prereqs => CPAN::Meta->load_file('Dist-Foo-1.01/META.json')->effective_prereqs,
my $new_prereqs => CPAN::Meta->load_file('Dist-Foo-1.01/META.json')->effective_prereqs,
my $group = CPAN::Changes:
decoder
=begin MetaPOD::JSON v1.1.0
{
"namespace":"MetaPOD::Exception::Decode::Data",
"interface":"class",
"inherits":"MetaPOD::Exception"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fre
$result->status;
return if not length $result->content;
return unless my $json = $result->content_json;
return $json->{access_token};
}
sub get_authorised_ua_for {
my ( $self, $gh_
et_authorized_ua_for( <githubtoken> ) ) {
pp ( $ua->get('/users')->content_json );
}
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Net::Travis::API::Auth::GitHub",
"inherits":"Moo::
Object",
"does":"Net::Travis::API::Role::Client",
"interface":"class"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copy
nds 'HTTP::Tiny::UA::Response';
has 'json' => (
is => ro =>,
lazy => 1,
builder => sub {
require JSON::MaybeXS;
return JSON::MaybeXS->new();
},
);
sub con
e::FB_CROAK );
}
sub content_json {
my ( $self, $force ) = @_;
my ($has_force) = ( @_ > 1 );
my %whitelist = ( 'application/json' => 1 );
return unless $has_force or exists
next unless $param =~ /\Acharset=(.+)\z/msx;
$charset = $1;
}
}
return $self->json->utf8(0)->decode( $self->decoded_content($charset) );
}
no Moo;
1;
__END__
=pod
=encoding UT
pecify an alternative set in code.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::FindDev",
"interface":"exporter"
}
=end MetaPOD::JSON
=head1 EXAMPLE USE-CASES
Have you ever found you
my $rpc_input = encode_json({ method => $method, args => [ @args ] });
my $rpc_output = do_rpc_call($rpc_input);
return decode_json($rpc_output);
e::Client;
our $VERSION = '0.002001';
# ABSTRACT: Anything that fetches from Travis and returns JSON data
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
use Moo::Role qw( has );
has
TF-8
=head1 NAME
Net::Travis::API::Role::Client - Anything that fetches from Travis and returns JSON data
=head1 VERSION
version 0.002001
=head1 ATTRIBUTES
=head2 C<http_engine>
A L<< C<Net::Tr
1.0
{
"namespace":"Net::Travis::API::Role::Client",
"interface":"role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co