File-Rotate-Simple

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::Spelling" : "0.17",
            "Test::TrailingSpace" : "0.0203",
            "Test::Vars" : "0.015",
            "Test::Version" : "1",
            "strict" : "0"
         }
      },
      "runtime" : {
         "recommends" : {
            "Class::Load::XS" : "0",
            "Ref::Util::XS" : "0",
            "Type::Tiny::XS" : "0"
         },
         "requires" : {
            "Exporter" : "0",
            "Graph" : "0",
            "List::Util" : "1.43",
            "Module::Runtime" : "0",
            "Moo" : "1.001000",
            "Path::Tiny" : "0.018",
            "Ref::Util" : "0",
            "Time::Seconds" : "0",
            "Types::Standard" : "0",
            "namespace::autoclean" : "0",
            "perl" : "v5.14.0",
            "warnings" : "0"
         }
      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "2.120900"

META.yml  view on Meta::CPAN

meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: File-Rotate-Simple
provides:
  File::Rotate::Simple:
    file: lib/File/Rotate/Simple.pm
    version: v0.4.2
recommends:
  Class::Load::XS: '0'
  Ref::Util::XS: '0'
  Type::Tiny::XS: '0'
requires:
  Exporter: '0'
  Graph: '0'
  List::Util: '1.43'
  Module::Runtime: '0'
  Moo: '1.001000'
  Path::Tiny: '0.018'
  Ref::Util: '0'
  Time::Seconds: '0'
  Types::Standard: '0'
  namespace::autoclean: '0'
  perl: v5.14.0
  warnings: '0'
resources:
  bugtracker: https://github.com/robrwo/File-Rotate-Simple/issues
  repository: git://github.com/robrwo/File-Rotate-Simple.git
version: v0.4.2
x_authority: cpan:RRWO

Makefile.PL  view on Meta::CPAN

  "LICENSE" => "artistic_2",
  "MIN_PERL_VERSION" => "5.014000",
  "NAME" => "File::Rotate::Simple",
  "PREREQ_PM" => {
    "Exporter" => 0,
    "Graph" => 0,
    "List::Util" => "1.43",
    "Module::Runtime" => 0,
    "Moo" => "1.001000",
    "Path::Tiny" => "0.018",
    "Ref::Util" => 0,
    "Time::Seconds" => 0,
    "Types::Standard" => 0,
    "namespace::autoclean" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Module::Metadata" => 0,

Makefile.PL  view on Meta::CPAN

  "Exporter" => 0,
  "File::Spec" => 0,
  "Graph" => 0,
  "IO::Handle" => 0,
  "IPC::Open3" => 0,
  "List::Util" => "1.43",
  "Module::Metadata" => 0,
  "Module::Runtime" => 0,
  "Moo" => "1.001000",
  "Path::Tiny" => "0.018",
  "Ref::Util" => 0,
  "Test::More" => "0.99",
  "Test::Most" => 0,
  "Time::Piece" => 0,
  "Time::Seconds" => 0,
  "Types::Standard" => 0,
  "namespace::autoclean" => 0,
  "strict" => 0,
  "warnings" => 0
);

README.md  view on Meta::CPAN

# REQUIREMENTS

This module lists the following modules as runtime dependencies:

- [Exporter](https://metacpan.org/pod/Exporter)
- [Graph](https://metacpan.org/pod/Graph)
- [List::Util](https://metacpan.org/pod/List%3A%3AUtil) version 1.43 or later
- [Module::Runtime](https://metacpan.org/pod/Module%3A%3ARuntime)
- [Moo](https://metacpan.org/pod/Moo) version 1.001000 or later
- [Path::Tiny](https://metacpan.org/pod/Path%3A%3ATiny) version 0.018 or later
- [Ref::Util](https://metacpan.org/pod/Ref%3A%3AUtil)
- [Time::Seconds](https://metacpan.org/pod/Time%3A%3ASeconds)
- [Types::Standard](https://metacpan.org/pod/Types%3A%3AStandard)
- [namespace::autoclean](https://metacpan.org/pod/namespace%3A%3Aautoclean)
- [perl](https://metacpan.org/pod/perl) version v5.14.0 or later
- [warnings](https://metacpan.org/pod/warnings)

See the `cpanfile` file for the full list of prerequisites.

# INSTALLATION

cpanfile  view on Meta::CPAN

# This file is generated by Dist::Zilla::Plugin::CPANFile v6.037
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.

requires "Exporter" => "0";
requires "Graph" => "0";
requires "List::Util" => "1.43";
requires "Module::Runtime" => "0";
requires "Moo" => "1.001000";
requires "Path::Tiny" => "0.018";
requires "Ref::Util" => "0";
requires "Time::Seconds" => "0";
requires "Types::Standard" => "0";
requires "namespace::autoclean" => "0";
requires "perl" => "v5.14.0";
requires "warnings" => "0";
recommends "Class::Load::XS" => "0";
recommends "Ref::Util::XS" => "0";
recommends "Type::Tiny::XS" => "0";

on 'build' => sub {
  recommends "ExtUtils::MakeMaker" => "7.22";
  recommends "Module::Metadata" => "1.000015";
};

on 'test' => sub {
  requires "File::Spec" => "0";
  requires "IO::Handle" => "0";

lib/File/Rotate/Simple.pm  view on Meta::CPAN


use v5.14;

use Moo 1.001000;
extends 'Exporter';

use Graph;
use List::Util 1.43, qw/ first /;
use Module::Runtime qw/ require_module /;
use Path::Tiny 0.015;
use Ref::Util qw/ is_blessed_ref /;
use Time::Seconds qw/ ONE_DAY /;
use Types::Standard -types;

use namespace::autoclean;

our $VERSION = 'v0.4.2';

# ABSTRACT: no-frills file rotation

# RECOMMEND PREREQ: Class::Load::XS
# RECOMMEND PREREQ: Ref::Util::XS
# RECOMMEND PREREQ: Type::Tiny::XS

our @EXPORT_OK = qw/ rotate_files /;


has age => (
    is      => 'ro',
    isa     => Int,
    default => 0,
);

t/00-report-prereqs.dd  view on Meta::CPAN

                                      'Test::Spelling' => '0.17',
                                      'Test::TrailingSpace' => '0.0203',
                                      'Test::Vars' => '0.015',
                                      'Test::Version' => '1',
                                      'strict' => '0'
                                    }
                    },
       'runtime' => {
                      'recommends' => {
                                        'Class::Load::XS' => '0',
                                        'Ref::Util::XS' => '0',
                                        'Type::Tiny::XS' => '0'
                                      },
                      'requires' => {
                                      'Exporter' => '0',
                                      'Graph' => '0',
                                      'List::Util' => '1.43',
                                      'Module::Runtime' => '0',
                                      'Moo' => '1.001000',
                                      'Path::Tiny' => '0.018',
                                      'Ref::Util' => '0',
                                      'Time::Seconds' => '0',
                                      'Types::Standard' => '0',
                                      'namespace::autoclean' => '0',
                                      'perl' => 'v5.14.0',
                                      'warnings' => '0'
                                    }
                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'



( run in 0.691 second using v1.01-cache-2.11-cpan-354807fb38d )