Update PicoFeed
This commit is contained in:
parent
475c71d107
commit
709317f23d
@ -6,7 +6,7 @@
|
|||||||
"fguillot/simple-validator": "v0.0.3",
|
"fguillot/simple-validator": "v0.0.3",
|
||||||
"fguillot/json-rpc": "v0.0.3",
|
"fguillot/json-rpc": "v0.0.3",
|
||||||
"fguillot/picodb": "v0.0.3",
|
"fguillot/picodb": "v0.0.3",
|
||||||
"fguillot/picofeed": "v0.1.7",
|
"fguillot/picofeed": "v0.1.8",
|
||||||
"fguillot/picofarad": "dev-master"
|
"fguillot/picofarad": "dev-master"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
12
vendor/composer/installed.json
vendored
12
vendor/composer/installed.json
vendored
@ -156,17 +156,17 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "fguillot/picofeed",
|
"name": "fguillot/picofeed",
|
||||||
"version": "v0.1.7",
|
"version": "v0.1.8",
|
||||||
"version_normalized": "0.1.7.0",
|
"version_normalized": "0.1.8.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/fguillot/picoFeed.git",
|
"url": "https://github.com/fguillot/picoFeed.git",
|
||||||
"reference": "8ed3f1a9f777938611645d523ddc707a7cd0e7d7"
|
"reference": "a6d01a62514530dea91b2c8da5e194d680e1d91b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/8ed3f1a9f777938611645d523ddc707a7cd0e7d7",
|
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/a6d01a62514530dea91b2c8da5e194d680e1d91b",
|
||||||
"reference": "8ed3f1a9f777938611645d523ddc707a7cd0e7d7",
|
"reference": "a6d01a62514530dea91b2c8da5e194d680e1d91b",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -180,7 +180,7 @@
|
|||||||
"suggest": {
|
"suggest": {
|
||||||
"ext-curl": "PicoFeed will use cURL if present"
|
"ext-curl": "PicoFeed will use cURL if present"
|
||||||
},
|
},
|
||||||
"time": "2015-08-02 17:56:46",
|
"time": "2015-08-13 23:56:50",
|
||||||
"bin": [
|
"bin": [
|
||||||
"picofeed"
|
"picofeed"
|
||||||
],
|
],
|
||||||
|
@ -5,7 +5,6 @@ return array(
|
|||||||
'test_url' => 'http://explosm.net/comics/3803/',
|
'test_url' => 'http://explosm.net/comics/3803/',
|
||||||
'body' => array(
|
'body' => array(
|
||||||
'//div[@id="comic-container"]',
|
'//div[@id="comic-container"]',
|
||||||
'//div[@id="comic-container"]//img/@src'
|
|
||||||
),
|
),
|
||||||
'strip' => array(
|
'strip' => array(
|
||||||
),
|
),
|
||||||
|
@ -47,8 +47,8 @@ class CurlTest extends PHPUnit_Framework_TestCase
|
|||||||
$this->assertTrue(is_array($result));
|
$this->assertTrue(is_array($result));
|
||||||
$this->assertEquals(200, $result['status']);
|
$this->assertEquals(200, $result['status']);
|
||||||
$this->assertEquals('<!DOCTYPE', substr($result['body'], 0, 9));
|
$this->assertEquals('<!DOCTYPE', substr($result['body'], 0, 9));
|
||||||
$this->assertEquals('text/html', $result['headers']['Content-Type']);
|
$this->assertEquals('text/html; charset=utf-8', $result['headers']['Content-Type']);
|
||||||
$this->assertEquals('http://www.01net.com/editorial/643722/android-google-now-s-ouvre-aux-applications-tierces/', str_replace('#?xtor=RSS-16', '', $client->getUrl()));
|
$this->assertEquals('http://www.01net.com/actualites/android-google-now-s-ouvre-aux-applications-tierces-643722.html', $client->getUrl());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -59,8 +59,8 @@ class StreamTest extends PHPUnit_Framework_TestCase
|
|||||||
$this->assertTrue(is_array($result));
|
$this->assertTrue(is_array($result));
|
||||||
$this->assertEquals(200, $result['status']);
|
$this->assertEquals(200, $result['status']);
|
||||||
$this->assertEquals('<!DOCTYPE', substr($result['body'], 0, 9));
|
$this->assertEquals('<!DOCTYPE', substr($result['body'], 0, 9));
|
||||||
$this->assertEquals('text/html', $result['headers']['Content-Type']);
|
$this->assertEquals('text/html; charset=utf-8', $result['headers']['Content-Type']);
|
||||||
$this->assertEquals('http://www.01net.com/editorial/643722/android-google-now-s-ouvre-aux-applications-tierces/#?xtor=RSS-16', $client->getUrl());
|
$this->assertEquals('http://www.01net.com/actualites/android-google-now-s-ouvre-aux-applications-tierces-643722.html', $client->getUrl());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user