Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Fixing Kwalitee

by Khen1950fx (Canon)
on Sep 03, 2014 at 01:27 UTC ( #1099336=note: print w/replies, xml ) Need Help??


in reply to Fixing Kwalitee

I used Test::CPAN::Meta::YAML to check the validity of the YAML.
#!/usr/bin/perl use strict; use warnings; use Test::More tests => 2; use Test::CPAN::Meta::YAML; meta_spec_ok('META.yml', 1.4, 'valid YAML');
The problem is requires:. You would want to use 0 and not the tilde. Here's the corrected META.yml:
--- #YAML:1.0 name: TinyDNS-Reader version: 0.5 abstract: Parser for TinyDNS records. author: - Steve Kemp <steve@steve.org.uk> license: perl_5 distribution_type: module configure_requires: ExtUtils::MakeMaker: 0 build_requires: ExtUtils::MakeMaker: 0 requires: Test::More: 0 Test::NoTabs: 0 Test::Pod: 0 resources: bugtracker: https://github.com/skx/TinyDNS--Reader/issues homepage: https://github.com/skx/TinyDNS--Reader/ license: http://dev.perl.org/licenses/ repository: https://github.com/skx/TinyDNS--Reader.git no_index: directory: - t - inc generated_by: ExtUtils::MakeMaker version 6.57_05 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4
The test results:
1..2 ok 1 - META.yml contains valid YAML ok 2 - valid YAML
The YAML is valid.

Replies are listed 'Best First'.
Re^2: Fixing Kwalitee
by skx (Parson) on Sep 03, 2014 at 07:11 UTC

    Perfect, thank you very much.

    Steve
    --

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1099336]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2019-05-22 21:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (140 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!