Bug 18137: List Mojolicious::Plugin::OpenAPI and JSON::Validator as dependencies
authorLari Taskula <lari.taskula@jns.fi>
Fri, 17 Feb 2017 11:14:09 +0000 (13:14 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Sep 2017 14:27:05 +0000 (11:27 -0300)
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 <olli-antti.kivilahti@jns.fi>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Installer/PerlDependencies.pm

index c4f5409..3cacafc 100644 (file)
@@ -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',