App-BitBucketCli

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

    license           => 'perl',
    dist_author       => 'Ivan Wills <ivan.wills@gmail.com>',
    dist_version_from => 'lib/App/BitBucketCli.pm',
    requires          => {
        'perl'              => '5.006',
        'Getopt::Alt'       => '0.4.5',
        'Module::Pluggable' => '5.0',
        'Moo'               => '2.0',
        'Path::Tiny'        => '0.076',
        'Scalar::Util'      => 0,
        'JSON::XS'          => 0,
        'WWW::Mechanize'    => 0,
        'YAML::Syck'        => 0,
    },
    build_requires => {
        'Module::Build'  => '0.422',
        'Test::More'     => '0.88',
        'Test::Warnings' => '0.026',
    },
    add_to_cleanup     => [ 'App-BitBucket-cli-*' ],
    create_license     => 1,

META.json  view on Meta::CPAN

         }
      },
      "configure" : {
         "requires" : {
            "Module::Build" : "0.42"
         }
      },
      "runtime" : {
         "requires" : {
            "Getopt::Alt" : "v0.4.5",
            "JSON::XS" : "0",
            "Module::Pluggable" : "5.0",
            "Moo" : "2.0",
            "Path::Tiny" : "0.076",
            "Scalar::Util" : "0",
            "WWW::Mechanize" : "0",
            "YAML::Syck" : "0",
            "perl" : "5.006"
         }
      }
   },

META.yml  view on Meta::CPAN

    file: lib/App/BitBucketCli/Project.pm
    version: '0.009'
  App::BitBucketCli::PullRequest:
    file: lib/App/BitBucketCli/PullRequest.pm
    version: '0.009'
  App::BitBucketCli::Repository:
    file: lib/App/BitBucketCli/Repository.pm
    version: '0.009'
requires:
  Getopt::Alt: v0.4.5
  JSON::XS: '0'
  Module::Pluggable: '5.0'
  Moo: '2.0'
  Path::Tiny: '0.076'
  Scalar::Util: '0'
  WWW::Mechanize: '0'
  YAML::Syck: '0'
  perl: '5.006'
resources:
  bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=App::BitBucketCli
  license: http://dev.perl.org/licenses/

lib/App/BitBucketCli.pm  view on Meta::CPAN

# Created on: 2017-04-24 08:14:30
# Create by:  Ivan Wills
# $Id$
# $Revision$, $HeadURL$, $Date$
# $Revision$, $Source$, $Date$

use Moo;
use warnings;
use Carp;
use WWW::Mechanize;
use JSON::XS qw/decode_json encode_json/;
use Data::Dumper qw/Dumper/;
use English qw/ -no_match_vars /;
use App::BitBucketCli::Core;

our $VERSION = 0.009;

has core => (
    is      => 'ro',
    handles => [qw/
        opt

lib/App/BitBucketCli/Base.pm  view on Meta::CPAN


This documentation refers to App::BitBucketCli::Base version 0.009

=head1 SYNOPSIS

   package App::BitBucket::SomeObject;

   extends qw/App::BitBucketCli::Base/;

   # class will automatically get id, link and links attributes
   # Also will autmatically be dumpable by L<JSON::XS>


=head1 DESCRIPTION

This is the base class for L<App::BitBucket::Project>, L<App::BitBucket::Repositories>,
L<App::BitBucket::Repository>, ...

=head1 SUBROUTINES/METHODS

=head2 C<BUILDARGS ()>

=head2 C<TO_JSON ()>

Used by L<JSON::XS> for dumping the object

=head1 ATTRIBUTES

=head2 id

Most BitBucket objects return an ID

=head2 link

Usually the URL to access this resource.

lib/App/BitBucketCli/Branch.pm  view on Meta::CPAN

=head1 DESCRIPTION

=head1 SUBROUTINES/METHODS

=head2 C<name ()>

=head2 C<timestamp ()>

=head2 C<TO_JSON ()>

Used by L<JSON::XS> for dumping the object

=head1 ATTRIBUTES

=head2 displayId

=head2 id

=head2 isDefault

=head2 latestChangeset

lib/App/BitBucketCli/Core.pm  view on Meta::CPAN

# Created on: 2017-04-24 08:14:30
# Create by:  Ivan Wills
# $Id$
# $Revision$, $HeadURL$, $Date$
# $Revision$, $Source$, $Date$

use Moo;
use warnings;
use Carp;
use WWW::Mechanize;
use JSON::XS qw/decode_json encode_json/;
use Data::Dumper qw/Dumper/;
use English qw/ -no_match_vars /;
use App::BitBucketCli::Project;
use App::BitBucketCli::Repository;
use App::BitBucketCli::Branch;
use App::BitBucketCli::PullRequest;
use YAML::Syck qw/Dump/;

our $VERSION = 0.009;

lib/App/BitBucketCli/Link.pm  view on Meta::CPAN

   # This section will be as far as many users bother reading, so make it as
   # educational and exemplary as possible.


=head1 DESCRIPTION

=head1 SUBROUTINES/METHODS

=head2 C<TO_JSON ()>

Used by L<JSON::XS> for dumping the object

=head1 ATTRIBUTES

=head2 description

=head2 rel

=head2 url

=head2 href

lib/App/BitBucketCli/Links.pm  view on Meta::CPAN



=head1 DESCRIPTION

=head1 SUBROUTINES/METHODS

=head2 C<BUILDARGS ()>

=head2 C<TO_JSON ()>

Used by L<JSON::XS> for dumping the object

=head1 ATTRIBUTES

=head2 description

=head2 clone

=head2 self

=head1 DIAGNOSTICS

lib/App/BitBucketCli/Project.pm  view on Meta::CPAN



=head1 DESCRIPTION

=head1 SUBROUTINES/METHODS

=head2 C<BUILDARGS ()>

=head2 C<TO_JSON ()>

Used by L<JSON::XS> for dumping the object

=head1 ATTRIBUTES

=head2 description

=head2 id

=head2 key

=head2 link

lib/App/BitBucketCli/PullRequest.pm  view on Meta::CPAN

=head2 C<to_data ()>

=head2 C<to_name ()>

=head2 C<to_project ()>

=head2 C<to_repository ()>

=head2 C<TO_JSON ()>

Used by L<JSON::XS> for dumping the object

=head1 ATTRIBUTES

=head2 state

=head2 id

=head2 toRef

=head2 closed

lib/App/BitBucketCli/Repository.pm  view on Meta::CPAN

=head1 DESCRIPTION

=head1 SUBROUTINES/METHODS

=head2 C<self ()>

Returns the "self" url.

=head2 C<TO_JSON ()>

Used by L<JSON::XS> for dumping the object

=head1 ATTRIBUTES

=head2 id

=head2 link

=head2 links

=head2 state



( run in 0.547 second using v1.01-cache-2.11-cpan-4d50c553e7e )