Perl-Critic-Policy-Security-RandBytesFromHash

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::Portability::Files" : "0",
            "Test::Spelling" : "0.17",
            "Test::TrailingSpace" : "0.0203",
            "Test::Vars" : "0.015",
            "Test::Version" : "1",
            "strict" : "0"
         }
      },
      "runtime" : {
         "recommends" : {
            "Ref::Util::XS" : "0"
         },
         "requires" : {
            "List::Util" : "0",
            "PPI" : "1.281",
            "Perl::Critic::Policy" : "0",
            "Perl::Critic::Utils" : "0",
            "Readonly" : "2.01",
            "Ref::Util" : "0",
            "experimental" : "0",
            "parent" : "0",
            "perl" : "v5.24.0",
            "warnings" : "0"
         }
      },
      "test" : {
         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },

META.yml  view on Meta::CPAN

license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Perl-Critic-Policy-Security-RandBytesFromHash
provides:
  Perl::Critic::Policy::Security::RandBytesFromHash:
    file: lib/Perl/Critic/Policy/Security/RandBytesFromHash.pm
    version: v0.1.3
recommends:
  Ref::Util::XS: '0'
requires:
  List::Util: '0'
  PPI: '1.281'
  Perl::Critic::Policy: '0'
  Perl::Critic::Utils: '0'
  Readonly: '2.01'
  Ref::Util: '0'
  experimental: '0'
  parent: '0'
  perl: v5.24.0
  warnings: '0'
resources:
  bugtracker: https://github.com/robrwo/Perl-Critic-Policy-Security-RandBytesFromHash/issues
  repository: git://github.com/robrwo/Perl-Critic-Policy-Security-RandBytesFromHash.git
version: v0.1.3
x_authority: cpan:RRWO
x_generated_by_perl: v5.42.1

Makefile.PL  view on Meta::CPAN

  "DISTNAME" => "Perl-Critic-Policy-Security-RandBytesFromHash",
  "LICENSE" => "perl",
  "MIN_PERL_VERSION" => "5.024000",
  "NAME" => "Perl::Critic::Policy::Security::RandBytesFromHash",
  "PREREQ_PM" => {
    "List::Util" => 0,
    "PPI" => "1.281",
    "Perl::Critic::Policy" => 0,
    "Perl::Critic::Utils" => 0,
    "Readonly" => "2.01",
    "Ref::Util" => 0,
    "experimental" => 0,
    "parent" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Module::Metadata" => "1.000015",
    "Test::More" => 0,

Makefile.PL  view on Meta::CPAN

  "ExtUtils::MakeMaker" => "7.22",
  "File::Spec" => 0,
  "IO::Handle" => 0,
  "IPC::Open3" => 0,
  "List::Util" => 0,
  "Module::Metadata" => "1.000015",
  "PPI" => "1.281",
  "Perl::Critic::Policy" => 0,
  "Perl::Critic::Utils" => 0,
  "Readonly" => "2.01",
  "Ref::Util" => 0,
  "Test::More" => 0,
  "Test::Perl::Critic::Policy" => 0,
  "experimental" => 0,
  "parent" => 0,
  "strict" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {

README.md  view on Meta::CPAN


# REQUIREMENTS

This module lists the following modules as runtime dependencies:

- [List::Util](https://metacpan.org/pod/List%3A%3AUtil)
- [PPI](https://metacpan.org/pod/PPI) version 1.281 or later
- [Perl::Critic::Policy](https://metacpan.org/pod/Perl%3A%3ACritic%3A%3APolicy)
- [Perl::Critic::Utils](https://metacpan.org/pod/Perl%3A%3ACritic%3A%3AUtils)
- [Readonly](https://metacpan.org/pod/Readonly) version 2.01 or later
- [Ref::Util](https://metacpan.org/pod/Ref%3A%3AUtil)
- [experimental](https://metacpan.org/pod/experimental)
- [parent](https://metacpan.org/pod/parent)
- [perl](https://metacpan.org/pod/perl) version v5.24.0 or later
- [warnings](https://metacpan.org/pod/warnings)

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

# INSTALLATION

The latest version of this module (along with any dependencies) can be installed from [CPAN](https://www.cpan.org) with the `cpan` tool that is included with Perl:

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 "List::Util" => "0";
requires "PPI" => "1.281";
requires "Perl::Critic::Policy" => "0";
requires "Perl::Critic::Utils" => "0";
requires "Readonly" => "2.01";
requires "Ref::Util" => "0";
requires "experimental" => "0";
requires "parent" => "0";
requires "perl" => "v5.24.0";
requires "warnings" => "0";
recommends "Ref::Util::XS" => "0";

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

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

lib/Perl/Critic/Policy/Security/RandBytesFromHash.pm  view on Meta::CPAN


use v5.24;
use warnings;

use parent 'Perl::Critic::Policy';

use List::Util qw( any );
use Perl::Critic::Utils qw( :severities :classification :ppi );
use PPI 1.281; # signatures support
use Readonly 2.01;
use Ref::Util qw( is_plain_arrayref );

# RECOMMEND PREREQ: Ref::Util::XS

our $VERSION = 'v0.1.3';

Readonly my $DESC => 'random bytes generated using a hash';
Readonly my $EXPL => 'A hash seeded with poor sources of entropy is still a poor source of entropy, use system entropy instead.';

use experimental qw( signatures );

sub supported_parameters { () }

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

                                      'Test::Portability::Files' => '0',
                                      'Test::Spelling' => '0.17',
                                      'Test::TrailingSpace' => '0.0203',
                                      'Test::Vars' => '0.015',
                                      'Test::Version' => '1',
                                      'strict' => '0'
                                    }
                    },
       'runtime' => {
                      'recommends' => {
                                        'Ref::Util::XS' => '0'
                                      },
                      'requires' => {
                                      'List::Util' => '0',
                                      'PPI' => '1.281',
                                      'Perl::Critic::Policy' => '0',
                                      'Perl::Critic::Utils' => '0',
                                      'Readonly' => '2.01',
                                      'Ref::Util' => '0',
                                      'experimental' => '0',
                                      'parent' => '0',
                                      'perl' => 'v5.24.0',
                                      'warnings' => '0'
                                    }
                    },
       'test' => {
                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },



( run in 2.273 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )