From 39b37d6dbd16018a6a4c3197c445df252b212516 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 12 Jul 2021 08:01:36 +0200 Subject: update to 1.2.0 --- composer.json | 24 +++++++++++++++++++++++- php-react-event-loop.spec | 15 +++++++-------- 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index cc6abf0..d9b032e 100644 --- a/composer.json +++ b/composer.json @@ -3,11 +3,33 @@ "description": "ReactPHP's core reactor event loop that libraries can use for evented I/O.", "keywords": ["event-loop", "asynchronous"], "license": "MIT", + "authors": [ + { + "name": "Christian Lück", + "homepage": "https://clue.engineering/", + "email": "christian@clue.engineering" + }, + { + "name": "Cees-Jan Kiewiet", + "homepage": "https://wyrihaximus.net/", + "email": "reactphp@ceesjankiewiet.nl" + }, + { + "name": "Jan Sorgalla", + "homepage": "https://sorgalla.com/", + "email": "jsorgalla@gmail.com" + }, + { + "name": "Chris Boden", + "homepage": "https://cboden.dev/", + "email": "cboden@gmail.com" + } + ], "require": { "php": ">=5.3.0" }, "require-dev": { - "phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35" + "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35" }, "suggest": { "ext-event": "~1.0 for ExtEventLoop", diff --git a/php-react-event-loop.spec b/php-react-event-loop.spec index 9e52a07..d8bc4e4 100644 --- a/php-react-event-loop.spec +++ b/php-react-event-loop.spec @@ -12,8 +12,8 @@ %global github_owner reactphp %global github_name event-loop -%global github_version 1.1.1 -%global github_commit 6d24de090cd59cfc830263cfba965be77b563c13 +%global github_version 1.2.0 +%global github_commit be6dee480fc4692cec0504e65eb486e3be1aa6f2 %global composer_vendor react %global composer_project event-loop @@ -127,12 +127,8 @@ require '%{buildroot}%{phpdir}/React/EventLoop/autoload.php'; \Fedora\Autoloader\Autoload::addPsr4('React\\Tests\\EventLoop\\', __DIR__.'/tests'); BOOTSTRAP -: for phpunit8/9 -find tests -name \*.php \ - -exec sed \ - -e 's/function setUp()/function setUp():void/' \ - -e 's/function tearDown()/function tearDown():void/' \ - -i {} \; +: Fix autoloader path +sed -e '/autoload.php/s:^.*$:require "%{buildroot}%{phpdir}/React/EventLoop/autoload.php";:' -i tests/bin/*.php : Upstream tests RETURN_CODE=0 @@ -159,6 +155,9 @@ exit $RETURN_CODE %changelog +* Mon Jul 12 2021 Remi Collet - 1.2.0-1 +- update to 1.2.0 + * Wed Nov 4 2020 Remi Collet - 1.1.1-1 - update to 1.1.1 - switch to phpunit9 -- cgit