Subject: | does not handle ranges in prereq entries |
When I create a prereq entry like this:
[Prereqs / DevelopConflicts]
Dist::Zilla::Plugin::Conflicts = == 0.11
I get this out of 'dzil test':
Invalid version format (non-numeric data) at /Users/ether/.perlbrew/libs/19.1@std/lib/perl5/Dist/Zilla/Plugin/ReportVersions/Tiny.pm line 103.
Version ranges are legal:
https://metacpan.org/module/CPAN::Meta::Spec#Version-Ranges
You should be using CPAN::Meta::Requirements to examine the prereq data, rather than parsing directly... see the code in CPAN::Meta::Check for examples.