Robots-Validate

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::Perl::Critic" : "0",
            "Test::Pod" : "1.41",
            "Test::Pod::Coverage" : "1.08",
            "Test::Pod::LinkCheck" : "0",
            "Test::Portability::Files" : "0",
            "Test::TrailingSpace" : "0.0203"
         }
      },
      "runtime" : {
         "recommends" : {
            "Ref::Util::XS" : "0",
            "Type::Tiny::XS" : "0"
         },
         "requires" : {
            "List::Util" : "1.33",
            "Moo" : "1",
            "MooX::Const" : "v0.4.0",
            "Net::DNS::Resolver" : "0",
            "Ref::Util" : "0",
            "Types::Standard" : "0",
            "namespace::autoclean" : "0",
            "perl" : "v5.14.0"
         }
      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },
         "requires" : {

META.yml  view on Meta::CPAN

license: artistic_2
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Robots-Validate
provides:
  Robots::Validate:
    file: lib/Robots/Validate.pm
    version: v0.2.9
recommends:
  Ref::Util::XS: '0'
  Type::Tiny::XS: '0'
requires:
  List::Util: '1.33'
  Moo: '1'
  MooX::Const: v0.4.0
  Net::DNS::Resolver: '0'
  Ref::Util: '0'
  Types::Standard: '0'
  namespace::autoclean: '0'
  perl: v5.14.0
resources:
  bugtracker: https://github.com/robrwo/Robots-Validate/issues
  repository: git://github.com/robrwo/Robots-Validate.git
version: v0.2.9
x_authority: cpan:RRWO
x_generated_by_perl: v5.34.3
x_serialization_backend: 'YAML::Tiny version 1.74'

Makefile.PL  view on Meta::CPAN

  },
  "DISTNAME" => "Robots-Validate",
  "LICENSE" => "artistic_2",
  "MIN_PERL_VERSION" => "5.014000",
  "NAME" => "Robots::Validate",
  "PREREQ_PM" => {
    "List::Util" => "1.33",
    "Moo" => 1,
    "MooX::Const" => "0.4.0",
    "Net::DNS::Resolver" => 0,
    "Ref::Util" => 0,
    "Types::Standard" => 0,
    "namespace::autoclean" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "Module::Metadata" => 0,
    "Net::DNS::Resolver::Mock" => 0,
    "Test::More" => 0,
    "Test::Most" => 0
  },

Makefile.PL  view on Meta::CPAN



my %FallbackPrereqs = (
  "File::Spec" => 0,
  "List::Util" => "1.33",
  "Module::Metadata" => 0,
  "Moo" => 1,
  "MooX::Const" => "0.4.0",
  "Net::DNS::Resolver" => 0,
  "Net::DNS::Resolver::Mock" => 0,
  "Ref::Util" => 0,
  "Test::More" => 0,
  "Test::Most" => 0,
  "Types::Standard" => 0,
  "namespace::autoclean" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};

cpanfile  view on Meta::CPAN

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

requires "List::Util" => "1.33";
requires "Moo" => "1";
requires "MooX::Const" => "v0.4.0";
requires "Net::DNS::Resolver" => "0";
requires "Ref::Util" => "0";
requires "Types::Standard" => "0";
requires "namespace::autoclean" => "0";
requires "perl" => "v5.14.0";
recommends "Ref::Util::XS" => "0";
recommends "Type::Tiny::XS" => "0";

on 'test' => sub {
  requires "File::Spec" => "0";
  requires "Module::Metadata" => "0";
  requires "Net::DNS::Resolver::Mock" => "0";
  requires "Test::More" => "0";
  requires "Test::Most" => "0";
};

lib/Robots/Validate.pm  view on Meta::CPAN


# ABSTRACT: Validate that IP addresses are associated with known robots

use v5.14;

use Moo 1;

use MooX::Const v0.4.0;
use List::Util 1.33 qw/ first none /;
use Net::DNS::Resolver;
use Ref::Util qw/ is_plain_hashref /;
use Types::Standard -types;

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

use namespace::autoclean;

our $VERSION = 'v0.2.9';


has resolver => (
    is      => 'lazy',
    isa     => InstanceOf ['Net::DNS::Resolver'],
    builder => 1,

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

                                      'Test::Perl::Critic' => '0',
                                      'Test::Pod' => '1.41',
                                      'Test::Pod::Coverage' => '1.08',
                                      'Test::Pod::LinkCheck' => '0',
                                      'Test::Portability::Files' => '0',
                                      'Test::TrailingSpace' => '0.0203'
                                    }
                    },
       'runtime' => {
                      'recommends' => {
                                        'Ref::Util::XS' => '0',
                                        'Type::Tiny::XS' => '0'
                                      },
                      'requires' => {
                                      'List::Util' => '1.33',
                                      'Moo' => '1',
                                      'MooX::Const' => 'v0.4.0',
                                      'Net::DNS::Resolver' => '0',
                                      'Ref::Util' => '0',
                                      'Types::Standard' => '0',
                                      'namespace::autoclean' => '0',
                                      'perl' => 'v5.14.0'
                                    }
                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },
                   'requires' => {



( run in 0.281 second using v1.01-cache-2.11-cpan-4d50c553e7e )