vider>
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::MetaProvides::ProvideRecord",
"interface":"class",
"inherits":"Moose::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent F
arn "Expected: delta_deps OLD.JSON NEW.JSON";
}
use JSON;
use Data::Dump qw( pp );
use Path::Tiny qw( path );
use Data::Difference qw( data_diff );
my $transcoder = JSON->new();
my $left = $tr
te::Ultra::DAO;
use warnings; use strict;
use Mouse;
use parent qw{Class::Data::Inheritable};
use JSON;
use Bb::Collaborate::Ultra::Util;
use Mouse::Util::TypeConstraints;
use Data::Compare;
use Clone
);
my %opt = @_;
my $json = $class->_freeze($data);
my $path = $opt{path} || $class->path
or die "no POST path";
my $msg = $connection->POST($path, $json, @_);
$class->construct(
= ref($self) || $self;
my $path = $self->path;
my $json = $class->_freeze($update_data);
my $msg = $connection->PATCH($path, $json);
my $obj = $self->construct($msg, connection => $con
roblem by defining it in the metadata.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::Plugin::MetaProvides"
}
=end MetaPOD::JSON
=for Pod::Coverage register_component
=head1 COMPONE
orate::Ultra::Connection;
use warnings; use strict;
use Crypt::JWT qw(encode_jwt decode_jwt);
use JSON;
use Mouse;
use REST::Client;
use Try::Tiny;
use Bb::Collaborate::Ultra::Connection::Token;
=hea
elf->debug;
my $response_data;
if ($response_content) {
try {
$response_data = from_json( $response_content);
}
catch {
die "[$response_code] $response_content";
};
die "[$resp
;
$auth->_leased( time() );
$self->auth( $auth );
}
=head2 POST
Low level method. Posts JSON data formatted data, along with
appropriate authorization headers.
my $response = $connectio
>id;
my $path = $self->path . '/sessions';
my $json = $session->_freeze( { id => $session_id } );
$self->connection->POST($path, $json );
}
# downloaded from https://xx-csa.bbcollab.com/d
n 0.03
=cut
our $VERSION = '0.03';
use Carp qw(cluck);
use Data::Dumper;
use REST::Client;
use JSON::XS;
use URI;
use Scalar::Util qw(blessed reftype);
use Readonly;
use Exporter 'import';
use File
de_json( $response->responseContent() ) };
if ($@) {
cluck( "Cannot parse response content "
. $response->responseContent()
. ", error msg: $@. Is this JSON?"
$query_params);
my $headers = { 'Content-Type' => 'application/json' };
my $response;
# print "JSON data ".encode_json($data);
my $f = $self->_cache_file_name($query_params, $data)
{'pid'});
=cut
our $VERSION = '0.23'; # VERSION
use Carp;
use Try::Tiny;
use URI::Escape;
use JSON;
use LWP::UserAgent;
use Moose;
has 'baseURL' => (
is => 'ro',
isa => 'Str',
defa
of domains/PADs
=cut
sub listPADs {
my ($self) = @_;
my $requestPayload = {
'output' => 'json',
'user' => $self -> username,
'pass' => $self -> password,
};
my $url = $self -> base
_line;
}
my $json = decode_json($response -> decoded_content);
unless ($json -> {'resultCode'} && $json -> {'resultCode'} == 200) {
die 'Invalid $json -> {resultCode}: ' . ($json -> {'resultCod
t::MD5 qw(md5_hex);
use Time::HiRes qw(usleep);
use Mojo::Redis2;
use RedisDB;
use JSON::XS qw(encode_json decode_json);
=head1 NAME
Mojo::Redis::Processor - Encapsulates the process for a Mojo app
->{prefix} . md5_hex($self->_payload);
}
sub _payload {
my $self = shift;
return JSON::XS::encode_json([$self->{data}, $self->{trigger}]);
}
sub _processed_channel {
my $self = shift;
next));
usleep($self->{usleep});
}
return if not $payload;
my $tmp = JSON::XS::decode_json($payload);
$self->{data} = $tmp->[0];
$self->{trigger} = $tmp->[1];
ret
r} . ':' . $self->{pwd}, '')};
$header->{'Content-Type'} = 'application/json' if %params;
my @extra = %params ? (json => \%params) : ();
my $tx = $ua->build_tx($method => $self->{endpoint}
->res->headers->content_type and $tx->res->headers->content_type =~ 'application/json') {
return $tx->res->json;
}
if (!$tx->success) {
$errstr = "Failed to fetch $url: " . $tx
ersion::Next qw(next_version);
use Path::Tiny qw(path);
use Capture::Tiny qw(capture_stdout);
use JSON;
use CPAN::Changes;
use CPAN::Changes::Group::Dependencies::Stats;
use CPAN::Changes::Dependencie
r get_sha $sha\n");
return join qq[\n], $git->cat_file( '-p', $sha );
}
);
}
sub get_json_prereqs {
my ($commitish) = @_;
if ( $commitish !~ /\d\.\d/ ) {
$commitish = rev_sha($com
data\n");
my $sha1 = file_sha( $commitish, 'META.json' );
if ( defined $sha1 and length $sha1 ) {
return CPAN::Meta->load_json_string( get_sha($sha1) );
}
$sha1 = file_
->bundle_config
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::Util::BundleInfo",
"interface":"class",
"inherits":"Moo::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <ke
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::Role::MetaProvider::Provider",
"interface":"role",
"does":"Dist::Zilla::Role::MetaProvider"
}
=end MetaPOD::JSON
=head1 SEE ALS
> [@ignore_files],
},
);
$self->add_plugin( 'License' => {} );
$self->add_plugin( 'MetaJSON' => {} );
$self->add_plugin( 'MetaYAML::Minimal' => {} );
$self->add_p
JSON v1.1.0
{
"namespace":"Dist::Zilla::PluginBundle::Author::KENTNL",
"interface":"class",
"inherits":"Moose::Object",
"does":"Dist::Zilla::Role::PluginBundle"
}
=end MetaPOD::JSON
eference.
=head1 METHODS
=head2 C<gather_files>
generates a C<dist.ini> file.
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::Plugin::Author::KENTNL::DistINI",
"interface":"class"
e is logic that
would be the same if the resource generated by the view was a different type (say
JSON or XML) then its likely that logic belongs in the controller. However I
encourage you to choose
rsion 2.025021
=head1 SYNOPSIS
dzil new -P Author::KENTNL Some::Dist::Name
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::MintingProfile::Author::KENTNL",
"inherits":"Moose::O
"does":"Dist::Zilla::Role::MintingProfile::ShareDir",
"interface":"class"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co
MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::Plugin::Author::KENTNL::MinimumPerl",
"interface":"class",
"inherits":"Dist::Zilla::Plugin::MinimumPerl"
}
=end MetaPOD::JSON
=head1 A
cwd> )
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Test::File::ShareDir::Object::Dist",
"interface":"class",
"inherits":"Class::Tiny::Object"
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent F
_build_applyto_list
=head2 _build__modules_hash
=head2 _user_wants_upgrade_on
=begin MetaPOD::JSON v1.1.0
{
"namespace":"Dist::Zilla::Plugin::Prereqs::MatchInstalled",
"interf
rereqSource","Dist::Zilla::Role::Plugin","Dist::Zilla::Role::ConfigDumper"]
}
=end MetaPOD::JSON
=head1 AUTHOR
Kent Fredric <kentnl@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is co