summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-08 09:36:09 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-08 09:36:09 +0200
commit666993cf1408ebb2e75c9d3f9a2042ab4037df83 (patch)
treed94beaea741200a4fb05fba6edc0670084b9417a
parentee413d201c1797a192f0f243c169d9c423ba0c39 (diff)
php-zendframework-zend-diactoros: 1.3.6
-rw-r--r--composer.json58
-rw-r--r--php-zendframework-zend-diactoros.spec24
2 files changed, 77 insertions, 5 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..8db507f
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,58 @@
+{
+ "name": "zendframework/zend-diactoros",
+ "description": "PSR HTTP Message implementations",
+ "type": "library",
+ "license": "BSD-2-Clause",
+ "keywords": [
+ "http",
+ "psr",
+ "psr-7"
+ ],
+ "homepage": "https://github.com/zendframework/zend-diactoros",
+ "support": {
+ "issues": "https://github.com/zendframework/zend-diactoros/issues",
+ "source": "https://github.com/zendframework/zend-diactoros"
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.3-dev",
+ "dev-develop": "1.4-dev"
+ }
+ },
+ "require": {
+ "php": "^5.4 || ^7.0",
+ "psr/http-message": "~1.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.6 || ^5.5",
+ "squizlabs/php_codesniffer": "^2.3.1"
+ },
+ "provide": {
+ "psr/http-message-implementation": "~1.0.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "Zend\\Diactoros\\": "src/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "ZendTest\\Diactoros\\": "test/"
+ },
+ "files": [
+ "test/TestAsset/Functions.php",
+ "test/TestAsset/SapiResponse.php"
+ ]
+ },
+ "scripts": {
+ "check": [
+ "@cs",
+ "@test"
+ ],
+ "coveralls": "coveralls",
+ "cs": "phpcs",
+ "cs-fix": "phpcbf",
+ "test": "phpunit",
+ "test-coverage": "phpunit --coverage-clover clover.xml"
+ }
+}
diff --git a/php-zendframework-zend-diactoros.spec b/php-zendframework-zend-diactoros.spec
index 75f6a36..522f558 100644
--- a/php-zendframework-zend-diactoros.spec
+++ b/php-zendframework-zend-diactoros.spec
@@ -12,8 +12,8 @@
%global github_owner zendframework
%global github_name zend-diactoros
-%global github_version 1.3.5
-%global github_commit b1d59735b672865dbeb930805029c24f226e3e77
+%global github_version 1.3.6
+%global github_commit a60da179c37f2c4e44ef734d0b92824a58943f7f
%global github_short %(c=%{github_commit}; echo ${c:0:7})
%global composer_vendor zendframework
@@ -153,11 +153,22 @@ require_once __DIR__ . '/test/TestAsset/Functions.php';
require_once __DIR__ . '/test/TestAsset/SapiResponse.php';
BOOTSTRAP
+# remirepo:11
+run=0
+ret=0
+if which php56; then
+ php56 %{_bindir}/phpunit --bootstrap ./bootstrap.php
+ run=1
+fi
+if which php71; then
+ php71 %{_bindir}/phpunit --bootstrap ./bootstrap.php
+ run=1
+fi
+if [ $run -eq 0 ]; then
%{_bindir}/phpunit --verbose --bootstrap ./bootstrap.php
-
-if which php70; then
- php70 %{_bindir}/phpunit --verbose --bootstrap ./bootstrap.php
+# remirepo:2
fi
+exit $ret
%else
: Tests skipped
%endif
@@ -178,6 +189,9 @@ rm -rf %{buildroot}
%changelog
+* Thu Sep 8 2016 Remi Collet <remi@remirepo.net> - 1.3.6-1
+- update to 1.3.6
+
* Wed Apr 6 2016 Remi Collet <remi@remirepo.net> - 1.3.5-1
- update to 1.3.5