Dist::Zilla::Plugin::Prereqs::EnsureVersion - Make sure that prereqs have minimum versions
This document describes version 0.050 of Dist::Zilla::Plugin::Prereqs::EnsureVersion (from Perl distribution Dist-Zilla-Plugin-Prereqs-EnsureVersion), released on 2018-06-07.
This plugin will check versions specified in prereqs. First you create ~/pmversions.ini containing list of modules and their mininum versions. Then, the plugin will check all prereqs against this list. If minimum version is not met (e.g. the prereq says 0 or a smaller version) then the build will be aborted.
Currently, prereqs with custom (/^x_/) phase or relationship are ignored.
Ideas for future version: ability to blacklist certain versions, specify version ranges, e.g.:
Module::Name = 1.00-2.00, != 1.93
String. Set location of pmversions.ini instead of the default ~/pmversions.ini. Example: /etc/minver.conf. Note that this is actually observed by in PMVersions::Util.
Please visit the project's homepage at https://metacpan.org/release/Dist-Zilla-Plugin-Prereqs-EnsureVersion.
Source repository is at https://github.com/perlancar/perl-Dist-Zilla-Plugin-Prereqs-EnsureVersion.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Prereqs-EnsureVersion
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
There are some plugins on CPAN related to specifying/detecting Perl's minimum version, e.g.: Dist::Zilla::Plugin::MinimumPerl, Dist::Zilla::Plugin::Test::MinimumVersion.
This software is copyright (c) 2018, 2017, 2016 by email@example.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::Prereqs::EnsureVersion, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.