diff --git a/Dockerfile b/Dockerfile index 9ffd8a8..e8ddaf8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,6 @@ WORKDIR ${dir} USER app -RUN composer require jwplayer/jwplatform:* +RUN composer require jwplayer/jwplatform CMD [ "php", "examples/upload_video.php" ] diff --git a/composer.json b/composer.json index 0fc3b3b..dafdac8 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,7 @@ "name": "jwplayer/jwplatform", "type": "library", "description": "Official JW Player PHP API Adapter", + "version": "v1.6.2", "keywords": [ "jwplayer", "jwplatform", @@ -11,7 +12,6 @@ "minimum-stability": "dev", "prefer-stable": true, "homepage": "https://developer.jwplayer.com/jw-platform/", - "version": "v1.6.1", "license": "MIT", "authors": [ { @@ -23,9 +23,12 @@ "php": ">=5.6.0", "ext-curl": "*" }, + "config": { + "optimize-autoloader": true + }, "autoload": { "psr-4": { - "Jwplayer\\": "src" + "Jwplayer\\": "src/" } } } diff --git a/src/Client.php b/src/Client.php index d5620f8..3256cd4 100644 --- a/src/Client.php +++ b/src/Client.php @@ -3,7 +3,7 @@ namespace Jwplayer; class JwplatformAPI { - private $_version = '1.6.1'; + private $_version = '1.6.2'; private $_url = 'https://api.jwplatform.com/v1'; private $_library;