8
0

Accepting request 901134 from devel:languages:perl:autoupdate

- updated to 4.20
   see /usr/share/doc/packages/perl-JSON-Validator/Changes
  4.20 2021-06-18T11:27:02+0900
   - Fix compiling array items #249
   - Fix coerce() will be passed on to schema() objects
   - Add is_invalid() to JSON::Validator::Schema
   - Improved documentation for JSON::Validator and JSON::Validator::Schema
   - Changed joi validator to default to a JSON::Validator::Schema::Draft7 object
   - Deprecated validate(..., $schema)
   - Removed support for coerce(1)
   - Removed support for subclassing JSON::Validator. Need to subclass a schema
     class instead.
   - Simpler inheritance for Schema classes
  4.19 2021-06-17T12:37:10+0900
   - Fix generating correct base_url() object with host and port
  4.18 2021-06-17T11:13:58+0900
   - Fix content_type validation for OpenAPIv2 and OpenAPIv3
   - Fix validating multipart\/form-data with boundary
   - Fix validating content-type with charset
   - Fix parsing OpenAPIv3 spec with "description", "servers" and "summary" in a
     path specifiation.

OBS-URL: https://build.opensuse.org/request/show/901134
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-Validator?expand=0&rev=65
This commit is contained in:
Cris Dywan
2021-06-29 09:57:01 +00:00
committed by Git OBS Bridge
parent c59118855a
commit 6824661832
4 changed files with 34 additions and 6 deletions

View File

@@ -18,7 +18,7 @@
%define cpan_name JSON-Validator
Name: perl-JSON-Validator
Version: 4.17
Version: 4.20
Release: 0
Summary: Validate data against a JSON schema
License: Artistic-2.0
@@ -32,10 +32,10 @@ BuildRequires: perl(List::Util) >= 1.45
BuildRequires: perl(Mojolicious) >= 7.28
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 1.30
BuildRequires: perl(YAML::PP) >= 0.020
BuildRequires: perl(YAML::XS) >= 0.67
Requires: perl(List::Util) >= 1.45
Requires: perl(Mojolicious) >= 7.28
Requires: perl(YAML::PP) >= 0.020
Requires: perl(YAML::XS) >= 0.67
%{perl_requires}
%description