ev directory
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::FindDev::Object",
"interface":"class",
"inherits":"Class::Tiny::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric
a few auxiliary files:
$SITELIB/.meta/DISTNAME-DISTVERSION/MYMETA.json
$SITELIB/.meta/DISTNAME-DISTVERSION/install.json
These files describe several things, such as dependencies
declared by
N
version 0.002001
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Net::Travis::API",
"interface":"class",
"inherits":"Moo::Object"
}
=end MetaPOD::JSON
=head1 DEVELOPMENT
This code is h
, so you'll only get the "default".
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev",
"interface":"exporter"
}
=end MetaPOD::JSON
=head1 UNDERSTANDING AND DEBUGGING THIS MODULE
Un
=0] + ::Tool::ModuleBuild => 0 : Build.PL does not exist
[Path::IsDev=0] + ::META => 0 : META.json does not exist
[Path::IsDev=0] + ::META => 1 : META.yml exists
[Path::IsDev=0] + ::META =
|Path::IsDev::Heuristic::META >> - C<META.yml>/C<META.json>
=item * L<< C<MYMETA>|Path::IsDev::Heuristic::MYMETA >> - C<MYMETA.yml>/C<MYMETA.json>
=item * L<< C<Makefile>|Path::IsDev::Heuristic::Mak
es( $result_object ) ) {
# one of the directories in ->dirs exists
}
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Path::IsDev::Heuristic::TestDir",
"interface":"single_class",
Heuristic",
"Path::IsDev::Role::Matcher::Child::Exists::Any::Dir"
]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
prereqs => CPAN::Meta->load_file('Dist-Foo-0.001/META.json')->effective_prereqs,
new_prereqs => CPAN::Meta->load_file('Dist-Foo-0.002/META.json')->effective_prereqs,
});
print $changes->seria
->{cpan_meta};
return ( $state->{cpan_meta} = CPAN::Meta->load_file( path($path)->child('MYMETA.json') ) );
}
sub _cpan_meta_check_phase_type {
my ( $self, %args ) = @_;
my $meta = $self->_cach
Y = 'cpan:KONOBI'; # AUTHORITY
use Moose qw( has );
use LWP::UserAgent;
use URI;
use JSON::MaybeXS qw( decode_json );
use Net::API::RPX::Exception::Usage;
use Net::API::RPX::Exception::Network;
use N
= $self->ua->post(
$uri => {
%{$opts},
apiKey => $self->api_key,
format => 'json',
},
);
if ( !$res->is_success ) {
Net::API::RPX::Exception::Network->throw(
i
ua_result => $res,
status_line => $res->status_line,
);
}
my $result = decode_json( $res->content );
if ( $result->{'stat'} ne 'ok' ) {
my $err = $result->{'err'};
Net::A
{ return 'application/vnd.travis-ci.2+json' },
);
has 'authtokens' => (
is => rw =>,
predicate => 'has_authtokens',
);
has 'json' => (
is => ro =>,
lazy
=> 1,
builder => sub {
require JSON::MaybeXS;
return JSON::MaybeXS->new();
},
);
sub _add_auth_tokens {
my ( $self, $options ) = @_;
$options = {} if not defined $options;
if ( exis
require Net::Travis::API::UA::Response;
return Net::Travis::API::UA::Response->new(
json => $self->json,
%{$result},
);
}
no Moo;
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Ne
) = $role->_supported_versions;
=begin MetaPOD::JSON v1.1.0
{
"namespace": "MetaPOD::Role::Format",
"interface": "role"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
strict;
use warnings;
=begin MetaPOD::JSON v1.0.0
{
"namespace":"Example",
"inherits": [ "Bar", "Baz" ]
}
=end MetaPOD::JSON
=cut
=for MetaPOD::JSON v1.0.0 { "inherits": "Quux" }
=cut
rule_VersionsToCode>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"CPAN::Changes::Markdown::Filter::RuleUtil",
"interface":"exporter"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl
( $POD_EVENT );
=begin MetaPOD::JSON v1.1.0
{
"namespace": "MetaPOD::Extractor",
"inherits" : "Pod::Eventual",
"interface": "class"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <k
use strict;
use warnings;
=begin MetaPOD::JSON v1.0.0
{
"namespace":"Example",
"inherits": [ "Bar", "Baz" ]
}
=end MetaPOD::JSON
ENTNL');
$bundle->configure;
my @stopwords = (qw(
MetaPOD deduplicated behaviour unrecognised JSON namespace behaviours directionally
));
for my $var (@stopwords) {
$bundle->add_or_append_policy
=> ro =>,
required => 1,
lazy => 1,
builder => sub {
return { 'JSON' => 'MetaPOD::Format::JSON', };
},
);
sub assemble_handle {
my ( $self, $handle ) = @_;
$self->cl
hould be enough for the majority of use-cases.
At present, C<MetaPOD::Assembler> only supports C<JSON> specification out-of-the-box,
but you can extend it to support any other defined specifications
the format map
my $assembler = MetaPOD::Assembler->new( format_map => {
JSON => 'MetaPOD::Format::JSON',
YAML => 'MyProject::Format::YAML',
});
=head1 METHODS
=head2 assembl
r->process( $input );
# $output == $input
=head1 METHODS
=head2 C<process>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"CPAN::Changes::Markdown::Filter::Passthrough",
"interface":"class"
"does":"CPAN::Changes::Markdown::Role::Filter",
"inherits":"Moo::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
use strict;
use warnings;
=begin MetaPOD::JSON v1.0.0
{
"namespace":"Example",
"inherits":"Bar"
}
=end MetaPOD::JSON
ce( @interface );
=begin MetaPOD::JSON v1.1.0
{
"namespace": "MetaPOD::Result",
"inherits" : "Moo::Object",
"interface": "class"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kent
version v0.4.0
=begin MetaPOD::JSON v1.1.0
{
"namespace":"MetaPOD::Exception",
"interface":"class",
"inherits":"Throwable::Error"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <ke