Update PicoFeed

This commit is contained in:
Frederic Guillot 2015-04-11 09:40:09 -04:00
parent dd47b7ae48
commit b1ded7ff7c
5 changed files with 14 additions and 20 deletions

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer' . '/autoload_real.php'; require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInitfa142d3c582de229e6ed8fd200703820::getLoader(); return ComposerAutoloaderInitf813f763f87d109605f7c55600b459d5::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInitfa142d3c582de229e6ed8fd200703820 class ComposerAutoloaderInitf813f763f87d109605f7c55600b459d5
{ {
private static $loader; private static $loader;
@ -19,9 +19,9 @@ class ComposerAutoloaderInitfa142d3c582de229e6ed8fd200703820
return self::$loader; return self::$loader;
} }
spl_autoload_register(array('ComposerAutoloaderInitfa142d3c582de229e6ed8fd200703820', 'loadClassLoader'), true, true); spl_autoload_register(array('ComposerAutoloaderInitf813f763f87d109605f7c55600b459d5', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(); self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitfa142d3c582de229e6ed8fd200703820', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInitf813f763f87d109605f7c55600b459d5', 'loadClassLoader'));
$map = require __DIR__ . '/autoload_namespaces.php'; $map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) { foreach ($map as $namespace => $path) {
@ -42,14 +42,14 @@ class ComposerAutoloaderInitfa142d3c582de229e6ed8fd200703820
$includeFiles = require __DIR__ . '/autoload_files.php'; $includeFiles = require __DIR__ . '/autoload_files.php';
foreach ($includeFiles as $file) { foreach ($includeFiles as $file) {
composerRequirefa142d3c582de229e6ed8fd200703820($file); composerRequiref813f763f87d109605f7c55600b459d5($file);
} }
return $loader; return $loader;
} }
} }
function composerRequirefa142d3c582de229e6ed8fd200703820($file) function composerRequiref813f763f87d109605f7c55600b459d5($file)
{ {
require $file; require $file;
} }

View File

@ -162,12 +162,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fguillot/picoFeed.git", "url": "https://github.com/fguillot/picoFeed.git",
"reference": "3a0dce6bd3a62566c5f8414f7884f959753762f7" "reference": "273c344b35b468b6c8053f635332c3a404f8c7b9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/3a0dce6bd3a62566c5f8414f7884f959753762f7", "url": "https://api.github.com/repos/fguillot/picoFeed/zipball/273c344b35b468b6c8053f635332c3a404f8c7b9",
"reference": "3a0dce6bd3a62566c5f8414f7884f959753762f7", "reference": "273c344b35b468b6c8053f635332c3a404f8c7b9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -181,7 +181,7 @@
"suggest": { "suggest": {
"ext-curl": "PicoFeed will use cURL if present" "ext-curl": "PicoFeed will use cURL if present"
}, },
"time": "2015-04-10 23:28:18", "time": "2015-04-11 12:46:50",
"bin": [ "bin": [
"picofeed" "picofeed"
], ],

View File

@ -5,14 +5,7 @@ Versions
-------- --------
- Development version: master - Development version: master
- Available versions: - Stable version: v0.1.3
- v0.1.2 (stable)
- v0.1.1
- v0.1.0
- v0.0.2
- v0.0.1
Note: The public API has changed between 0.0.x and 0.1.0
Installation with Composer Installation with Composer
-------------------------- --------------------------
@ -22,7 +15,7 @@ Configure your `composer.json`:
```json ```json
{ {
"require": { "require": {
"fguillot/picofeed": "0.1.2" "fguillot/picofeed": "0.1.3"
} }
} }
``` ```
@ -30,7 +23,7 @@ Configure your `composer.json`:
Or simply: Or simply:
```bash ```bash
composer require fguillot/picofeed:0.1.2 composer require fguillot/picofeed:0.1.3
``` ```
And download the code: And download the code:

View File

@ -236,6 +236,7 @@ class Curl extends Client
curl_setopt($ch, CURLOPT_URL, $this->url); curl_setopt($ch, CURLOPT_URL, $this->url);
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $this->timeout); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $this->timeout);
curl_setopt($ch, CURLOPT_USERAGENT, $this->user_agent); curl_setopt($ch, CURLOPT_USERAGENT, $this->user_agent);
curl_setopt($ch, CURLOPT_HTTPHEADER, $this->prepareHeaders()); curl_setopt($ch, CURLOPT_HTTPHEADER, $this->prepareHeaders());