From dd9dbdd70defaf6e094321ea2a39a47117ec7aac Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 25 May 2016 09:57:44 +0200 Subject: php-justinrainbow-json-schema: 2.0.4 --- composer.json | 10 +++++----- php-justinrainbow-json-schema.spec | 14 +++++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index 64ae1d6..f0f630a 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "justinrainbow/json-schema", "description": "A library to validate a json schema.", - "version": "2.0.3", + "version": "2.0.4", "keywords": ["json", "schema"], "homepage": "https://github.com/justinrainbow/json-schema", "type": "library", @@ -28,11 +28,11 @@ "type": "package", "package": { "name": "json-schema/JSON-Schema-Test-Suite", - "version": "1.1.2", + "version": "1.2.0", "source": { "url": "https://github.com/json-schema/JSON-Schema-Test-Suite", "type": "git", - "reference": "1.1.2" + "reference": "1.2.0" } } }], @@ -40,7 +40,7 @@ "php": ">=5.3.3" }, "require-dev": { - "json-schema/JSON-Schema-Test-Suite": "1.1.2", + "json-schema/JSON-Schema-Test-Suite": "1.2.0", "phpunit/phpunit": "^4.8.22", "phpdocumentor/phpdocumentor": "~2" }, @@ -48,7 +48,7 @@ "psr-4": { "JsonSchema\\": "src/JsonSchema/" } }, "autoload-dev": { - "psr-4": { "JsonSchema\\Tests\\": "tests/JsonSchema/Tests/" } + "psr-4": { "JsonSchema\\Tests\\": "tests/" } }, "bin": ["bin/validate-json"], "extra": { diff --git a/php-justinrainbow-json-schema.spec b/php-justinrainbow-json-schema.spec index 5b83616..f96f055 100644 --- a/php-justinrainbow-json-schema.spec +++ b/php-justinrainbow-json-schema.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit c21534c635f03428e92254333fab4ae35b2cdfd9 +%global gh_commit 5c133a3e336c2b35a4233f5da4cc15f083ea128d %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner justinrainbow %global gh_project json-schema @@ -15,16 +15,16 @@ # Some sample files, only used for tests # "json-schema/JSON-Schema-Test-Suite": "1.1.0", -%global ts_commit 468fa788ca2053a69815c43abc500e044086120c +%global ts_commit f3d5aeb5ffbe9d9a5a0ceb761dc47c7c4c2efa68 %global ts_short %(c=%{ts_commit}; echo ${c:0:7}) %global ts_owner json-schema %global ts_project JSON-Schema-Test-Suite -%global ts_version 1.1.2 +%global ts_version 1.2.0 %global eolv1 0 Name: php-%{gh_owner}-%{gh_project} -Version: 2.0.3 +Version: 2.0.4 Release: 1%{?dist} Summary: A library to validate a json schema @@ -145,7 +145,7 @@ install -Dpm 0755 bin/validate-json %{buildroot}%{_bindir}/validate-json cat << 'EOF' | tee vendor/autoload.php addPrefix('JsonSchema\\Tests\\', 'tests/JsonSchema/Tests/'); +$fedoraPsr4ClassLoader->addPrefix('JsonSchema\\Tests\\', 'tests/'); EOF : Test the command @@ -185,6 +185,10 @@ rm -rf %{buildroot} %changelog +* Wed May 25 2016 Remi Collet - 2.0.4-1 +- update to 2.0.4 +- use json-schema/JSON-Schema-Test-Suite 1.2.0 + * Wed May 11 2016 Remi Collet - 2.0.3-1 - update to 2.0.3 - use json-schema/JSON-Schema-Test-Suite 1.1.2 -- cgit