From 47b6026c6a3d57cfc86d90fcb72c0d68266b214c 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 Signed-off-by: Jonathan Druart --- 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 c4f5409009..3cacafc756 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.39.5