From eddd36e16cf46b1d3e8ebd196078c95c0099dc51 Mon Sep 17 00:00:00 2001 From: Lari Taskula Date: Fri, 17 Feb 2017 13:14:09 +0200 Subject: [PATCH] Bug 18137: List Mojolicious::Plugin::OpenAPI and JSON::Validator as dependencies Edit (tcohen): I've changed the version numbers to match those Mirko has already successfully packaged and are known to work for this patchset. Signed-off-by: Olli-Antti Kivilahti Signed-off-by: Josef Moravec Signed-off-by: Tomas Cohen Arazi --- C4/Installer/PerlDependencies.pm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index c4f5409..3cacafc 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -780,12 +780,17 @@ our $PERL_DEPS = { 'Mojolicious' => { 'usage' => 'REST API', 'required' => '1', - 'min_ver' => '6.0', + 'min_ver' => '7.21', }, - 'Swagger2' => { + 'Mojolicious::Plugin::OpenAPI' => { 'usage' => 'REST API', 'required' => '1', - 'min_ver' => '0.59', + 'min_ver' => '1.15', + }, + 'JSON::Validator' => { + 'usage' => 'REST API', + 'required' => '1', + 'min_ver' => '0.97', }, 'UNIVERSAL::can' => { 'usage' => 'SIP', -- 2.7.4