App-calendr

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
         "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

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
    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:
version: '0.26'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
},
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

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
use 5.006;
    search_path => [ 'Calendar' ],
    require     => 1,
    inner       => 0,
    max_depth   => 2;
 
use Moo;
 
our $DEFAULT_CALENDAR = 'Gregorian';
our $FAILED_CALENDARS = {};
 
use Types::Standard -all;
with 'https://metacpan.org/pod/App::calendr::Option">App::calendr::Option';
 
 
=head1 DESCRIPTION

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

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
=head1 VERSION
 
Version 0.26
 
=cut
 
use 5.006;
 
 
use Types::Standard -all;
 
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 1.041 second using v1.00-cache-2.02-grep-82fe00e-cpan-9cd309a53ab )