update pharext
authorMichael Wallner <mike@php.net>
Thu, 3 Sep 2015 15:15:32 +0000 (17:15 +0200)
committerMichael Wallner <mike@php.net>
Thu, 3 Sep 2015 15:15:32 +0000 (17:15 +0200)
composer.lock
public/index.php

index 5a09ce9d104105eb2918257008785b3dc1fcc954..1d6acef4fecf81616969117d720634ec99450493 100644 (file)
@@ -1,7 +1,7 @@
 {
     "_readme": [
         "This file locks the dependencies of your project to a known state",
 {
     "_readme": [
         "This file locks the dependencies of your project to a known state",
-        "Read more about it at http://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"
     ],
     "hash": "6536f75724f1b6738b441c05cd7d65e5",
         "This file is @generated automatically"
     ],
     "hash": "6536f75724f1b6738b441c05cd7d65e5",
         },
         {
             "name": "m6w6/pharext",
         },
         {
             "name": "m6w6/pharext",
-            "version": "v4.0.0",
+            "version": "v4.1.1",
             "source": {
                 "type": "git",
                 "url": "https://github.com/m6w6/pharext.git",
             "source": {
                 "type": "git",
                 "url": "https://github.com/m6w6/pharext.git",
-                "reference": "d017df1dcb270773804bbed4628397a9c7df30c4"
+                "reference": "03f7c23b5401098e1c157cc0d36628dc449901ea"
             },
             "dist": {
                 "type": "zip",
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/m6w6/pharext/zipball/d017df1dcb270773804bbed4628397a9c7df30c4",
-                "reference": "d017df1dcb270773804bbed4628397a9c7df30c4",
+                "url": "https://api.github.com/repos/m6w6/pharext/zipball/03f7c23b5401098e1c157cc0d36628dc449901ea",
+                "reference": "03f7c23b5401098e1c157cc0d36628dc449901ea",
                 "shasum": ""
             },
             "bin": [
                 "bin/pharext",
                 "shasum": ""
             },
             "bin": [
                 "bin/pharext",
-                "bin/pharext.pubkey"
+                "bin/pharext.pubkey",
+                "bin/pharext.update",
+                "bin/pharext.update.pubkey"
             ],
             "type": "project",
             ],
             "type": "project",
+            "autoload": {
+                "psr-0": {
+                    "pharext": "src"
+                }
+            },
             "notification-url": "https://packagist.org/downloads/",
             "license": [
                 "BSD-2-Clause"
             "notification-url": "https://packagist.org/downloads/",
             "license": [
                 "BSD-2-Clause"
@@ -80,7 +87,7 @@
                 "package",
                 "phar"
             ],
                 "package",
                 "phar"
             ],
-            "time": "2015-05-20 06:39:24"
+            "time": "2015-09-03 15:12:31"
         }
     ],
     "packages-dev": [],
         }
     ],
     "packages-dev": [],
index d557aa7450a0ec0b75d71a42f82e3b0af93db904..639f1e2238881cd05222a21964538ad4c87051d3 100644 (file)
 
                                                        $time = time();
                                                        $dsec = 86400;
 
                                                        $time = time();
                                                        $dsec = 86400;
-                                                       $lmod = filemtime($phar);
+                                                       $lmod = isset($meta["date"]) ? strtotime($meta["date"]) : filemtime($phar);
                                                        $days = [1 => "today", "yesterday"];
                                                        do {
                                                                for ($i = 1; $i < 7; ++$i) {
                                                        $days = [1 => "today", "yesterday"];
                                                        do {
                                                                for ($i = 1; $i < 7; ++$i) {