Browse Source

update p3k/http

pull/64/head
Aaron Parecki 6 years ago
parent
commit
1a14866999
No known key found for this signature in database GPG Key ID: 276C2817346D6056
3 changed files with 9 additions and 9 deletions
  1. +1
    -1
      composer.json
  2. +7
    -7
      composer.lock
  3. +1
    -1
      controllers/Parse.php

+ 1
- 1
composer.json View File

@ -10,7 +10,7 @@
"indieweb/link-rel-parser": "0.1.*", "indieweb/link-rel-parser": "0.1.*",
"dg/twitter-php": "3.6.*", "dg/twitter-php": "3.6.*",
"p3k/timezone": "*", "p3k/timezone": "*",
"p3k/http": "0.1.*",
"p3k/http": ">=0.1.7",
"cebe/markdown": "1.1.*", "cebe/markdown": "1.1.*",
"p3k/picofeed": ">=0.1.38", "p3k/picofeed": ">=0.1.38",
"facebook/graph-sdk": "^5.5" "facebook/graph-sdk": "^5.5"

+ 7
- 7
composer.lock View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "59d3e49509e8de79d4f07f04d2259a4c",
"content-hash": "0a104ee89f03db919f34d3a9d387380c",
"packages": [ "packages": [
{ {
"name": "cebe/markdown", "name": "cebe/markdown",
@ -316,21 +316,21 @@
}, },
{ {
"name": "p3k/http", "name": "p3k/http",
"version": "0.1.5",
"version": "0.1.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aaronpk/p3k-http.git", "url": "https://github.com/aaronpk/p3k-http.git",
"reference": "3740fe135e6d58457d7528e7c05a67b68e020a79"
"reference": "1826647c4902a18dea5ec532f21509ba4d51210b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aaronpk/p3k-http/zipball/3740fe135e6d58457d7528e7c05a67b68e020a79",
"reference": "3740fe135e6d58457d7528e7c05a67b68e020a79",
"url": "https://api.github.com/repos/aaronpk/p3k-http/zipball/1826647c4902a18dea5ec532f21509ba4d51210b",
"reference": "1826647c4902a18dea5ec532f21509ba4d51210b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"indieweb/link-rel-parser": "0.1.*", "indieweb/link-rel-parser": "0.1.*",
"mf2/mf2": "0.3.*"
"mf2/mf2": ">=0.3.2"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -350,7 +350,7 @@
], ],
"description": "A simple wrapper API around the PHP curl functions", "description": "A simple wrapper API around the PHP curl functions",
"homepage": "https://github.com/aaronpk/p3k-http", "homepage": "https://github.com/aaronpk/p3k-http",
"time": "2017-04-29T17:43:29+00:00"
"time": "2018-03-04T15:21:58+00:00"
}, },
{ {
"name": "p3k/picofeed", "name": "p3k/picofeed",

+ 1
- 1
controllers/Parse.php View File

@ -10,7 +10,7 @@ class Parse {
public $mc; public $mc;
private $_cacheTime = 120; private $_cacheTime = 120;
private $_pretty = false; private $_pretty = false;
private static $_version = '1.2.2';
private static $_version = '1.4.20';
public static function useragent() { public static function useragent() {
return 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 XRay/'.self::$_version.' ('.\Config::$base.')'; return 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 XRay/'.self::$_version.' ('.\Config::$base.')';

Loading…
Cancel
Save