App-Wax

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

   "name" : "App-Wax",
   "no_index" : {
      "directory" : [
         "t",
         "inc"
      ]
   },
   "prereqs" : {
      "build" : {
         "requires" : {
            "Test::Differences" : "0.72",
            "Test::TinyMocker" : "0.03"
         }
      },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {

META.yml  view on Meta::CPAN

---
abstract: 'webify your CLI'
author:
  - 'chocolateboy <chocolate@cpan.org>'
build_requires:
  Test::Differences: '0.72'
  Test::TinyMocker: '0.03'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.76, CPAN::Meta::Converter version 2.150010'
license: artistic_2
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: App-Wax

Makefile.PL  view on Meta::CPAN

my $EUMM_VERSION = eval($ExtUtils::MakeMaker::VERSION);

my $META_MERGE = {
    resources => {
        repository => 'https://github.com/chocolateboy/wax',
        bugtracker => 'https://github.com/chocolateboy/wax/issues',
    },
};

my $TEST_REQUIRES = {
    'Test::Differences' => '0.72',

    # the latest version (0.05) is not available:
    # https://github.com/sukria/Test-TinyMocker/issues/8
    'Test::TinyMocker' => '0.03',
};

WriteMakefile(
    ABSTRACT_FROM  => 'lib/App/Wax.pod',
    AUTHOR         => 'chocolateboy <chocolate@cpan.org>',
    EXE_FILES      => ['bin/wax'],

t/lib/Test/App/Wax.pm  view on Meta::CPAN

# helper lib which exports a `wax_is` assertion and some fixtures (arrays)
# which map URLs to local filenames

use strict;
use warnings;
use base qw(Exporter);

use App::Wax;
use File::Spec;
use Function::Parameters qw(fun method);
use Test::Differences qw(eq_or_diff);
use Test::TinyMocker qw(mock);
use URI::Split qw(uri_split);

use constant XDG_CACHE_HOME => '/home/test/.cache';

my @FILENAMES = ('1.json', '2.html');

our @DEFAULT = map { File::Spec->catfile(XDG_CACHE_HOME, 'wax', "file$_") } @FILENAMES;
our @KEEP = map { "/keep/file$_" } @FILENAMES;
our @TEMP = map { "/tmp/file$_" } @FILENAMES;



( run in 0.838 second using v1.01-cache-2.11-cpan-6aa56a78535 )