diff --git a/.gitignore b/.gitignore index 38e860f..40218a7 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,9 @@ /php-swaggest-json-schema-0.12.29-7564d4a.tgz /php-swaggest-json-schema-0.12.30-4aca4f5.tgz /php-swaggest-json-schema-0.12.31-a4adcdb.tgz +/php-swaggest-json-schema-0.12.32-f92567a.tgz +/php-swaggest-json-schema-0.12.33-87919a4.tgz +/php-swaggest-json-schema-0.12.34-ec90855.tgz +/php-swaggest-json-schema-0.12.35-d0126bd.tgz +/php-swaggest-json-schema-0.12.36-cbdf1d9.tgz +/php-swaggest-json-schema-0.12.37-1d7cce2.tgz diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index 36a4596..24fd69c 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-swaggest-json-schema # -# Copyright (c) 2019-2020 Remi Collet +# Copyright (c) 2019-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit a4adcdbb38f38a19d3f1801150822172cf1c4853 +%global gh_commit 1d7cce2dac6844a8a612672ad5936e8c4145e96a %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner swaggest %global gh_project php-json-schema @@ -23,7 +23,7 @@ %global major %nil Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 0.12.31 +Version: 0.12.37 Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation @@ -45,10 +45,10 @@ BuildRequires: php-phplang-scope-exit >= 1.0 BuildRequires: php-swaggest-json-diff >= 3.5.1 %endif # For tests, from composer.json "require-dev": { -# "phpunit/phpunit": "^4.8.23", -# "phpunit/php-code-coverage": "2.2.4", +# "phpunit/phpunit": "^5", +# "phpunit/php-code-coverage": "^4", # "codeclimate/php-test-reporter": "^0.4.0" -BuildRequires: php-composer(phpunit/phpunit) >= 4.8.23 +BuildRequires: php-composer(phpunit/phpunit) >= 5 %global phpunit %{_bindir}/phpunit BuildRequires: php-date BuildRequires: php-filter @@ -128,10 +128,14 @@ require '%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}%{major}/autoload \Fedora\Autoloader\Autoload::addPsr4('%{ns_vendor}\\%{ns_project}\\Tests\\', dirname(__DIR__).'/tests/src'); EOF +# Skip online tests: testInvalid, testValidate ret=0 -for cmd in php php71 php72 php73 php74; do +for cmd in php php73 php74 php80; do if which $cmd; then - $cmd %{phpunit} --no-coverage --verbose || ret=1 + $cmd %{phpunit} \ + --no-coverage \ + --filter '^((?!(SwaggerTest::testInvalid|SwaggerTest::testValidate)).)*$' \ + --verbose || ret=1 fi done exit $ret @@ -149,6 +153,24 @@ exit $ret %changelog +* Thu Sep 2 2021 Remi Collet - 0.12.37-1 +- update to 0.12.37 + +* Mon Jul 19 2021 Remi Collet - 0.12.36-1 +- update to 0.12.36 + +* Fri Jun 18 2021 Remi Collet - 0.12.35-1 +- update to 0.12.35 + +* Thu Jun 17 2021 Remi Collet - 0.12.34-1 +- update to 0.12.34 + +* Mon May 31 2021 Remi Collet - 0.12.33-1 +- update to 0.12.33 + +* Mon May 17 2021 Remi Collet - 0.12.32-1 +- update to 0.12.32 + * Mon Sep 21 2020 Remi Collet - 0.12.31-1 - update to 0.12.31 diff --git a/sources b/sources index 2909ecb..f7b8991 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-swaggest-json-schema-0.12.31-a4adcdb.tgz) = 298b8b9fa111b6bad535f03bdd7206b300d94b7c4550141c9713acfd077da28cc74e2afeef2b342caa0b55d0e02d6ce82b91f91eae5a4001d61cfab722b41594 +SHA512 (php-swaggest-json-schema-0.12.37-1d7cce2.tgz) = 860c9bfa1dd1c842b10eb3f77c40617c7f96196086cf5530c68c0c20b6f95ef82fd2b438f5c4cf9bc31d9ec8038f136f3eb93e64445d39262965efd7e82aef98