App-calendr

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for App::calendr

0.26  Sat Sep 21 10:55:00 2019
      - Added author unit test scripts (xt/meta-json.t and xt/meta-yml.t).

0.25  Fri Sep 20 19:15:00 2019
      - Moved author test scripts to xt/ subfolder.

0.24  Sun Mar 31 11:40:00 2019
      - Used namespace::autoclean instead.

0.23  Thu Sep 28 12:20:00 2017
      - Downgraded min version requirement for Calendar::Julian.
      - Upgraded min version requirement for Calendar::Bahai in the test script t/app-calendr.t

0.22  Wed Sep 27 10:50:00 2017
      - Proposed fix for issue RT #123094 (added min version requirement for installed calendars).

0.21  Thu Aug 24 12:00:00 2017
      - Added order to command line options.

META.json  view on Meta::CPAN

            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "Module::Pluggable" : "5.1",
            "Moo" : "2.000000",
            "Moo::Role" : "2.000000",
            "MooX::Options" : "4.023",
            "Types::Standard" : "1.000005",
            "namespace::autoclean" : "0.28",
            "perl" : "5.006"
         }
      }
   },
   "provides" : {
      "App::calendr" : {
         "file" : "lib/App/calendr.pm",
         "version" : "0.26"
      },
      "App::calendr::Option" : {

META.yml  view on Meta::CPAN

    version: '0.26'
  App::calendr::Option:
    file: lib/App/calendr/Option.pm
    version: '0.26'
requires:
  Module::Pluggable: '5.1'
  Moo: '2.000000'
  Moo::Role: '2.000000'
  MooX::Options: '4.023'
  Types::Standard: '1.000005'
  namespace::autoclean: '0.28'
  perl: '5.006'
resources:
  repository: https://github.com/manwar/App-calendr.git
version: '0.26'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

    },
    BUILD_REQUIRES   => {
        'Test::More' => 0,
    },
    PREREQ_PM                  => {
        'Types::Standard'      => '1.000005',
        'MooX::Options'        => '4.023',
        'Module::Pluggable'    => '5.1',
        'Moo'                  => '2.000000',
        'Moo::Role'            => '2.000000',
        'namespace::autoclean' => '0.28',
    },
    dist  => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean => { FILES => 'App-calendr-*' },
    (eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (META_MERGE => {
        'meta-spec' => { version => 2 },
        provides    => {
            'App::calendr'         => { file => 'lib/App/calendr.pm'        , version => '0.26' },
            'App::calendr::Option' => { file => 'lib/App/calendr/Option.pm' , version => '0.26' },
        },
        resources => {

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

use 5.006;
use Data::Dumper;
use App::calendr::Option;
use Module::Pluggable
    search_path => [ 'Calendar' ],
    require     => 1,
    inner       => 0,
    max_depth   => 2;

use Moo;
use namespace::autoclean;

our $DEFAULT_CALENDAR = 'Gregorian';
our $FAILED_CALENDARS = {};

use Types::Standard -all;
use MooX::Options;
with 'App::calendr::Option';


=head1 DESCRIPTION

lib/App/calendr/Option.pm  view on Meta::CPAN

=head1 VERSION

Version 0.26

=cut

use 5.006;
use Data::Dumper;

use Moo::Role;
use namespace::autoclean;

use Types::Standard -all;
use MooX::Options;

has calendars => (is => 'rw');
option name   => (is => 'ro', order => 1, isa => Str, format => 's', doc => "Calendar name e.g. Bahai,Gregorian,Hebrew,Hijri,Julian,Persian,Saka.\n\tDefault is Gregorian.");
option month  => (is => 'ro', order => 2, isa => Str, format => 's', doc => 'Month number/name e.g. 1,2,3... or January,February...');
option year   => (is => 'ro', order => 3, isa => Int, format => 'i', doc => 'Year number (3/4 digits)');
option gdate  => (is => 'ro', order => 4, isa => Str, format => 's', doc => 'Gregorian date (YYYY-MM-DD)');
option jday   => (is => 'ro', order => 5, isa => Str, format => 'i', doc => 'Julian day');

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.896 second using v1.00-cache-2.02-grep-82fe00e-cpan-4185a24d4ac )