App-Nopaste

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },
         "requires" : {
            "ExtUtils::MakeMaker" : "0",
            "File::Spec" : "0",
            "LWP::Protocol" : "0",
            "Test::Deep" : "0",
            "Test::Fatal" : "0",
            "Test::More" : "0.88",
            "perl" : "5.008003"
         }
      },
      "x_Dist_Zilla" : {
         "requires" : {
            "Dist::Zilla" : "5",
            "Dist::Zilla::Plugin::Authority" : "1.009",
            "Dist::Zilla::Plugin::AutoMetaResources" : "0",
            "Dist::Zilla::Plugin::AutoPrereqs" : "5.038",

META.yml  view on Meta::CPAN

---
abstract: 'Easy access to any pastebin'
author:
  - 'Shawn M Moore, <sartak@gmail.com>'
build_requires:
  ExtUtils::MakeMaker: '0'
  File::Spec: '0'
  LWP::Protocol: '0'
  Test::Deep: '0'
  Test::Fatal: '0'
  Test::More: '0.88'
  perl: '5.008003'
configure_requires:
  CPAN::Meta::Requirements: '2.120620'
  ExtUtils::MakeMaker: '0'
  Module::Metadata: '0'
  perl: '5.008003'
dynamic_config: 1
generated_by: 'Dist::Zilla version 6.013, CPAN::Meta::Converter version 2.150010'
keywords:

Makefile.PL  view on Meta::CPAN

    "namespace::clean" => "0.19",
    "parent" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0,
    "File::Spec" => 0,
    "LWP::Protocol" => 0,
    "Test::Deep" => 0,
    "Test::Fatal" => 0,
    "Test::More" => "0.88"
  },
  "VERSION" => "1.013",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


my %FallbackPrereqs = (

Makefile.PL  view on Meta::CPAN

  "File::Temp" => 0,
  "Getopt::Long::Descriptive" => 0,
  "JSON::MaybeXS" => 0,
  "LWP::Protocol" => 0,
  "LWP::UserAgent" => 0,
  "Module::Pluggable" => 0,
  "Module::Runtime" => 0,
  "POSIX" => 0,
  "Path::Tiny" => 0,
  "Test::Deep" => 0,
  "Test::Fatal" => 0,
  "Test::More" => "0.88",
  "URI::Escape" => 0,
  "WWW::Mechanize" => 0,
  "namespace::clean" => "0.19",
  "parent" => 0,
  "strict" => 0,
  "warnings" => 0
);

# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.035

t/00-report-prereqs.dd  view on Meta::CPAN

                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },
                   'requires' => {
                                   'ExtUtils::MakeMaker' => '0',
                                   'File::Spec' => '0',
                                   'LWP::Protocol' => '0',
                                   'Test::Deep' => '0',
                                   'Test::Fatal' => '0',
                                   'Test::More' => '0.88',
                                   'perl' => '5.008003'
                                 }
                 },
       'x_Dist_Zilla' => {
                           'requires' => {
                                           'Dist::Zilla' => '5',
                                           'Dist::Zilla::Plugin::Authority' => '1.009',
                                           'Dist::Zilla::Plugin::AutoMetaResources' => '0',
                                           'Dist::Zilla::Plugin::AutoPrereqs' => '5.038',

t/003-command.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More 0.88;
use Test::Deep;
use Test::Fatal;

use App::Nopaste::Command;

my $cmd = App::Nopaste::Command->new();
isa_ok($cmd, 'App::Nopaste::Command');

is(App::Nopaste::Command->new({ desc     => 'My Test Description' })->desc, 'My Test Description');
is(App::Nopaste::Command->new({ nick     => 'My Service' })->nick,          'My Service');
is(App::Nopaste::Command->new({ lang     => 'Python' })->lang,              'Python');
is(App::Nopaste::Command->new({ chan     => 'perl' })->chan,                'perl');

t/004-03-gist.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More 0.88;
use Test::Deep;
use Test::Fatal;
use Path::Tiny;

use App::Nopaste::Service::Gist;

# clear these first to avoid interfering with tests -- and be sure we don't
# accidentally user's credentials into test results!
local $ENV{GITHUB_USER};
local $ENV{GITHUB_PASSWORD};
local $ENV{GITHUB_OAUTH_TOKEN};

t/004-service.t  view on Meta::CPAN

use strict;
use warnings;

use Test::More 0.88;
use Test::Deep;
use Test::Fatal;

use App::Nopaste::Service;

like(
    exception { App::Nopaste::Service->uri() },
    qr/App::Nopaste::Service must provide a 'uri' method/,
    'appropriate error when no URI is provided',
);

done_testing;



( run in 1.374 second using v1.01-cache-2.11-cpan-54e63673c56 )