commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-10-26 16:18:04 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3463 (New) Package is "perl-JSON-Validator" Mon Oct 26 16:18:04 2020 rev:26 rq:841735 version:4.10 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-10-13 15:46:38.373475447 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3463/perl-JSON-Validator.changes 2020-10-26 16:19:16.419077992 +0100 @@ -1,0 +2,12 @@ +Wed Oct 14 03:11:25 UTC 2020 - Tina Müller + +- updated to 4.10 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 4.10 2020-10-13T10:53:11+0900 + - Add JSON::Validator::Store + - Changed JSON::Validator->schema() to also load + - JSON::Validator->schema() can handle draft 2019-09 schemas + - Documented what is not supported in draft 2019-09 + +--- Old: JSON-Validator-4.09.tar.gz New: JSON-Validator-4.10.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.duymTN/_old 2020-10-26 16:19:17.415078793 +0100 +++ /var/tmp/diff_new_pack.duymTN/_new 2020-10-26 16:19:17.419078796 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:4.09 +Version:4.10 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-4.09.tar.gz -> JSON-Validator-4.10.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.09/Changes new/JSON-Validator-4.10/Changes --- old/JSON-Validator-4.09/Changes 2020-10-12 04:04:16.0 +0200 +++ new/JSON-Validator-4.10/Changes 2020-10-13 03:53:11.0 +0200 @@ -1,5 +1,11 @@ Revision history for perl distribution JSON-Validator +4.10 2020-10-13T10:53:11+0900 + - Add JSON::Validator::Store + - Changed JSON::Validator->schema() to also load + - JSON::Validator->schema() can handle draft 2019-09 schemas + - Documented what is not supported in draft 2019-09 + 4.09 2020-10-12T11:04:16+0900 - Fix handling if "id" and "$id" in subschemas #186 - Add CONTRIBUTING.md #161 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.09/MANIFEST new/JSON-Validator-4.10/MANIFEST --- old/JSON-Validator-4.09/MANIFEST2020-10-12 04:04:17.0 +0200 +++ new/JSON-Validator-4.10/MANIFEST2020-10-13 03:53:12.0 +0200 @@ -27,6 +27,7 @@ lib/JSON/Validator/Schema/Draft4.pm lib/JSON/Validator/Schema/Draft6.pm lib/JSON/Validator/Schema/Draft7.pm +lib/JSON/Validator/Store.pm lib/JSON/Validator/Util.pm Makefile.PL MANIFEST This list of files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.09/META.json new/JSON-Validator-4.10/META.json --- old/JSON-Validator-4.09/META.json 2020-10-12 04:04:17.0 +0200 +++ new/JSON-Validator-4.10/META.json 2020-10-13 03:53:12.0 +0200 @@ -63,6 +63,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "4.09", + "version" : "4.10", "x_serialization_backend" : "JSON::PP version 4.04" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.09/META.yml new/JSON-Validator-4.10/META.yml --- old/JSON-Validator-4.09/META.yml2020-10-12 04:04:17.0 +0200 +++ new/JSON-Validator-4.10/META.yml2020-10-13 03:53:12.0 +0200 @@ -32,5 +32,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '4.09' +version: '4.10' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.09/lib/JSON/Validator/Schema/Draft201909.pm new/JSON-Validator-4.10/lib/JSON/Validator/Schema/Draft201909.pm --- old/JSON-Validator-4.09/lib/JSON/Validator/Schema/Draft201909.pm 2020-10-12 03:20:53.0 +0200 +++ new/JSON-Validator-4.10/lib/JSON/Validator/Schema/Draft201909.pm 2020-10-13 02:39:39.0 +0200 @@ -35,7 +35,7 @@ if ($topic->{'$id'} and !ref $topic->{'$id'}) { my $id = Mojo::URL->new($topic->{'$id'}); $id = $id->to_abs($base_url) unless $id->is_abs; -$self->_store($id->to_string => $topic); +$self->store->add($id->to_string =>
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-10-13 15:45:50 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3486 (New) Package is "perl-JSON-Validator" Tue Oct 13 15:45:50 2020 rev:25 rq:841448 version:4.09 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-10-06 17:16:14.941792470 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3486/perl-JSON-Validator.changes 2020-10-13 15:46:38.373475447 +0200 @@ -1,0 +2,28 @@ +Tue Oct 13 03:09:20 UTC 2020 - Tina Müller + +- updated to 4.09 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 4.09 2020-10-12T11:04:16+0900 + - Fix handling if "id" and "$id" in subschemas #186 + - Add CONTRIBUTING.md #161 + 4.08 2020-10-12T08:06:29+0900 + - Implemented basic support for draft 2019-09 #181 + - JSON::Validator::Ref can hold sibling attrs #181 + 4.07 2020-10-11T11:48:05+0900 + - Acceptance tests require Test::JSON::Schema::Acceptance 1.000 + 4.06 2020-10-10T16:21:51+0900 + - Fix caching of schemas across objects #204 #212 + Contributor: Karen Etheridge + - Fix "contains" can also be boolean "false" + - Fix "dependencies" can have boolean subschemas + - Fix "if" can be false + - Fix "null" is valid if "pattern" is defined, but no "type" + - Fix "propertyNames" can be false + - Fix JSON::Validator::Ref can hold a boolean schema + - Fix not adding "properties" to the input schema + - Fix resolving "$ref":"#id" + - Fix validating data when "additionalItems" is false, but there are enough rules + - Changed internals of JSON::Validator::Ref + +--- Old: JSON-Validator-4.05.tar.gz New: JSON-Validator-4.09.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.k7tBa9/_old 2020-10-13 15:46:39.473475922 +0200 +++ /var/tmp/diff_new_pack.k7tBa9/_new 2020-10-13 15:46:39.477475924 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:4.05 +Version:4.09 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema @@ -65,6 +65,6 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes README.md +%doc Changes CONTRIBUTING.md README.md %changelog ++ JSON-Validator-4.05.tar.gz -> JSON-Validator-4.09.tar.gz ++ 5195 lines of diff (skipped)
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-10-06 17:11:24 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.4249 (New) Package is "perl-JSON-Validator" Tue Oct 6 17:11:24 2020 rev:24 rq:839750 version:4.05 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-09-29 19:02:22.225814816 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.4249/perl-JSON-Validator.changes 2020-10-06 17:16:14.941792470 +0200 @@ -1,0 +2,10 @@ +Tue Oct 6 03:12:43 UTC 2020 - Tina Müller + +- updated to 4.05 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 4.05 2020-10-06T06:29:31+0900 + - Errors are now reported in a predictable order #223 + Contributor: David Cantrell + +--- Old: JSON-Validator-4.04.tar.gz New: JSON-Validator-4.05.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.drU7rp/_old 2020-10-06 17:16:15.985793356 +0200 +++ /var/tmp/diff_new_pack.drU7rp/_new 2020-10-06 17:16:15.989793359 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:4.04 +Version:4.05 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-4.04.tar.gz -> JSON-Validator-4.05.tar.gz ++ 2813 lines of diff (skipped)
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-09-29 19:02:01 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.4249 (New) Package is "perl-JSON-Validator" Tue Sep 29 19:02:01 2020 rev:23 rq:838284 version:4.04 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-09-15 16:35:15.850997402 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.4249/perl-JSON-Validator.changes 2020-09-29 19:02:22.225814816 +0200 @@ -1,0 +2,12 @@ +Mon Sep 28 03:09:09 UTC 2020 - Tina Müller + +- updated to 4.04 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 4.04 2020-09-28T10:01:58+0900 + - Add "validator" as attribute to JSON::Validator::Joi + - Changed YAML::XS to an optional module #205 + - Changed column with to be in sync with mojolicious/mojo + - Fix constructing schema() from correct class + +--- Old: JSON-Validator-4.03.tar.gz New: JSON-Validator-4.04.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.Y8PSGp/_old 2020-09-29 19:02:23.469816327 +0200 +++ /var/tmp/diff_new_pack.Y8PSGp/_new 2020-09-29 19:02:23.469816327 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:4.03 +Version:4.04 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema @@ -34,10 +34,12 @@ BuildRequires: perl(Mojolicious) >= 7.28 BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 1.30 -BuildRequires: perl(YAML::XS) >= 0.80 +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::XS) >= 0.80 +Requires: perl(YAML::PP) >= 0.020 +Requires: perl(YAML::XS) >= 0.67 %{perl_requires} %description ++ JSON-Validator-4.03.tar.gz -> JSON-Validator-4.04.tar.gz ++ 1688 lines of diff (skipped)
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-09-15 16:34:34 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.4249 (New) Package is "perl-JSON-Validator" Tue Sep 15 16:34:34 2020 rev:22 rq:834624 version:4.03 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-08-17 12:07:33.234766940 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.4249/perl-JSON-Validator.changes 2020-09-15 16:35:15.850997402 +0200 @@ -1,0 +2,10 @@ +Tue Sep 15 03:09:11 UTC 2020 - Tina Müller + +- updated to 4.03 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 4.03 2020-09-14T18:14:19+0900 + - Add "joi" as exported function to JSON::Validator::Joi + - Fix SYNOPSIS for JSON::Validator::Joi + +--- Old: JSON-Validator-4.02.tar.gz New: JSON-Validator-4.03.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.H9i5u4/_old 2020-09-15 16:35:20.175001542 +0200 +++ /var/tmp/diff_new_pack.H9i5u4/_new 2020-09-15 16:35:20.179001546 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:4.02 +Version:4.03 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-4.02.tar.gz -> JSON-Validator-4.03.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.02/Changes new/JSON-Validator-4.03/Changes --- old/JSON-Validator-4.02/Changes 2020-08-11 06:06:40.0 +0200 +++ new/JSON-Validator-4.03/Changes 2020-09-14 11:14:19.0 +0200 @@ -1,5 +1,9 @@ Revision history for perl distribution JSON-Validator +4.03 2020-09-14T18:14:19+0900 + - Add "joi" as exported function to JSON::Validator::Joi + - Fix SYNOPSIS for JSON::Validator::Joi + 4.02 2020-08-11T13:06:40+0900 - Add recursive_data_protection() #220 Contributor: Jason Cooper diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.02/META.json new/JSON-Validator-4.03/META.json --- old/JSON-Validator-4.02/META.json 2020-08-11 06:06:41.0 +0200 +++ new/JSON-Validator-4.03/META.json 2020-09-14 11:14:21.0 +0200 @@ -63,6 +63,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "4.02", + "version" : "4.03", "x_serialization_backend" : "JSON::PP version 4.04" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.02/META.yml new/JSON-Validator-4.03/META.yml --- old/JSON-Validator-4.02/META.yml2020-08-11 06:06:41.0 +0200 +++ new/JSON-Validator-4.03/META.yml2020-09-14 11:14:20.0 +0200 @@ -32,5 +32,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '4.02' +version: '4.03' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.02/lib/JSON/Validator/Joi.pm new/JSON-Validator-4.03/lib/JSON/Validator/Joi.pm --- old/JSON-Validator-4.02/lib/JSON/Validator/Joi.pm 2020-04-08 07:36:21.0 +0200 +++ new/JSON-Validator-4.03/lib/JSON/Validator/Joi.pm 2020-09-14 11:12:24.0 +0200 @@ -1,11 +1,14 @@ package JSON::Validator::Joi; use Mojo::Base -base; +use Exporter 'import'; use List::Util 'uniq'; use Mojo::JSON qw(false true); use Mojo::Util; use Storable 'dclone'; +our @EXPORT_OK = qw(joi); + # Avoid "Subroutine redefined" warnings require JSON::Validator; @@ -66,6 +69,7 @@ sub integer { shift->type('integer') } sub iso_date { shift->date_time } sub items { $_[0]->{items} = $_[1]; $_[0] } +sub joi { __PACKAGE__->new(@_) } sub length{ shift->min($_[0])->max($_[0]) } sub lowercase { shift->_type('string')->regex('^\p{Lowercase}*$') } sub negative { shift->_type('number')->max(0) } @@ -174,23 +178,30 @@ =head1 SYNOPSIS - use JSON::Validator "joi"; + use JSON::Validator::Joi "joi"; - my @errors = joi( -{ - name => "Jan Henning", - age => 34, - email => "jhthor...@cpan.org", -}, -joi->object->props( - age => joi->integer->min(0)->max(200), - email => joi->regex(".@.")->required, - name => joi->string->min(1), -) - ); + my @errors = joi->object->props( +age =>
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-08-17 12:06:45 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3399 (New) Package is "perl-JSON-Validator" Mon Aug 17 12:06:45 2020 rev:21 rq:827148 version:4.02 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-07-05 01:19:59.613336233 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3399/perl-JSON-Validator.changes 2020-08-17 12:07:33.234766940 +0200 @@ -1,0 +2,10 @@ +Wed Aug 12 03:09:26 UTC 2020 - Tina Müller + +- updated to 4.02 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 4.02 2020-08-11T13:06:40+0900 + - Add recursive_data_protection() #220 + Contributor: Jason Cooper + +--- Old: JSON-Validator-4.01.tar.gz New: JSON-Validator-4.02.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.iai88G/_old 2020-08-17 12:07:35.558768235 +0200 +++ /var/tmp/diff_new_pack.iai88G/_new 2020-08-17 12:07:35.562768238 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:4.01 +Version:4.02 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-4.01.tar.gz -> JSON-Validator-4.02.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.01/Changes new/JSON-Validator-4.02/Changes --- old/JSON-Validator-4.01/Changes 2020-06-30 10:42:08.0 +0200 +++ new/JSON-Validator-4.02/Changes 2020-08-11 06:06:40.0 +0200 @@ -1,5 +1,9 @@ Revision history for perl distribution JSON-Validator +4.02 2020-08-11T13:06:40+0900 + - Add recursive_data_protection() #220 + Contributor: Jason Cooper + 4.01 2020-06-30T17:42:08+0900 - Fix combining "allOf" and "not" #218 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.01/MANIFEST new/JSON-Validator-4.02/MANIFEST --- old/JSON-Validator-4.01/MANIFEST2020-06-30 10:42:10.0 +0200 +++ new/JSON-Validator-4.02/MANIFEST2020-08-11 06:06:41.0 +0200 @@ -105,6 +105,7 @@ t/load-yaml.t t/more-bundle.t t/random-errors.t +t/recursive_data_protection.t t/relative-ref.t t/remotes/folder/folderInteger.json t/remotes/integer.json diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.01/META.json new/JSON-Validator-4.02/META.json --- old/JSON-Validator-4.01/META.json 2020-06-30 10:42:09.0 +0200 +++ new/JSON-Validator-4.02/META.json 2020-08-11 06:06:41.0 +0200 @@ -63,6 +63,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "4.01", + "version" : "4.02", "x_serialization_backend" : "JSON::PP version 4.04" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.01/META.yml new/JSON-Validator-4.02/META.yml --- old/JSON-Validator-4.01/META.yml2020-06-30 10:42:09.0 +0200 +++ new/JSON-Validator-4.02/META.yml2020-08-11 06:06:41.0 +0200 @@ -32,5 +32,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '4.01' +version: '4.02' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.01/README.md new/JSON-Validator-4.02/README.md --- old/JSON-Validator-4.01/README.md 2020-04-08 07:36:21.0 +0200 +++ new/JSON-Validator-4.02/README.md 2020-08-11 04:35:21.0 +0200 @@ -1,5 +1,5 @@ -# JSON::Validator [![Build Status](https://api.travis-ci.org/mojolicious/json-validator.svg?branch=master)](https://travis-ci.org/mojolicious/json-validator) +# JSON::Validator A module for validating data against a [JSON Schema](https://json-schema.org/). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.01/lib/JSON/Validator.pm new/JSON-Validator-4.02/lib/JSON/Validator.pm --- old/JSON-Validator-4.01/lib/JSON/Validator.pm 2020-06-30 10:42:08.0 +0200 +++ new/JSON-Validator-4.02/lib/JSON/Validator.pm 2020-08-11 06:06:40.0 +0200 @@ -23,7 +23,7 @@ use constant SPECIFICATION_URL => 'http://json-schema.org/draft-04/schema#'; use constant YAML_SUPPORT
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-07-05 01:18:07 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3060 (New) Package is "perl-JSON-Validator" Sun Jul 5 01:18:07 2020 rev:20 rq:818550 version:4.01 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-06-10 00:48:03.134887861 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3060/perl-JSON-Validator.changes 2020-07-05 01:19:59.613336233 +0200 @@ -1,0 +2,9 @@ +Wed Jul 1 03:09:34 UTC 2020 - Tina Müller + +- updated to 4.01 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 4.01 2020-06-30T17:42:08+0900 + - Fix combining "allOf" and "not" #218 + +--- Old: JSON-Validator-4.00.tar.gz New: JSON-Validator-4.01.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.wli0ti/_old 2020-07-05 01:20:02.909346343 +0200 +++ /var/tmp/diff_new_pack.wli0ti/_new 2020-07-05 01:20:02.913346355 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:4.00 +Version:4.01 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-4.00.tar.gz -> JSON-Validator-4.01.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.00/Changes new/JSON-Validator-4.01/Changes --- old/JSON-Validator-4.00/Changes 2020-06-08 03:41:55.0 +0200 +++ new/JSON-Validator-4.01/Changes 2020-06-30 10:42:08.0 +0200 @@ -1,5 +1,8 @@ Revision history for perl distribution JSON-Validator +4.01 2020-06-30T17:42:08+0900 + - Fix combining "allOf" and "not" #218 + 4.00 2020-06-08T10:41:55+0900 - JSON::Validator::schema() now holds a JSON::Validator::Schema object instead of Mojo::JSON::Pointer diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.00/MANIFEST new/JSON-Validator-4.01/MANIFEST --- old/JSON-Validator-4.00/MANIFEST2020-06-08 03:41:56.0 +0200 +++ new/JSON-Validator-4.01/MANIFEST2020-06-30 10:42:10.0 +0200 @@ -80,6 +80,7 @@ t/issue-59-oneof-blessed-booleans.t t/issue-71-additionalproperties.t t/joi.t +t/jv-allof-and-not.t t/jv-allof.t t/jv-anyof.t t/jv-array.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.00/META.json new/JSON-Validator-4.01/META.json --- old/JSON-Validator-4.00/META.json 2020-06-08 03:41:56.0 +0200 +++ new/JSON-Validator-4.01/META.json 2020-06-30 10:42:09.0 +0200 @@ -4,7 +4,7 @@ "Jan Henning Thorsen " ], "dynamic_config" : 0, - "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010", "license" : [ "artistic_2" ], @@ -63,6 +63,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "4.00", - "x_serialization_backend" : "JSON::PP version 4.02" + "version" : "4.01", + "x_serialization_backend" : "JSON::PP version 4.04" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.00/META.yml new/JSON-Validator-4.01/META.yml --- old/JSON-Validator-4.00/META.yml2020-06-08 03:41:56.0 +0200 +++ new/JSON-Validator-4.01/META.yml2020-06-30 10:42:09.0 +0200 @@ -9,7 +9,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' +generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010' license: artistic_2 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -32,5 +32,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '4.00' +version: '4.01' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-4.00/lib/JSON/Validator.pm new/JSON-Validator-4.01/lib/JSON/Validator.pm --- old/JSON-Validator-4.00/lib/JSON/Validator.pm 2020-06-08 03:41:55.0 +0200 +++ new/JSON-Validator-4.01/lib/JSON/Validator.pm 2020-06-30 10:42:08.0 +0200
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-06-10 00:48:01 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3606 (New) Package is "perl-JSON-Validator" Wed Jun 10 00:48:01 2020 rev:19 rq:812688 version:4.00 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-03-27 22:00:20.974899275 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3606/perl-JSON-Validator.changes 2020-06-10 00:48:03.134887861 +0200 @@ -1,0 +2,21 @@ +Mon Jun 8 03:13:01 UTC 2020 - Tina Müller + +- updated to 4.00 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 4.00 2020-06-08T10:41:55+0900 + - JSON::Validator::schema() now holds a JSON::Validator::Schema object + instead of Mojo::JSON::Pointer + - Add schema classes for Draft4, Draft6 and Draft7 + - Add "duration" and "uuid" formats #210 + - Fix coercing boolean "false" #215 + - Fix not matching "null" should also be a "type" error #217 + - Deprecated JSON::Validator::joi() + - Deprecated JSON::Validator::singleton() + - Deprecated JSON::Validator::validate_json() + - Deprecated JSON::Validator::version() + - Removed JSON::Validator::generate_definitions_path() + - Removed support for JSON::Validator::bundle({ref_key => ...}) + + +--- Old: JSON-Validator-3.25.tar.gz New: JSON-Validator-4.00.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.pUdSkD/_old 2020-06-10 00:48:03.734889431 +0200 +++ /var/tmp/diff_new_pack.pUdSkD/_new 2020-06-10 00:48:03.738889441 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-JSON-Validator # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: perl-JSON-Validator -Version:3.25 +Version:4.00 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema License:Artistic-2.0 Group: Development/Libraries/Perl -Url:https://metacpan.org/release/%{cpan_name} +URL:https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/J/JH/JHTHORSEN/%{cpan_name}-%{version}.tar.gz Source1:cpanspec.yml BuildArch: noarch ++ JSON-Validator-3.25.tar.gz -> JSON-Validator-4.00.tar.gz ++ 2567 lines of diff (skipped)
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-03-27 21:58:40 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3160 (New) Package is "perl-JSON-Validator" Fri Mar 27 21:58:40 2020 rev:18 rq:788941 version:3.25 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-03-11 18:52:29.099598117 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3160/perl-JSON-Validator.changes 2020-03-27 22:00:20.974899275 +0100 @@ -1,0 +2,14 @@ +Thu Mar 26 03:08:02 UTC 2020 - + +- updated to 3.25 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.25 2020-03-26T07:42:16+0900 + - Made "additionalProperties" error message less confusing + - Add support for "items" and "contains" can be defined-but-false #207 + Contributor: Karen Etheridge + - Respect "items" when combined with "contains" #207 + Contributor: Karen Etheridge + - Require Sereal::Encoder 4.00 to speed up data_checksum() + +--- Old: JSON-Validator-3.24.tar.gz New: JSON-Validator-3.25.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.SHxrW2/_old 2020-03-27 22:00:23.162900547 +0100 +++ /var/tmp/diff_new_pack.SHxrW2/_new 2020-03-27 22:00:23.166900550 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.24 +Version:3.25 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.24.tar.gz -> JSON-Validator-3.25.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.24/Changes new/JSON-Validator-3.25/Changes --- old/JSON-Validator-3.24/Changes 2020-03-03 07:46:39.0 +0100 +++ new/JSON-Validator-3.25/Changes 2020-03-25 23:42:16.0 +0100 @@ -1,5 +1,13 @@ Revision history for perl distribution JSON-Validator +3.25 2020-03-26T07:42:16+0900 + - Made "additionalProperties" error message less confusing + - Add support for "items" and "contains" can be defined-but-false #207 + Contributor: Karen Etheridge + - Respect "items" when combined with "contains" #207 + Contributor: Karen Etheridge + - Require Sereal::Encoder 4.00 to speed up data_checksum() + 3.24 2020-03-03T15:46:39+0900 - Optimize checksum generation #202 Contributor: Ere Maijala diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.24/META.json new/JSON-Validator-3.25/META.json --- old/JSON-Validator-3.24/META.json 2020-03-03 07:46:40.0 +0100 +++ new/JSON-Validator-3.25/META.json 2020-03-25 23:42:18.0 +0100 @@ -63,6 +63,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "3.24", + "version" : "3.25", "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.24/META.yml new/JSON-Validator-3.25/META.yml --- old/JSON-Validator-3.24/META.yml2020-03-03 07:46:40.0 +0100 +++ new/JSON-Validator-3.25/META.yml2020-03-25 23:42:17.0 +0100 @@ -32,5 +32,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '3.24' +version: '3.25' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.24/lib/JSON/Validator/Error.pm new/JSON-Validator-3.25/lib/JSON/Validator/Error.pm --- old/JSON-Validator-3.24/lib/JSON/Validator/Error.pm 2020-02-19 01:53:57.0 +0100 +++ new/JSON-Validator-3.25/lib/JSON/Validator/Error.pm 2020-03-25 23:33:58.0 +0100 @@ -11,6 +11,7 @@ maxItems=> 'Too many items: %3/%4.', minItems=> 'Not enough items: %3/%4.', uniqueItems => 'Unique items required.', +contains=> 'No items contained.', }, const => {const => 'Does not match const: %3.'}, enum=> {enum => 'Not in enum list: %3.'}, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.24/lib/JSON/Validator/Util.pm new/JSON-Validator-3.25/lib/JSON/Validator/Util.pm --- old/JSON-Validator-3.24/lib/JSON/Validator/Util.pm 2020-03-03 07:36:29.0 +0100 +++ new/JSON-Validator-3.25/lib/JSON/Validator/Util.pm 2020-03-25
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-03-11 18:50:18 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3160 (New) Package is "perl-JSON-Validator" Wed Mar 11 18:50:18 2020 rev:17 rq:783470 version:3.24 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-02-20 14:56:14.878390206 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3160/perl-JSON-Validator.changes 2020-03-11 18:52:29.099598117 +0100 @@ -1,0 +2,15 @@ +Wed Mar 4 03:09:18 UTC 2020 - + +- updated to 3.24 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.24 2020-03-03T15:46:39+0900 +- Optimize checksum generation #202 + Contributor: Ere Maijala +- Improved "type":[...] error messages #199 + Contributor: Karen Etheridge +- Fix handle validation of true, false schemas in oneOf #201 #203 + Contributor: Karen Etheridge +- Fix guessing type:object if "dependencies" is present #206 + +--- Old: JSON-Validator-3.23.tar.gz New: JSON-Validator-3.24.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.ruZYH0/_old 2020-03-11 18:52:32.175599493 +0100 +++ /var/tmp/diff_new_pack.ruZYH0/_new 2020-03-11 18:52:32.175599493 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.23 +Version:3.24 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema @@ -34,8 +34,10 @@ BuildRequires: perl(Mojolicious) >= 7.28 BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 1.30 +BuildRequires: perl(YAML::XS) >= 0.80 Requires: perl(List::Util) >= 1.45 Requires: perl(Mojolicious) >= 7.28 +Requires: perl(YAML::XS) >= 0.80 %{perl_requires} %description ++ JSON-Validator-3.23.tar.gz -> JSON-Validator-3.24.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.23/Changes new/JSON-Validator-3.24/Changes --- old/JSON-Validator-3.23/Changes 2020-02-19 01:37:44.0 +0100 +++ new/JSON-Validator-3.24/Changes 2020-03-03 07:46:39.0 +0100 @@ -1,7 +1,16 @@ Revision history for perl distribution JSON-Validator +3.24 2020-03-03T15:46:39+0900 + - Optimize checksum generation #202 +Contributor: Ere Maijala + - Improved "type":[...] error messages #199 +Contributor: Karen Etheridge + - Fix handle validation of true, false schemas in oneOf #201 #203 +Contributor: Karen Etheridge + - Fix guessing type:object if "dependencies" is present #206 + 3.23 2020-02-19T09:37:44+0900 - - Using List::Util::uniq() instead of JSON::Validator::Util::uniq #198 + - Using List::Util::uniq() instead of JSON::Validator::Util::uniq() #198 3.22 2020-02-15T08:35:29+0900 - Add support for "dependencies" keyword #192 #197 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.23/MANIFEST new/JSON-Validator-3.24/MANIFEST --- old/JSON-Validator-3.23/MANIFEST2020-02-19 01:37:45.0 +0100 +++ new/JSON-Validator-3.24/MANIFEST2020-03-03 07:46:40.0 +0100 @@ -91,6 +91,7 @@ t/jv-string.t t/load-data.t t/load-file.t +t/load-from-app.t t/load-http.t t/load-json.t t/load-yaml.t @@ -115,6 +116,7 @@ t/stack/Some.pm t/stack/Some/Module.pm t/to-json.t +t/util-checksum-yaml-xs.t t/util.t t/validate-draft07.t t/validate-id.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.23/META.json new/JSON-Validator-3.24/META.json --- old/JSON-Validator-3.23/META.json 2020-02-19 01:37:45.0 +0100 +++ new/JSON-Validator-3.24/META.json 2020-03-03 07:46:40.0 +0100 @@ -36,6 +36,7 @@ "requires" : { "List::Util" : "1.45", "Mojolicious" : "7.28", +"YAML::XS" : "0.80", "perl" : "5.010001" } }, @@ -62,6 +63,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "3.23", + "version" : "3.24", "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.23/META.yml new/JSON-Validator-3.24/META.yml --- old/JSON-Validator-3.23/META.yml2020-02-19 01:37:45.0 +0100 +++ new/JSON-Validator-3.24/META.yml2020-03-03 07:46:40.0 +0100 @@ -24,6 +24,7 @@ requires: List::Util: '1.45'
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-02-20 14:56:03 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.26092 (New) Package is "perl-JSON-Validator" Thu Feb 20 14:56:03 2020 rev:16 rq:777378 version:3.23 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-02-18 10:42:41.293223967 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.26092/perl-JSON-Validator.changes 2020-02-20 14:56:14.878390206 +0100 @@ -1,0 +2,9 @@ +Wed Feb 19 03:10:52 UTC 2020 - + +- updated to 3.23 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.23 2020-02-19T09:37:44+0900 + - Using List::Util::uniq() instead of JSON::Validator::Util::uniq #198 + +--- Old: JSON-Validator-3.22.tar.gz New: JSON-Validator-3.23.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.ToX5aN/_old 2020-02-20 14:56:15.882392176 +0100 +++ /var/tmp/diff_new_pack.ToX5aN/_new 2020-02-20 14:56:15.882392176 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.22 +Version:3.23 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema @@ -30,16 +30,18 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(List::Util) >= 1.45 BuildRequires: perl(Mojolicious) >= 7.28 BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 1.30 +Requires: perl(List::Util) >= 1.45 Requires: perl(Mojolicious) >= 7.28 %{perl_requires} %description JSON::Validator is a data structure validation library based around at https://json-schema.org/. This module can be used directly with a JSON -schema or you can use the elegant DSL schema-builder JSON::Validator::joi +schema or you can use the elegant DSL schema-builder JSON::Validator::Joi to define the schema programmatically. %prep ++ JSON-Validator-3.22.tar.gz -> JSON-Validator-3.23.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.22/Changes new/JSON-Validator-3.23/Changes --- old/JSON-Validator-3.22/Changes 2020-02-15 00:35:29.0 +0100 +++ new/JSON-Validator-3.23/Changes 2020-02-19 01:37:44.0 +0100 @@ -1,9 +1,15 @@ Revision history for perl distribution JSON-Validator +3.23 2020-02-19T09:37:44+0900 + - Using List::Util::uniq() instead of JSON::Validator::Util::uniq #198 + 3.22 2020-02-15T08:35:29+0900 - Add support for "dependencies" keyword #192 #197 + Contributor: Karen Etheridge - Add support for anyOf/allOf/oneOf at the same time #196 #197 + Contributor: Karen Etheridge - Allow if/then/else to be in any sort of schema #190 #197 + Contributor: Karen Etheridge 3.21 2020-02-14T10:14:14+0900 - Fix data_section() without a class #193 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.22/META.json new/JSON-Validator-3.23/META.json --- old/JSON-Validator-3.22/META.json 2020-02-15 00:35:30.0 +0100 +++ new/JSON-Validator-3.23/META.json 2020-02-19 01:37:45.0 +0100 @@ -34,6 +34,7 @@ }, "runtime" : { "requires" : { +"List::Util" : "1.45", "Mojolicious" : "7.28", "perl" : "5.010001" } @@ -61,6 +62,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "3.22", + "version" : "3.23", "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.22/META.yml new/JSON-Validator-3.23/META.yml --- old/JSON-Validator-3.22/META.yml2020-02-15 00:35:30.0 +0100 +++ new/JSON-Validator-3.23/META.yml2020-02-19 01:37:45.0 +0100 @@ -22,6 +22,7 @@ - examples - t requires: + List::Util: '1.45' Mojolicious: '7.28' perl: '5.010001' resources: @@ -30,5 +31,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '3.22' +version: '3.23' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.22/Makefile.PL new/JSON-Validator-3.23/Makefile.PL --- old/JSON-Validator-3.22/Makefile.PL
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-02-18 10:42:23 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.26092 (New) Package is "perl-JSON-Validator" Tue Feb 18 10:42:23 2020 rev:15 rq:774958 version:3.22 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-02-14 16:41:26.659721830 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.26092/perl-JSON-Validator.changes 2020-02-18 10:42:41.293223967 +0100 @@ -1,0 +2,11 @@ +Sat Feb 15 03:10:34 UTC 2020 - + +- updated to 3.22 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.22 2020-02-15T08:35:29+0900 + - Add support for "dependencies" keyword #192 #197 + - Add support for anyOf/allOf/oneOf at the same time #196 #197 + - Allow if/then/else to be in any sort of schema #190 #197 + +--- Old: JSON-Validator-3.21.tar.gz New: JSON-Validator-3.22.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.ZEabnZ/_old 2020-02-18 10:42:42.549226530 +0100 +++ /var/tmp/diff_new_pack.ZEabnZ/_new 2020-02-18 10:42:42.553226538 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.21 +Version:3.22 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.21.tar.gz -> JSON-Validator-3.22.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.21/Changes new/JSON-Validator-3.22/Changes --- old/JSON-Validator-3.21/Changes 2020-02-14 02:14:14.0 +0100 +++ new/JSON-Validator-3.22/Changes 2020-02-15 00:35:29.0 +0100 @@ -1,5 +1,10 @@ Revision history for perl distribution JSON-Validator +3.22 2020-02-15T08:35:29+0900 + - Add support for "dependencies" keyword #192 #197 + - Add support for anyOf/allOf/oneOf at the same time #196 #197 + - Allow if/then/else to be in any sort of schema #190 #197 + 3.21 2020-02-14T10:14:14+0900 - Fix data_section() without a class #193 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.21/MANIFEST new/JSON-Validator-3.22/MANIFEST --- old/JSON-Validator-3.21/MANIFEST2020-02-14 02:14:15.0 +0100 +++ new/JSON-Validator-3.22/MANIFEST2020-02-15 00:35:30.0 +0100 @@ -81,6 +81,7 @@ t/jv-const.t t/jv-enum.t t/jv-formats.t +t/jv-if-then-else.t t/jv-integer.t t/jv-not.t t/jv-number.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.21/META.json new/JSON-Validator-3.22/META.json --- old/JSON-Validator-3.21/META.json 2020-02-14 02:14:15.0 +0100 +++ new/JSON-Validator-3.22/META.json 2020-02-15 00:35:30.0 +0100 @@ -61,6 +61,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "3.21", + "version" : "3.22", "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.21/META.yml new/JSON-Validator-3.22/META.yml --- old/JSON-Validator-3.21/META.yml2020-02-14 02:14:15.0 +0100 +++ new/JSON-Validator-3.22/META.yml2020-02-15 00:35:30.0 +0100 @@ -30,5 +30,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '3.21' +version: '3.22' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.21/lib/JSON/Validator/Error.pm new/JSON-Validator-3.22/lib/JSON/Validator/Error.pm --- old/JSON-Validator-3.21/lib/JSON/Validator/Error.pm 2020-02-10 01:52:05.0 +0100 +++ new/JSON-Validator-3.22/lib/JSON/Validator/Error.pm 2020-02-15 00:33:29.0 +0100 @@ -35,6 +35,7 @@ maxProperties=> 'Too many properties: %3/%4.', minProperties=> 'Not enough properties: %3/%4.', required => 'Missing property.', +dependencies => 'Missing property. Dependee: %3.', }, oneOf => { all_rules_match => 'All of the oneOf rules match.', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.21/lib/JSON/Validator/Util.pm new/JSON-Validator-3.22/lib/JSON/Validator/Util.pm ---
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-02-14 16:41:11 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.26092 (New) Package is "perl-JSON-Validator" Fri Feb 14 16:41:11 2020 rev:14 rq:774343 version:3.21 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-02-13 10:11:53.808353240 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.26092/perl-JSON-Validator.changes 2020-02-14 16:41:26.659721830 +0100 @@ -1,0 +2,9 @@ +Fri Feb 14 03:07:59 UTC 2020 - + +- updated to 3.21 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.21 2020-02-14T10:14:14+0900 + - Fix data_section() without a class #193 + +--- Old: JSON-Validator-3.20.tar.gz New: JSON-Validator-3.21.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.8s9Z16/_old 2020-02-14 16:41:27.483722290 +0100 +++ /var/tmp/diff_new_pack.8s9Z16/_new 2020-02-14 16:41:27.487722292 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.20 +Version:3.21 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.20.tar.gz -> JSON-Validator-3.21.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.20/Changes new/JSON-Validator-3.21/Changes --- old/JSON-Validator-3.20/Changes 2020-02-12 01:47:21.0 +0100 +++ new/JSON-Validator-3.21/Changes 2020-02-14 02:14:14.0 +0100 @@ -1,5 +1,8 @@ Revision history for perl distribution JSON-Validator +3.21 2020-02-14T10:14:14+0900 + - Fix data_section() without a class #193 + 3.20 2020-02-12T09:47:21+0900 - Fix validating draft6 "false" and "true" schemas #190 Contributor: Karen Etheridge diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.20/META.json new/JSON-Validator-3.21/META.json --- old/JSON-Validator-3.20/META.json 2020-02-12 01:47:22.0 +0100 +++ new/JSON-Validator-3.21/META.json 2020-02-14 02:14:15.0 +0100 @@ -61,6 +61,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "3.20", + "version" : "3.21", "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.20/META.yml new/JSON-Validator-3.21/META.yml --- old/JSON-Validator-3.20/META.yml2020-02-12 01:47:22.0 +0100 +++ new/JSON-Validator-3.21/META.yml2020-02-14 02:14:15.0 +0100 @@ -30,5 +30,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '3.20' +version: '3.21' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.20/lib/JSON/Validator/Util.pm new/JSON-Validator-3.21/lib/JSON/Validator/Util.pm --- old/JSON-Validator-3.20/lib/JSON/Validator/Util.pm 2020-02-12 01:38:10.0 +0100 +++ new/JSON-Validator-3.21/lib/JSON/Validator/Util.pm 2020-02-14 02:12:56.0 +0100 @@ -1,10 +1,12 @@ package JSON::Validator::Util; use Mojo::Base -strict; +use Carp (); use Data::Dumper (); use Exporter 'import'; use JSON::Validator::Error; use Mojo::Collection; +use Mojo::JSON; use Mojo::Loader; use Mojo::Util; use Scalar::Util 'blessed'; @@ -20,26 +22,32 @@ sub data_section { my ($class, $file, $params) = @_; - state $class_skip_re -= qr{(^JSON::Validator$|^Mojo::Base$|^Mojolicious$|\w+::_Dynamic)}; + state $skip_re += qr{(^JSON::Validator|^Mojo::Base$|^Mojolicious$|\w+::_Dynamic)}; - unless ($class) { -my $i = 1; + my @classes = $class ? ([$class]) : (); + unless (@classes) { +my $i = 0; while ($class = caller($i++)) { - last unless $class =~ $class_skip_re; + push @classes, [$class] unless $class =~ $skip_re; } } - my @classes = do { no strict 'refs'; ($class, @{"$class\::ISA"}) }; - my $text; - for my $class (@classes) { -next if $class =~ $class_skip_re; -last if $text = Mojo::Loader::data_section($class, $file); + for my $group (@classes) { +push @$group, + grep { !/$skip_re/ } do { no strict 'refs'; @{"$group->[0]\::ISA"} }; +for my $class (@$group) { + next unless my $text
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-02-13 10:11:49 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.26092 (New) Package is "perl-JSON-Validator" Thu Feb 13 10:11:49 2020 rev:13 rq:773675 version:3.20 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-02-10 21:56:11.514282810 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.26092/perl-JSON-Validator.changes 2020-02-13 10:11:53.808353240 +0100 @@ -1,0 +2,14 @@ +Wed Feb 12 03:08:11 UTC 2020 - + +- updated to 3.20 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.20 2020-02-12T09:47:21+0900 + - Fix validating draft6 "false" and "true" schemas #190 + Contributor: Karen Etheridge + - Add JSON::Validator::Util with E(), data_checksum(), data_section(), + data_type(), is_type(), schema_extract(), json_pointer(), + prefix_errors(), schema_type() and uniq() + - Removed support for JSON_VALIDATOR_REPORT + +--- Old: JSON-Validator-3.19.tar.gz New: JSON-Validator-3.20.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.Hrva02/_old 2020-02-13 10:11:54.864353852 +0100 +++ /var/tmp/diff_new_pack.Hrva02/_new 2020-02-13 10:11:54.868353854 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.19 +Version:3.20 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.19.tar.gz -> JSON-Validator-3.20.tar.gz ++ 2059 lines of diff (skipped)
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-02-10 21:56:03 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.26092 (New) Package is "perl-JSON-Validator" Mon Feb 10 21:56:03 2020 rev:12 rq:773103 version:3.19 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-01-30 09:42:19.329519689 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.26092/perl-JSON-Validator.changes 2020-02-10 21:56:11.514282810 +0100 @@ -1,0 +2,11 @@ +Sat Feb 8 03:09:33 UTC 2020 - + +- updated to 3.19 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.19 2020-02-07T11:10:58+0900 + - Add clearer error when more than one oneOf rule matched #184 + Contributor: Karen Etheridge + - Improved validation of numeric minimum and maximum values + +--- Old: JSON-Validator-3.18.tar.gz New: JSON-Validator-3.19.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.upsAsf/_old 2020-02-10 21:56:12.022283091 +0100 +++ /var/tmp/diff_new_pack.upsAsf/_new 2020-02-10 21:56:12.026283093 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.18 +Version:3.19 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.18.tar.gz -> JSON-Validator-3.19.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.18/Changes new/JSON-Validator-3.19/Changes --- old/JSON-Validator-3.18/Changes 2020-01-29 02:18:09.0 +0100 +++ new/JSON-Validator-3.19/Changes 2020-02-07 03:10:58.0 +0100 @@ -1,5 +1,10 @@ Revision history for perl distribution JSON-Validator +3.19 2020-02-07T11:10:58+0900 + - Add clearer error when more than one oneOf rule matched #184 + Contributor: Karen Etheridge + - Improved validation of numeric minimum and maximum values + 3.18 2020-01-29T10:18:09+0900 - Fix validating constants that are null or the empty string Contributor: Karen Etheridge diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.18/META.json new/JSON-Validator-3.19/META.json --- old/JSON-Validator-3.18/META.json 2020-01-29 02:18:11.0 +0100 +++ new/JSON-Validator-3.19/META.json 2020-02-07 03:11:00.0 +0100 @@ -61,6 +61,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "3.18", + "version" : "3.19", "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.18/META.yml new/JSON-Validator-3.19/META.yml --- old/JSON-Validator-3.18/META.yml2020-01-29 02:18:11.0 +0100 +++ new/JSON-Validator-3.19/META.yml2020-02-07 03:10:59.0 +0100 @@ -30,5 +30,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '3.18' +version: '3.19' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.18/lib/JSON/Validator/Error.pm new/JSON-Validator-3.19/lib/JSON/Validator/Error.pm --- old/JSON-Validator-3.18/lib/JSON/Validator/Error.pm 2019-10-28 05:29:58.0 +0100 +++ new/JSON-Validator-3.19/lib/JSON/Validator/Error.pm 2020-02-07 03:10:29.0 +0100 @@ -15,6 +15,8 @@ const => {const => 'Does not match const: %3.'}, enum=> {enum => 'Not in enum list: %3.'}, integer => { +ex_maximum => '%3 >= maximum(%4)', +ex_minimum => '%3 <= minimum(%4)', maximum=> '%3 > maximum(%4)', minimum=> '%3 < minimum(%4)', multipleOf => 'Not multiple of %3.', @@ -22,6 +24,8 @@ not=> {not => 'Should not match.'}, null => {null => 'Not null.'}, number => { +ex_maximum => '%3 >= maximum(%4)', +ex_minimum => '%3 <= minimum(%4)', maximum=> '%3 > maximum(%4)', minimum=> '%3 < minimum(%4)', multipleOf => 'Not multiple of %3.', @@ -34,6 +38,7 @@ }, oneOf => { all_rules_match => 'All of the oneOf rules match.', +n_rules_match => 'oneOf rules %3 match.', type=> '/oneOf Expected %3 - got %4.', }, string => { @@ -88,7 +93,7 @@ } sub to_string { sprintf '%s: %s', $_[0]->path, $_[0]->message } -sub TO_JSON {
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-01-30 09:41:39 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.26092 (New) Package is "perl-JSON-Validator" Thu Jan 30 09:41:39 2020 rev:11 rq:768344 version:3.18 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2020-01-01 14:59:46.561977416 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.26092/perl-JSON-Validator.changes 2020-01-30 09:42:19.329519689 +0100 @@ -1,0 +2,10 @@ +Wed Jan 29 03:18:54 UTC 2020 - + +- updated to 3.18 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.18 2020-01-29T10:18:09+0900 + - Fix validating constants that are null or the empty string + Contributor: Karen Etheridge + +--- Old: JSON-Validator-3.17.tar.gz New: JSON-Validator-3.18.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.AS5lIZ/_old 2020-01-30 09:42:20.393520259 +0100 +++ /var/tmp/diff_new_pack.AS5lIZ/_new 2020-01-30 09:42:20.397520260 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-JSON-Validator # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.17 +Version:3.18 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.17.tar.gz -> JSON-Validator-3.18.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.17/Changes new/JSON-Validator-3.18/Changes --- old/JSON-Validator-3.17/Changes 2019-12-29 06:21:53.0 +0100 +++ new/JSON-Validator-3.18/Changes 2020-01-29 02:18:09.0 +0100 @@ -1,5 +1,9 @@ Revision history for perl distribution JSON-Validator +3.18 2020-01-29T10:18:09+0900 + - Fix validating constants that are null or the empty string + Contributor: Karen Etheridge + 3.17 2019-12-29T14:21:53+0900 - Fix for deep recursion on Windows #170 - Fix reading unicode specifiation from __DATA__ #179 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.17/META.json new/JSON-Validator-3.18/META.json --- old/JSON-Validator-3.17/META.json 2019-12-29 06:21:54.0 +0100 +++ new/JSON-Validator-3.18/META.json 2020-01-29 02:18:11.0 +0100 @@ -61,6 +61,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "3.17", + "version" : "3.18", "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.17/META.yml new/JSON-Validator-3.18/META.yml --- old/JSON-Validator-3.17/META.yml2019-12-29 06:21:54.0 +0100 +++ new/JSON-Validator-3.18/META.yml2020-01-29 02:18:11.0 +0100 @@ -30,5 +30,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '3.17' +version: '3.18' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.17/lib/JSON/Validator.pm new/JSON-Validator-3.18/lib/JSON/Validator.pm --- old/JSON-Validator-3.17/lib/JSON/Validator.pm 2019-12-29 06:21:53.0 +0100 +++ new/JSON-Validator-3.18/lib/JSON/Validator.pm 2020-01-29 02:18:09.0 +0100 @@ -23,7 +23,7 @@ use constant RECURSION_LIMIT => $ENV{JSON_VALIDATOR_RECURSION_LIMIT} || 100; use constant SPECIFICATION_URL => 'http://json-schema.org/draft-04/schema#'; -our $VERSION = '3.17'; +our $VERSION = '3.18'; our $YAML_LOADER = eval q[use YAML::XS 0.67; YAML::XS->can('Load')]; # internal our @EXPORT_OK = qw(joi validate_json); @@ -635,6 +635,13 @@ return @errors if @errors; } + if (exists $schema->{const}) { +push @errors, + $self->_validate_type_const($to_json ? $$to_json : $_[1], $path, $schema); +$self->_report_errors($path, 'enum', \@errors) if REPORT; +return @errors if @errors; + } + if ($schema->{enum}) { push @errors, $self->_validate_type_enum($to_json ? $$to_json : $_[1], $path, $schema);
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2020-01-01 14:59:45 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.6675 (New) Package is "perl-JSON-Validator" Wed Jan 1 14:59:45 2020 rev:10 rq:760198 version:3.17 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2019-10-30 14:47:47.870180960 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.6675/perl-JSON-Validator.changes 2020-01-01 14:59:46.561977416 +0100 @@ -1,0 +2,10 @@ +Mon Dec 30 03:07:46 UTC 2019 - + +- updated to 3.17 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.17 2019-12-29T14:21:53+0900 + - Fix for deep recursion on Windows #170 + - Fix reading unicode specifiation from __DATA__ #179 + +--- Old: JSON-Validator-3.16.tar.gz New: JSON-Validator-3.17.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.kxPJ7F/_old 2020-01-01 14:59:47.153977725 +0100 +++ /var/tmp/diff_new_pack.kxPJ7F/_new 2020-01-01 14:59:47.153977725 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.16 +Version:3.17 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.16.tar.gz -> JSON-Validator-3.17.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.16/Changes new/JSON-Validator-3.17/Changes --- old/JSON-Validator-3.16/Changes 2019-10-28 05:59:47.0 +0100 +++ new/JSON-Validator-3.17/Changes 2019-12-29 06:21:53.0 +0100 @@ -1,5 +1,9 @@ Revision history for perl distribution JSON-Validator +3.17 2019-12-29T14:21:53+0900 + - Fix for deep recursion on Windows #170 + - Fix reading unicode specifiation from __DATA__ #179 + 3.16 2019-10-28T13:59:47+0900 - Add generate_definitions_path() #175 #177 Contributor: Henrik Andersen, Jan Henning Thorsen diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.16/META.json new/JSON-Validator-3.17/META.json --- old/JSON-Validator-3.16/META.json 2019-10-28 05:59:50.0 +0100 +++ new/JSON-Validator-3.17/META.json 2019-12-29 06:21:54.0 +0100 @@ -61,6 +61,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "3.16", + "version" : "3.17", "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.16/META.yml new/JSON-Validator-3.17/META.yml --- old/JSON-Validator-3.16/META.yml2019-10-28 05:59:49.0 +0100 +++ new/JSON-Validator-3.17/META.yml2019-12-29 06:21:54.0 +0100 @@ -30,5 +30,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '3.16' +version: '3.17' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.16/lib/JSON/Validator.pm new/JSON-Validator-3.17/lib/JSON/Validator.pm --- old/JSON-Validator-3.16/lib/JSON/Validator.pm 2019-10-28 05:59:47.0 +0100 +++ new/JSON-Validator-3.17/lib/JSON/Validator.pm 2019-12-29 06:21:53.0 +0100 @@ -23,7 +23,7 @@ use constant RECURSION_LIMIT => $ENV{JSON_VALIDATOR_RECURSION_LIMIT} || 100; use constant SPECIFICATION_URL => 'http://json-schema.org/draft-04/schema#'; -our $VERSION = '3.16'; +our $VERSION = '3.17'; our $YAML_LOADER = eval q[use YAML::XS 0.67; YAML::XS->can('Load')]; # internal our @EXPORT_OK = qw(joi validate_json); @@ -320,7 +320,8 @@ @modules = _stack() unless $modules[0]; for my $module (@modules) { warn "[JSON::Validator] Looking for $file in $module\n" if DEBUG; - my $text = Mojo::Loader::data_section($module, $file); + my $text = Mojo::Util::encode('UTF-8', +Mojo::Loader::data_section($module, $file) // ''); return $self->_load_schema_from_text(\$text), "$url" if $text; } confess "$file could not be found in __DATA__ section of @modules."; @@ -547,7 +548,8 @@ # definitely relative now if ($base->isa('Mojo::File')) { return $base if !length $location; -return $base->sibling(split '/', $location)->realpath; +my $path = $base->sibling(split '/', $location)->realpath; +return
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2019-10-30 14:47:45 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.2990 (New) Package is "perl-JSON-Validator" Wed Oct 30 14:47:45 2019 rev:9 rq:743960 version:3.16 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2019-09-30 16:01:43.768844493 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.2990/perl-JSON-Validator.changes 2019-10-30 14:47:47.870180960 +0100 @@ -1,0 +2,10 @@ +Tue Oct 29 09:41:31 UTC 2019 - + +- updated to 3.16 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.16 2019-10-28T13:59:47+0900 + - Add generate_definitions_path() #175 #177 + Contributor: Henrik Andersen, Jan Henning Thorsen + +--- Old: JSON-Validator-3.15.tar.gz New: JSON-Validator-3.16.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.zS2Wmg/_old 2019-10-30 14:47:48.418181542 +0100 +++ /var/tmp/diff_new_pack.zS2Wmg/_new 2019-10-30 14:47:48.422181547 +0100 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.15 +Version:3.16 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.15.tar.gz -> JSON-Validator-3.16.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.15/Changes new/JSON-Validator-3.16/Changes --- old/JSON-Validator-3.15/Changes 2019-09-27 02:28:32.0 +0200 +++ new/JSON-Validator-3.16/Changes 2019-10-28 05:59:47.0 +0100 @@ -1,5 +1,9 @@ Revision history for perl distribution JSON-Validator +3.16 2019-10-28T13:59:47+0900 + - Add generate_definitions_path() #175 #177 + Contributor: Henrik Andersen, Jan Henning Thorsen + 3.15 2019-09-27T09:28:32+0900 - Add JSON::Validator::Error->details() #133 - Reversed the checksum and nice name for generated definitions #173 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.15/META.json new/JSON-Validator-3.16/META.json --- old/JSON-Validator-3.15/META.json 2019-09-27 02:28:34.0 +0200 +++ new/JSON-Validator-3.16/META.json 2019-10-28 05:59:50.0 +0100 @@ -61,6 +61,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "3.15", + "version" : "3.16", "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.15/META.yml new/JSON-Validator-3.16/META.yml --- old/JSON-Validator-3.15/META.yml2019-09-27 02:28:33.0 +0200 +++ new/JSON-Validator-3.16/META.yml2019-10-28 05:59:49.0 +0100 @@ -30,5 +30,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '3.15' +version: '3.16' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.15/lib/JSON/Validator.pm new/JSON-Validator-3.16/lib/JSON/Validator.pm --- old/JSON-Validator-3.15/lib/JSON/Validator.pm 2019-09-27 02:28:32.0 +0200 +++ new/JSON-Validator-3.16/lib/JSON/Validator.pm 2019-10-28 05:59:47.0 +0100 @@ -23,7 +23,7 @@ use constant RECURSION_LIMIT => $ENV{JSON_VALIDATOR_RECURSION_LIMIT} || 100; use constant SPECIFICATION_URL => 'http://json-schema.org/draft-04/schema#'; -our $VERSION = '3.15'; +our $VERSION = '3.16'; our $YAML_LOADER = eval q[use YAML::XS 0.67; YAML::XS->can('Load')]; # internal our @EXPORT_OK = qw(joi validate_json); @@ -47,6 +47,13 @@ }; has formats => sub { shift->_build_formats }; + +has generate_definitions_path => sub { + my $self = shift; + Scalar::Util::weaken($self); + return sub { [$self->{definitions_key} || 'definitions'] }; +}; + has version => 4; has ua => sub { @@ -91,14 +98,15 @@ if !$args->{schema} and $tied->fqn =~ m!^\Q$self->{root_schema_url}\E\#!; - my $p = $self->_definitions_path($bundle, $tied); - unless ($self->{bundled_refs}{$tied->fqn}) { -$self->{bundled_refs}{$tied->fqn} = $tied; -push @topics, [$schema->{$p->[0]} || {}, $bundle->{$p->[0]} ||= {}]; -push @topics, [$tied->schema, $bundle->{$p->[0]}{$p->[1]} ||= {}]; + my $path =
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2019-09-30 16:01:28 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.2352 (New) Package is "perl-JSON-Validator" Mon Sep 30 16:01:28 2019 rev:8 rq:733997 version:3.15 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2019-08-13 13:20:17.505433742 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.2352/perl-JSON-Validator.changes 2019-09-30 16:01:43.768844493 +0200 @@ -1,0 +2,10 @@ +Fri Sep 27 08:43:15 UTC 2019 - + +- updated to 3.15 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.15 2019-09-27T09:28:32+0900 + - Add JSON::Validator::Error->details() #133 + - Reversed the checksum and nice name for generated definitions #173 + +--- Old: JSON-Validator-3.14.tar.gz New: JSON-Validator-3.15.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.CzGEex/_old 2019-09-30 16:01:44.488842577 +0200 +++ /var/tmp/diff_new_pack.CzGEex/_new 2019-09-30 16:01:44.488842577 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.14 +Version:3.15 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.14.tar.gz -> JSON-Validator-3.15.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.14/Changes new/JSON-Validator-3.15/Changes --- old/JSON-Validator-3.14/Changes 2019-08-09 23:52:24.0 +0200 +++ new/JSON-Validator-3.15/Changes 2019-09-27 02:28:32.0 +0200 @@ -1,5 +1,9 @@ Revision history for perl distribution JSON-Validator +3.15 2019-09-27T09:28:32+0900 + - Add JSON::Validator::Error->details() #133 + - Reversed the checksum and nice name for generated definitions #173 + 3.14 2019-08-09T23:52:24+0200 - Fix failing tests #169 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.14/MANIFEST new/JSON-Validator-3.15/MANIFEST --- old/JSON-Validator-3.14/MANIFEST2019-08-09 23:52:25.0 +0200 +++ new/JSON-Validator-3.15/MANIFEST2019-09-27 02:28:34.0 +0200 @@ -106,6 +106,7 @@ t/spec/person.json t/spec/petstore.json 't/spec/space bundle.json' +t/spec/test-definitions-key.json t/spec/with-deep-mixed-ref.json t/spec/with-relative-ref.json t/stack/Some.pm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.14/META.json new/JSON-Validator-3.15/META.json --- old/JSON-Validator-3.14/META.json 2019-08-09 23:52:25.0 +0200 +++ new/JSON-Validator-3.15/META.json 2019-09-27 02:28:34.0 +0200 @@ -61,6 +61,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "3.14", - "x_serialization_backend" : "JSON::PP version 2.97001" + "version" : "3.15", + "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.14/META.yml new/JSON-Validator-3.15/META.yml --- old/JSON-Validator-3.14/META.yml2019-08-09 23:52:25.0 +0200 +++ new/JSON-Validator-3.15/META.yml2019-09-27 02:28:33.0 +0200 @@ -30,5 +30,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '3.14' +version: '3.15' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.14/lib/JSON/Validator/Error.pm new/JSON-Validator-3.15/lib/JSON/Validator/Error.pm --- old/JSON-Validator-3.14/lib/JSON/Validator/Error.pm 2019-06-04 21:37:12.0 +0200 +++ new/JSON-Validator-3.15/lib/JSON/Validator/Error.pm 2019-09-27 02:18:23.0 +0200 @@ -3,16 +3,92 @@ use overload q("") => \_string, bool => sub {1}, fallback => 1; +our $MESSAGES = { + allOf => {type => '/allOf Expected %3 - got %4.'}, + anyOf => {type => '/anyOf Expected %3 - got %4.'}, + array => { +additionalItems => 'Invalid number of items: %3/%4.', +maxItems=> 'Too many items: %3/%4.', +minItems=> 'Not enough items: %3/%4.', +uniqueItems => 'Unique items required.', + }, + const => {const => 'Does not match const: %3.'}, + enum=> {enum => 'Not in enum list: %3.'}, + integer
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2019-08-13 13:19:11 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.9556 (New) Package is "perl-JSON-Validator" Tue Aug 13 13:19:11 2019 rev:7 rq:722200 version:3.14 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2019-05-13 14:51:40.850961162 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.9556/perl-JSON-Validator.changes 2019-08-13 13:20:17.505433742 +0200 @@ -1,0 +2,25 @@ +Sat Aug 10 05:12:29 UTC 2019 - Stephan Kulow + +- updated to 3.14 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.14 2019-08-09T23:52:24+0200 + - Fix failing tests #169 + +--- +Fri Aug 9 05:10:48 UTC 2019 - Stephan Kulow + +- updated to 3.13 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.13 2019-08-08T16:27:29+0200 + - Fix extend() should not mutate the source objects #167 + + 3.12 2019-08-08T12:02:14+0200 + - Fix bug: Joi->extend(...) will also merge "required" #166 + - Fix deprecation warning from $joi->validate #165 + Contributor: Mattias Päivärinta + - Fix loading Time::Local in the correct module #163 + Contributor: Bernhard Graf + +--- Old: JSON-Validator-3.11.tar.gz New: JSON-Validator-3.14.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.bz2MYj/_old 2019-08-13 13:20:19.157433307 +0200 +++ /var/tmp/diff_new_pack.bz2MYj/_new 2019-08-13 13:20:19.189433299 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.11 +Version:3.14 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema @@ -31,6 +31,7 @@ BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Mojolicious) >= 7.28 +BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 1.30 Requires: perl(Mojolicious) >= 7.28 %{perl_requires} ++ JSON-Validator-3.11.tar.gz -> JSON-Validator-3.14.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.11/Changes new/JSON-Validator-3.14/Changes --- old/JSON-Validator-3.11/Changes 2019-05-07 16:53:16.0 +0200 +++ new/JSON-Validator-3.14/Changes 2019-08-09 23:52:24.0 +0200 @@ -1,5 +1,18 @@ Revision history for perl distribution JSON-Validator +3.14 2019-08-09T23:52:24+0200 + - Fix failing tests #169 + +3.13 2019-08-08T16:27:29+0200 + - Fix extend() should not mutate the source objects #167 + +3.12 2019-08-08T12:02:14+0200 + - Fix bug: Joi->extend(...) will also merge "required" #166 + - Fix deprecation warning from $joi->validate #165 + Contributor: Mattias Päivärinta + - Fix loading Time::Local in the correct module #163 + Contributor: Bernhard Graf + 3.11 2019-05-07T21:53:16+0700 - Bundle https://github.com/OAI/OpenAPI-Specification/blob/master/schemas/v3.0/schema.json #157 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.11/MANIFEST new/JSON-Validator-3.14/MANIFEST --- old/JSON-Validator-3.11/MANIFEST2019-05-07 16:53:17.0 +0200 +++ new/JSON-Validator-3.14/MANIFEST2019-08-09 23:52:25.0 +0200 @@ -59,6 +59,7 @@ t/draft4-tests/required.json t/draft4-tests/type.json t/draft4-tests/uniqueItems.json +t/formats.t t/get.t t/Helper.pm t/id-keyword-draft4.t @@ -90,6 +91,7 @@ t/load-http.t t/load-json.t t/load-yaml.t +t/more-bundle.t t/random-errors.t t/relative-ref.t t/remotes/folder/folderInteger.json @@ -99,6 +101,8 @@ t/spec/bundle-no-leaking-filename.json t/spec/bundlecheck.json t/spec/missing-ref.json +t/spec/more-bundle.yaml +t/spec/more-bundle2.yaml t/spec/person.json t/spec/petstore.json 't/spec/space bundle.json' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.11/META.json new/JSON-Validator-3.14/META.json --- old/JSON-Validator-3.11/META.json 2019-05-07 16:53:17.0 +0200 +++ new/JSON-Validator-3.14/META.json 2019-08-09 23:52:25.0 +0200 @@ -40,6 +40,7 @@ }, "test" : { "requires" : { +"Test::Deep" : "0", "Test::More" : "1.30" } } @@ -60,6 +61,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "3.11", + "version" : "3.14", "x_serialization_backend" : "JSON::PP version
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2019-05-13 14:51:39 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.5148 (New) Package is "perl-JSON-Validator" Mon May 13 14:51:39 2019 rev:6 rq:702477 version:3.11 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2019-05-07 23:20:07.881074852 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.5148/perl-JSON-Validator.changes 2019-05-13 14:51:40.850961162 +0200 @@ -1,0 +2,9 @@ +Wed May 8 05:10:07 UTC 2019 - Stephan Kulow + +- updated to 3.11 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.11 2019-05-07T21:53:16+0700 + - Bundle https://github.com/OAI/OpenAPI-Specification/blob/master/schemas/v3.0/schema.json #157 + +--- Old: JSON-Validator-3.10.tar.gz New: JSON-Validator-3.11.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.63Jv0y/_old 2019-05-13 14:51:41.458962693 +0200 +++ /var/tmp/diff_new_pack.63Jv0y/_new 2019-05-13 14:51:41.462962704 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.10 +Version:3.11 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.10.tar.gz -> JSON-Validator-3.11.tar.gz ++ 1724 lines of diff (skipped)
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2019-05-07 23:20:05 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.5148 (New) Package is "perl-JSON-Validator" Tue May 7 23:20:05 2019 rev:5 rq:701309 version:3.10 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2019-05-06 13:27:25.065280413 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.5148/perl-JSON-Validator.changes 2019-05-07 23:20:07.881074852 +0200 @@ -1,0 +2,10 @@ +Mon May 6 05:11:22 UTC 2019 - Stephan Kulow + +- updated to 3.10 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.10 2019-05-05T14:32:15+0700 + - Should not add "/definitions" to bundle, if there are no definitions + - A bit too soon to deprecate bundle({replace => 1}) in 3.09 + +--- Old: JSON-Validator-3.09.tar.gz New: JSON-Validator-3.10.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.k7p0kg/_old 2019-05-07 23:20:08.937077262 +0200 +++ /var/tmp/diff_new_pack.k7p0kg/_new 2019-05-07 23:20:08.941077272 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.09 +Version:3.10 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.09.tar.gz -> JSON-Validator-3.10.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.09/.gitattributes new/JSON-Validator-3.10/.gitattributes --- old/JSON-Validator-3.09/.gitattributes 2018-12-15 05:21:00.0 +0100 +++ new/JSON-Validator-3.10/.gitattributes 1970-01-01 01:00:00.0 +0100 @@ -1,3 +0,0 @@ -*.pl linguist-language=Perl -*.pm linguist-language=Perl -*.t linguist-language=Perl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.09/.github/CONTRIBUTING.md new/JSON-Validator-3.10/.github/CONTRIBUTING.md --- old/JSON-Validator-3.09/.github/CONTRIBUTING.md 2018-12-15 05:21:00.0 +0100 +++ new/JSON-Validator-3.10/.github/CONTRIBUTING.md 1970-01-01 01:00:00.0 +0100 @@ -1 +0,0 @@ -Please read the guide for [contributing to Mojolicious](http://mojolicious.org/perldoc/Mojolicious/Guides/Contributing). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.09/.github/ISSUE_TEMPLATE.md new/JSON-Validator-3.10/.github/ISSUE_TEMPLATE.md --- old/JSON-Validator-3.09/.github/ISSUE_TEMPLATE.md 2018-12-15 05:21:00.0 +0100 +++ new/JSON-Validator-3.10/.github/ISSUE_TEMPLATE.md 1970-01-01 01:00:00.0 +0100 @@ -1,12 +0,0 @@ -* JSON::Validator version: VERSION HERE -* Perl version: VERSION HERE -* Operating system: NAME AND VERSION HERE - -### Steps to reproduce the behavior -EXPLAIN WHAT HAPPENED HERE, PREFERABLY WITH CODE EXAMPLES - -### Expected behavior -EXPLAIN WHAT SHOULD HAPPEN HERE - -### Actual behavior -EXPLAIN WHAT HAPPENED INSTEAD HERE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.09/.github/PULL_REQUEST_TEMPLATE.md new/JSON-Validator-3.10/.github/PULL_REQUEST_TEMPLATE.md --- old/JSON-Validator-3.09/.github/PULL_REQUEST_TEMPLATE.md2018-12-15 05:21:00.0 +0100 +++ new/JSON-Validator-3.10/.github/PULL_REQUEST_TEMPLATE.md1970-01-01 01:00:00.0 +0100 @@ -1,8 +0,0 @@ -### Summary -DESCRIBE THE BIG PICTURE OF YOUR CHANGES HERE - -### Motivation -EXPLAIN WHY YOU BELIEVE THESE CHANGES ARE NECESSARY HERE - -### References -LIST RELEVANT ISSUES, PULL REQUESTS AND IRC/MAILING-LIST DISCUSSIONS HERE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.09/.perltidyrc new/JSON-Validator-3.10/.perltidyrc --- old/JSON-Validator-3.09/.perltidyrc 2018-12-15 05:21:00.0 +0100 +++ new/JSON-Validator-3.10/.perltidyrc 1970-01-01 01:00:00.0 +0100 @@ -1,13 +0,0 @@ --pbp # Start with Perl Best Practices --w # Show all warnings --iob # Ignore old breakpoints --l=80# 80 characters per line --mbl=2 # No more than 2 blank lines --i=2 # Indentation is 2 columns --ci=2# Continuation indentation is 2 columns --vt=0# Less vertical tightness --pt=2# High parenthesis tightness --bt=2# High brace tightness --sbt=2 # High square bracket tightness --wn # Weld nested containers --isbc# Don't indent comments without leading
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2019-05-06 13:27:21 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.5148 (New) Package is "perl-JSON-Validator" Mon May 6 13:27:21 2019 rev:4 rq:700693 version:3.09 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2019-04-08 10:40:44.219301283 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.5148/perl-JSON-Validator.changes 2019-05-06 13:27:25.065280413 +0200 @@ -1,0 +2,12 @@ +Sun May 5 05:13:01 UTC 2019 - Stephan Kulow + +- updated to 3.09 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.09 2019-05-04T22:28:55+0700 + - Prettier definition names from bundle(). + - Changed default bundle() definitions location from "x-bundle" to "definitions". + - Deprecated bundle({ref_ref => ...}) + - Deprecated bundle({replace => ...}) + +--- Old: JSON-Validator-3.08.tar.gz New: JSON-Validator-3.09.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.M8orLL/_old 2019-05-06 13:27:25.917281934 +0200 +++ /var/tmp/diff_new_pack.M8orLL/_new 2019-05-06 13:27:25.917281934 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.08 +Version:3.09 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.08.tar.gz -> JSON-Validator-3.09.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.08/.vstags new/JSON-Validator-3.09/.vstags --- old/JSON-Validator-3.08/.vstags 2019-04-06 10:02:22.0 +0200 +++ new/JSON-Validator-3.09/.vstags 2019-04-09 04:16:28.0 +0200 @@ -4,157 +4,311 @@ !_TAG_PROGRAM_NAME Exuberant Ctags // !_TAG_PROGRAM_URL http://ctags.sourceforge.net/official site/ !_TAG_PROGRAM_VERSION 5.8 // +CASE_TOLERANT blib/lib/JSON/Validator.pm 20;"c CASE_TOLERANT lib/JSON/Validator.pm 20;"c +COLORS blib/lib/JSON/Validator.pm 21;"c COLORS lib/JSON/Validator.pm 21;"c -D lib/JSON/Validator.pm 36;"s +D blib/lib/JSON/Validator.pm 35;"s +D lib/JSON/Validator.pm 35;"s +DATA_VALIDATE_DOMAIN blib/lib/JSON/Validator/Formats.pm 4;" c DATA_VALIDATE_DOMAIN lib/JSON/Validator/Formats.pm 4;" c +DATA_VALIDATE_IP blib/lib/JSON/Validator/Formats.pm 5;" c DATA_VALIDATE_IP lib/JSON/Validator/Formats.pm 5;" c +DEBUG blib/lib/JSON/Validator.pm 22;"c DEBUG lib/JSON/Validator.pm 22;"c -E lib/JSON/Validator.pm 41;"s +E blib/lib/JSON/Validator.pm 40;"s +E lib/JSON/Validator.pm 40;"s +EXISTS blib/lib/JSON/Validator/Ref.pm 14;"s EXISTS lib/JSON/Validator/Ref.pm 14;"s +FETCH blib/lib/JSON/Validator/Ref.pm 18;"s FETCH lib/JSON/Validator/Ref.pm 18;"s +FIRSTKEY blib/lib/JSON/Validator/Ref.pm 21;"s FIRSTKEY lib/JSON/Validator/Ref.pm 21;"s +JSON::Validatorblib/lib/JSON/Validator.pm 1;" p JSON::Validatorlib/JSON/Validator.pm 1;" p +JSON::Validator::CASE_TOLERANT blib/lib/JSON/Validator.pm 20;"c JSON::Validator::CASE_TOLERANT lib/JSON/Validator.pm 20;"c +JSON::Validator::COLORSblib/lib/JSON/Validator.pm 21;"c JSON::Validator::COLORSlib/JSON/Validator.pm 21;"c -JSON::Validator::D lib/JSON/Validator.pm 36;"s +JSON::Validator::D blib/lib/JSON/Validator.pm 35;"s +JSON::Validator::D lib/JSON/Validator.pm 35;"s +JSON::Validator::DEBUG blib/lib/JSON/Validator.pm 22;"c JSON::Validator::DEBUG lib/JSON/Validator.pm 22;"c -JSON::Validator::E lib/JSON/Validator.pm 41;"s +JSON::Validator::E blib/lib/JSON/Validator.pm 40;"s +JSON::Validator::E lib/JSON/Validator.pm 40;"s +JSON::Validator::Error blib/lib/JSON/Validator/Error.pm1;" p JSON::Validator::Error lib/JSON/Validator/Error.pm 1;" p +JSON::Validator::Error::TO_JSONblib/lib/JSON/Validator/Error.pm 15;"s JSON::Validator::Error::TO_JSONlib/JSON/Validator/Error.pm 15;" s +JSON::Validator::Error::messageblib/lib/JSON/Validator/Error.pm 12;"s JSON::Validator::Error::messagelib/JSON/Validator/Error.pm 12;" s +JSON::Validator::Error::newblib/lib/JSON/Validator/Error.pm
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2019-04-08 10:40:09 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3908 (New) Package is "perl-JSON-Validator" Mon Apr 8 10:40:09 2019 rev:3 rq:692128 version:3.08 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2019-04-05 12:06:53.386578610 +0200 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3908/perl-JSON-Validator.changes 2019-04-08 10:40:44.219301283 +0200 @@ -1,0 +2,12 @@ +Sun Apr 7 05:09:45 UTC 2019 - Stephan Kulow + +- updated to 3.08 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.08 2019-04-06T15:07:11+0700 + - Add support for "default" in object definitions #155 + - Add support for coerce("bool,def,num,str") as alternative to hash + - Add support for setting coerce in new() + - Deprecated support for coerce(1) + +--- Old: JSON-Validator-3.07.tar.gz New: JSON-Validator-3.08.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.ciXYPV/_old 2019-04-08 10:40:44.907301451 +0200 +++ /var/tmp/diff_new_pack.ciXYPV/_new 2019-04-08 10:40:44.911301452 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.07 +Version:3.08 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.07.tar.gz -> JSON-Validator-3.08.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.07/.vstags new/JSON-Validator-3.08/.vstags --- old/JSON-Validator-3.07/.vstags 1970-01-01 01:00:00.0 +0100 +++ new/JSON-Validator-3.08/.vstags 2019-04-06 10:02:22.0 +0200 @@ -0,0 +1,292 @@ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhieb...@users.sourceforge.net/ +!_TAG_PROGRAM_NAME Exuberant Ctags // +!_TAG_PROGRAM_URL http://ctags.sourceforge.net/official site/ +!_TAG_PROGRAM_VERSION 5.8 // +CASE_TOLERANT lib/JSON/Validator.pm 20;"c +COLORS lib/JSON/Validator.pm 21;"c +D lib/JSON/Validator.pm 36;"s +DATA_VALIDATE_DOMAIN lib/JSON/Validator/Formats.pm 4;" c +DATA_VALIDATE_IP lib/JSON/Validator/Formats.pm 5;" c +DEBUG lib/JSON/Validator.pm 22;"c +E lib/JSON/Validator.pm 41;"s +EXISTS lib/JSON/Validator/Ref.pm 14;"s +FETCH lib/JSON/Validator/Ref.pm 18;"s +FIRSTKEY lib/JSON/Validator/Ref.pm 21;"s +JSON::Validatorlib/JSON/Validator.pm 1;" p +JSON::Validator::CASE_TOLERANT lib/JSON/Validator.pm 20;"c +JSON::Validator::COLORSlib/JSON/Validator.pm 21;"c +JSON::Validator::D lib/JSON/Validator.pm 36;"s +JSON::Validator::DEBUG lib/JSON/Validator.pm 22;"c +JSON::Validator::E lib/JSON/Validator.pm 41;"s +JSON::Validator::Error lib/JSON/Validator/Error.pm 1;" p +JSON::Validator::Error::TO_JSONlib/JSON/Validator/Error.pm 15;" s +JSON::Validator::Error::messagelib/JSON/Validator/Error.pm 12;" s +JSON::Validator::Error::newlib/JSON/Validator/Error.pm 6;" s +JSON::Validator::Error::path lib/JSON/Validator/Error.pm 13;"s +JSON::Validator::Error::to_string lib/JSON/Validator/Error.pm 14;" s +JSON::Validator::Formats lib/JSON/Validator/Formats.pm 1;" p +JSON::Validator::Formats::DATA_VALIDATE_DOMAIN lib/JSON/Validator/Formats.pm 4;" c +JSON::Validator::Formats::DATA_VALIDATE_IP lib/JSON/Validator/Formats.pm 5;" c +JSON::Validator::Formats::NET_IDN_ENCODE lib/JSON/Validator/Formats.pm 6;" c +JSON::Validator::Formats::WARN_MISSING_MODULE lib/JSON/Validator/Formats.pm 7;" c +JSON::Validator::Formats::_module_missing lib/JSON/Validator/Formats.pm 184;" s +JSON::Validator::Formats::check_date lib/JSON/Validator/Formats.pm 11;" s +JSON::Validator::Formats::check_date_time lib/JSON/Validator/Formats.pm 24;"s +JSON::Validator::Formats::check_email lib/JSON/Validator/Formats.pm 38;" s +JSON::Validator::Formats::check_hostname lib/JSON/Validator/Formats.pm 54;"s +JSON::Validator::Formats::check_idn_email lib/JSON/Validator/Formats.pm 61;"s +JSON::Validator::Formats::check_idn_hostname lib/JSON/Validator/Formats.pm
commit perl-JSON-Validator for openSUSE:Factory
Hello community, here is the log from the commit of package perl-JSON-Validator for openSUSE:Factory checked in at 2019-04-05 12:05:17 Comparing /work/SRC/openSUSE:Factory/perl-JSON-Validator (Old) and /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3908 (New) Package is "perl-JSON-Validator" Fri Apr 5 12:05:17 2019 rev:2 rq:691644 version:3.07 Changes: --- /work/SRC/openSUSE:Factory/perl-JSON-Validator/perl-JSON-Validator.changes 2019-03-01 16:47:02.549807793 +0100 +++ /work/SRC/openSUSE:Factory/.perl-JSON-Validator.new.3908/perl-JSON-Validator.changes 2019-04-05 12:06:53.386578610 +0200 @@ -1,0 +2,9 @@ +Fri Apr 5 05:11:55 UTC 2019 - Stephan Kulow + +- updated to 3.07 + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 3.07 2019-04-04T23:43:55+0700 + - Fix not leaking file names with bundle() + +--- Old: JSON-Validator-3.06.tar.gz New: JSON-Validator-3.07.tar.gz Other differences: -- ++ perl-JSON-Validator.spec ++ --- /var/tmp/diff_new_pack.DXjJZJ/_old 2019-04-05 12:06:53.970578836 +0200 +++ /var/tmp/diff_new_pack.DXjJZJ/_new 2019-04-05 12:06:53.970578836 +0200 @@ -17,7 +17,7 @@ Name: perl-JSON-Validator -Version:3.06 +Version:3.07 Release:0 %define cpan_name JSON-Validator Summary:Validate data against a JSON schema ++ JSON-Validator-3.06.tar.gz -> JSON-Validator-3.07.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.06/Changes new/JSON-Validator-3.07/Changes --- old/JSON-Validator-3.06/Changes 2019-02-14 18:24:29.0 +0100 +++ new/JSON-Validator-3.07/Changes 2019-04-04 18:43:55.0 +0200 @@ -1,5 +1,8 @@ Revision history for perl distribution JSON-Validator +3.07 2019-04-04T23:43:55+0700 + - Fix not leaking file names with bundle() + 3.06 2019-02-14T18:24:29+0100 - Fix coercing integers and numbers #147 - Changed recursion guard to not keeping tracking of plain scalars #147 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.06/MANIFEST new/JSON-Validator-3.07/MANIFEST --- old/JSON-Validator-3.06/MANIFEST2019-02-14 18:24:30.0 +0100 +++ new/JSON-Validator-3.07/MANIFEST2019-04-04 18:43:56.0 +0200 @@ -100,6 +100,7 @@ t/remotes/integer.json t/remotes/subSchemas.json t/schema-as-attr.t +t/spec/bundle-no-leaking-filename.json t/spec/bundlecheck.json t/spec/missing-ref.json t/spec/person.json diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.06/META.json new/JSON-Validator-3.07/META.json --- old/JSON-Validator-3.06/META.json 2019-02-14 18:24:30.0 +0100 +++ new/JSON-Validator-3.07/META.json 2019-04-04 18:43:56.0 +0200 @@ -60,6 +60,6 @@ }, "x_IRC" : "irc://irc.freenode.net/#mojo" }, - "version" : "3.06", + "version" : "3.07", "x_serialization_backend" : "JSON::PP version 2.97001" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.06/META.yml new/JSON-Validator-3.07/META.yml --- old/JSON-Validator-3.06/META.yml2019-02-14 18:24:30.0 +0100 +++ new/JSON-Validator-3.07/META.yml2019-04-04 18:43:56.0 +0200 @@ -29,5 +29,5 @@ homepage: https://mojolicious.org license: http://www.opensource.org/licenses/artistic-license-2.0 repository: https://github.com/mojolicious/json-validator.git -version: '3.06' +version: '3.07' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-Validator-3.06/lib/JSON/Validator/Joi.pm new/JSON-Validator-3.07/lib/JSON/Validator/Joi.pm --- old/JSON-Validator-3.06/lib/JSON/Validator/Joi.pm 2019-01-20 23:31:14.0 +0100 +++ new/JSON-Validator-3.07/lib/JSON/Validator/Joi.pm 2019-04-04 18:41:08.0 +0200 @@ -62,7 +62,7 @@ sub positive { shift->number->min(0) } sub props { - my $self = shift->type('object'); + my $self = shift->type('object'); my %properties = ref $_[0] ? %{$_[0]} : @_; while (my ($name, $property) = each %properties) { @@ -80,8 +80,8 @@ sub validate { my ($self, $data) = @_; - state $validator = JSON::Validator->new->coerce(1); - return $validator->validate($data, $self->compile); + state $jv = JSON::Validator->new->coerce(1); + return $jv->validate($data, $self->compile); } sub _compile_array { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore'