Skip to content

Commit 7673c4b

Browse files
author
Nathan Sutton
committed
Bump version to 2.2.1 and add docs
1 parent e03988c commit 7673c4b

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
Zencoder API PHP Library
22
==========================
33

4+
Author: [Nathan Sutton] (nsutton (a) brightcove (.) com)
5+
6+
Company: [Brightcove/Zencoder](http://www.zencoder.com)
7+
8+
Version: 0.2.1
9+
10+
Date: 2014-07-29
11+
12+
Repository: <http://github.com/zencoder/zencoder-php/>
13+
14+
To help address problems where users cannot modify php.ini to point cURL to their system CA bundle path, or are using a PHP release before 5.3.7, we have extended this library to allow users to set CURLOPT\_CAPATH and CURLOPT\_CAINFO on the cURL connection used to submit requests.
15+
16+
```php
17+
$zencoder = new Services_Zencoder($my_api_key, 'v2', 'https://app.zencoder.com', false, $my_curlopt_capath, $my_curlopt_cainfo);
18+
```
19+
20+
See also the constructor for `Services_Zencoder` for more information on the available arguments.
21+
22+
See [the cURL CA bundle extraction page](http://curl.haxx.se/docs/caextract.html) for information on obtaining a CA bundle. We recommend using the HTTPS link to download the CA bundle.
23+
24+
425
Author: [Zac Shenker] (zshenker (a) brightcove (.) c&#1;om)
526

627
Company: [Brightcove/Zencoder](http://www.zencoder.com)
@@ -220,6 +241,7 @@ Your [notifications page](https://app.zencoder.com/notifications) will come in h
220241
VERSIONS
221242
---------
222243

244+
Version 2.2.1 - 2014-07-29 Surrport setting CURLOPT_CAPATH and CURLOPT_CAINFO on cURL connections.
223245
Version 2.2.0 - 2014-07-24 Removing the bundled CA chain to address expiring intermediate certificate
224246
Version 2.1.1 - 2012-08-02 Fixing issue where jobs index call didn't return jobs as individual objects
225247
Version 2.1.0 - 2012-06-05 Adding support for job-level notifications & merging output with job in notification object

Services/Zencoder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @category Services
66
* @package Services_Zencoder
77
* @author Michael Christopher <m@zencoder.com>
8-
* @version Release: 2.2.0
8+
* @version Release: 2.2.1
99
* @license http://creativecommons.org/licenses/MIT/MIT
1010
* @link http://github.com/zencoder/zencoder-php
1111
* @access private
@@ -26,14 +26,14 @@ function Services_Zencoder_autoload($className)
2626
* @category Services
2727
* @package Services_Zencoder
2828
* @author Michael Christopher <m@zencoder.com>
29-
* @version Release: 2.2.0
29+
* @version Release: 2.2.1
3030
* @license http://creativecommons.org/licenses/MIT/MIT
3131
* @link http://github.com/zencoder/zencoder-php
3232
*/
3333

3434
class Services_Zencoder extends Services_Zencoder_Base
3535
{
36-
const USER_AGENT = 'ZencoderPHP v2.2.0';
36+
const USER_AGENT = 'ZencoderPHP v2.2.1';
3737

3838
/**
3939
* Contains the HTTP communication class

0 commit comments

Comments
 (0)