Cron-Sequencer

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Algorithm::Cron" : "0",
            "DateTime" : "0",
            "JSON::MaybeXS" : "0",
            "Try::Tiny" : "0",
            "perl" : "5.020000"
         }
      },
      "test" : {
         "requires" : {
            "Test::Deep" : "0",
            "Test::Fatal" : "0",
            "Test::More" : "0"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "web" : "https://github.com/Humanstate/cron-sequencer/issues"
      },
      "homepage" : "https://metacpan.org/module/Cron::Sequencer",

META.yml  view on Meta::CPAN

---
abstract: unknown
author:
  - 'Nicholas Clark <nick@ccl4.org>'
build_requires:
  ExtUtils::MakeMaker: '0'
  Test::Deep: '0'
  Test::Fatal: '0'
  Test::More: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.64, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Cron-Sequencer

Makefile.PL  view on Meta::CPAN

    LICENSE          => 'perl',
    MIN_PERL_VERSION => '5.20.0',
    PREREQ_PM => {
        'Algorithm::Cron'  => 0,
        'DateTime'         => 0,
        'JSON::MaybeXS'    => 0,
        'Try::Tiny'        => 0,
    },
    TEST_REQUIRES => {
        'Test::Deep'       => 0,
        'Test::Fatal'      => 0,
        'Test::More'       => 0,
    },
    META_MERGE => {
        resources => {
            license    => 'http://dev.perl.org/licenses/',
            homepage   => 'https://metacpan.org/module/Cron::Sequencer',
            bugtracker => 'https://github.com/Humanstate/cron-sequencer/issues',
            repository => 'https://github.com/Humanstate/cron-sequencer'
        },
    },

t/cli-parse_argv.t  view on Meta::CPAN

#!perl

use strict;
use warnings;

use Test::More;
use Test::Deep;
use Test::Fatal;
require DateTime;

use Cron::Sequencer::CLI qw(parse_argv calculate_start_end);

my $nowish = time;

{
    no warnings 'redefine';
    *DateTime::_core_time = sub { return $nowish };
}

t/cli-start_end.t  view on Meta::CPAN

#!perl

use strict;
use warnings;

use Test::More;
use Test::Deep;
use Test::Fatal;
require DateTime;
require JSON::MaybeXS;

use Cron::Sequencer::CLI qw(calculate_start_end);

my $nowish = time;

{
    no warnings 'redefine';
    *DateTime::_core_time = sub { return $nowish };

t/new.t  view on Meta::CPAN

#!perl

use strict;
use warnings;

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

require_ok('Cron::Sequencer')
    or BAIL_OUT('When Cron::Sequencer fails to even load, nothing is going to work');

isa_ok(Cron::Sequencer->new(\""), 'Cron::Sequencer');

isa_ok(Cron::Sequencer->new('t/reminder'), 'Cron::Sequencer');

isa_ok(Cron::Sequencer->new({ source =>'t/reminder' }), 'Cron::Sequencer');

t/parser.t  view on Meta::CPAN

#!perl

use strict;
use warnings;

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

require_ok('Cron::Sequencer::Parser')
    or BAIL_OUT('When Cron::Sequencer fails to even load, nothing is going to work');

# We assume that the tests for Algorithm::Cron sufficiently test its parser for
# time strings, so we concentrate on our code here (the env parser and the
# special strings)

my @fields = qw(min hour mday mon wday);



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