Calendar-Bahai

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.50  Wed Apr 03 14:45:00 2019
      - Added dependency on Calendar::Plugin::Renderer v0.14.

0.49  Wed Mar 20 17:05:00 2019
      - Updated dependency on Date::Bahai::Simple v0.24.

0.48  Sat Nov 24 04:50:00 2018
      - Upgraded to use Date::Bahai::Simple v0.23.

0.47  Sun Nov 11 10:35:00 2018
      - Used namespace::autoclean instead.

0.46  Thu Jan 26 11:55:00 2017
      - Upgraded to use Date::Bahai::Simple v0.20.

0.45  Mon Jan 09 12:20:00 2017
      - Added dependency on Calendar::Plugin::Renderer v0.12.
      - Removed method validate_params(), no longer required.

0.44  Sat Dec 31 20:00:00 2016
      - Added sample code for method as_text() in the SYNOPSIS section.

META.json  view on Meta::CPAN

      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "Calendar::Plugin::Renderer" : "0.15",
            "Date::Bahai::Simple" : "0.28",
            "Moo" : "2.000000",
            "namespace::autoclean" : "0.28",
            "perl" : "5.006"
         }
      }
   },
   "provides" : {
      "Calendar::Bahai" : {
         "file" : "lib/Calendar/Bahai.pm",
         "version" : "0.56"
      }
   },

META.yml  view on Meta::CPAN

    - t
    - inc
provides:
  Calendar::Bahai:
    file: lib/Calendar/Bahai.pm
    version: '0.56'
requires:
  Calendar::Plugin::Renderer: '0.15'
  Date::Bahai::Simple: '0.28'
  Moo: '2.000000'
  namespace::autoclean: '0.28'
  perl: '5.006'
resources:
  repository: https://github.com/manwar/Calendar-Bahai.git
version: '0.56'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

    CONFIGURE_REQUIRES => {
        'ExtUtils::MakeMaker' => 0,
    },
    BUILD_REQUIRES => {
        'Test::More'        => 0,
        'File::Temp'        => 0,
        'XML::SemanticDiff' => 0,
    },
    PREREQ_PM => {
        'Moo'                        => '2.000000',
        'namespace::autoclean'       => '0.28',
        'Date::Bahai::Simple'        => '0.28',
        'Calendar::Plugin::Renderer' => '0.15',
    },
    dist  => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean => { FILES => 'Calendar-Bahai-*' },
    (eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (META_MERGE => {
        'meta-spec' => { version => 2 },
        provides    => {
            'Calendar::Bahai' => { file => 'lib/Calendar/Bahai.pm', version => '0.56' },
        },

lib/Calendar/Bahai.pm  view on Meta::CPAN


Version 0.56

=cut

use 5.006;
use Data::Dumper;

use Date::Bahai::Simple;
use Moo;
use namespace::autoclean;
with 'Calendar::Plugin::Renderer';

use overload q{""} => 'as_string', fallback => 1;

has year  => (is => 'rw', predicate => 1);
has month => (is => 'rw', predicate => 1);
has date  => (is => 'ro', default   => sub { Date::Bahai::Simple->new });

sub BUILD {
    my ($self) = @_;



( run in 1.143 second using v1.01-cache-2.11-cpan-a5abf4f5562 )