From 4f0f266ad3cc9d64e2241a625e9817facee7a273 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sun, 6 Mar 2016 18:10:22 +0100 Subject: [PATCH] Make sure discovery can find the curl client --- .gitignore | 1 - composer.json | 6 +++--- puli.json | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 puli.json diff --git a/.gitignore b/.gitignore index df9e8fe..396c451 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,3 @@ build/ vendor/ composer.lock phpunit.xml -puli.json diff --git a/composer.json b/composer.json index f9a5d5a..21afc9a 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "prefer-stable": true, - "minimum-stability": "dev", + "minimum-stability": "beta", "require": { "php": ">=5.5", "ext-curl": "*", @@ -21,10 +21,10 @@ "require-dev": { "guzzlehttp/psr7": "^1.0", "php-http/adapter-integration-tests": "dev-master#836cdff8294174cceeae54601ab4079c309227b7", - "php-http/message": "^1.0", + "php-http/message": "^1.0.2", "php-http/discovery": "~0.8.0", "phpunit/phpunit": "^4.8", - "puli/composer-plugin": "^1.0", + "puli/composer-plugin": "1.0.0-beta9", "zendframework/zend-diactoros": "^1.0" }, "autoload": { diff --git a/puli.json b/puli.json new file mode 100644 index 0000000..42d0a7e --- /dev/null +++ b/puli.json @@ -0,0 +1,16 @@ +{ + "version": "1.0", + "name": "php-http/curl-client", + "bindings": { + "98239b8b-103b-4f47-94c7-4cba49a05a1f": { + "_class": "Puli\\Discovery\\Binding\\ClassBinding", + "class": "Http\\Client\\Curl\\Client", + "type": "Http\\Client\\HttpAsyncClient" + }, + "a6a79968-2aa5-427c-bbe1-a581d9a48321": { + "_class": "Puli\\Discovery\\Binding\\ClassBinding", + "class": "Http\\Client\\Curl\\Client", + "type": "Http\\Client\\HttpClient" + } + } +}