App-tarweb

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "URI" : "0",
            "perl" : "5.034"
         }
      },
      "test" : {
         "recommends" : {
            "EV" : "0"
         },
         "requires" : {
            "Capture::Tiny" : "0",
            "HTTP::Request::Common" : "0",
            "Mojo::DOM58" : "0",
            "Test2::Tools::DOM" : "0",
            "Test2::Tools::HTTP" : "0",
            "Test2::V0" : "0.000121",
            "Test::Script" : "0",
            "perl" : "5.034"
         }
      }
   },
   "release_status" : "stable",

META.yml  view on Meta::CPAN

---
abstract: 'Open an archive file in your web browser!'
author:
  - 'Graham Ollis <plicease@cpan.org>'
build_requires:
  Capture::Tiny: '0'
  HTTP::Request::Common: '0'
  Mojo::DOM58: '0'
  Test2::Tools::DOM: '0'
  Test2::Tools::HTTP: '0'
  Test2::V0: '0.000121'
  Test::Script: '0'
  perl: '5.034'
configure_requires:
  ExtUtils::MakeMaker: '0'
  File::ShareDir::Install: '0.06'
  perl: '5.034'

Makefile.PL  view on Meta::CPAN

    "File::ShareDir::Dist"   => 0,
    "Path::Tiny"             => 0,
    "Plack::App::File"       => 0,
    "Plack::App::Libarchive" => "0.02",
    "Plack::Builder"         => 0,
    "Plack::Runner"          => 0,
    "URI"                    => 0
  },
  "TEST_REQUIRES" => {
    "Capture::Tiny"         => 0,
    "HTTP::Request::Common" => 0,
    "Mojo::DOM58"           => 0,
    "Test2::Tools::DOM"     => 0,
    "Test2::Tools::HTTP"    => 0,
    "Test2::V0"             => "0.000121",
    "Test::Script"          => 0
  },
  "VERSION" => "0.01",
  "test"    => {
    "TESTS" => "t/*.t"
  }
);

my %FallbackPrereqs = (
  "Browser::Start"         => 0,
  "Capture::Tiny"          => 0,
  "File::ShareDir::Dist"   => 0,
  "HTTP::Request::Common"  => 0,
  "Mojo::DOM58"            => 0,
  "Path::Tiny"             => 0,
  "Plack::App::File"       => 0,
  "Plack::App::Libarchive" => "0.02",
  "Plack::Builder"         => 0,
  "Plack::Runner"          => 0,
  "Test2::Tools::DOM"      => 0,
  "Test2::Tools::HTTP"     => 0,
  "Test2::V0"              => "0.000121",
  "Test::Script"           => 0,

t/00_diag.t  view on Meta::CPAN

my $post_diag;

BEGIN { eval q{ use EV; } }
$modules{$_} = $_ for qw(
  Browser::Start
  Capture::Tiny
  EV
  ExtUtils::MakeMaker
  File::ShareDir::Dist
  File::ShareDir::Install
  HTTP::Request::Common
  Mojo::DOM58
  Path::Tiny
  Plack::App::File
  Plack::App::Libarchive
  Plack::Builder
  Plack::Runner
  Test2::Tools::DOM
  Test2::Tools::HTTP
  Test2::V0
  Test::Script

t/app_tarweb.t  view on Meta::CPAN

use Test2::V0 -no_srand => 1;
use 5.034;
use experimental qw( signatures );
use App::tarweb;
use Test2::Tools::HTTP;
use Test2::Tools::DOM;
use HTTP::Request::Common;
use Mojo::DOM58;
use URI;
use Path::Tiny qw( path );
use Capture::Tiny qw( capture_stderr );

subtest 'no archive' => sub {

  my $cli = App::tarweb->new;

  my($stderr, $exit) = capture_stderr {



( run in 0.418 second using v1.01-cache-2.11-cpan-de7293f3b23 )