Awight has submitted this change and it was merged.

Change subject: Actually update php-queue library
......................................................................


Actually update php-queue library

Change-Id: I5cf837d7918f713b35f511efa035c90617934f90
---
M coderkungfu/php-queue/src/PHPQueue/Backend/Predis.php
M composer/installed.json
2 files changed, 56 insertions(+), 56 deletions(-)

Approvals:
  Awight: Verified; Looks good to me, approved



diff --git a/coderkungfu/php-queue/src/PHPQueue/Backend/Predis.php 
b/coderkungfu/php-queue/src/PHPQueue/Backend/Predis.php
index 63d0c22..d4794c8 100644
--- a/coderkungfu/php-queue/src/PHPQueue/Backend/Predis.php
+++ b/coderkungfu/php-queue/src/PHPQueue/Backend/Predis.php
@@ -133,7 +133,7 @@
             $order_key = $this->order_key;
             $this->getConnection()->transaction($options, function ($tx) use 
($order_key, &$data) {
                 // Look up the first element in the FIFO ordering.
-                $values = $tx->zrange(self::FIFO_INDEX, 0, 0);
+                $values = $tx->zrange(Predis::FIFO_INDEX, 0, 0);
                 if ($values) {
                     // Use that value as a key into the key-value block, to 
get the data.
                     $key = $values[0];
@@ -143,7 +143,7 @@
                     $tx->multi();
 
                     // Remove from both indexes.
-                    $tx->zrem(self::FIFO_INDEX, $key);
+                    $tx->zrem(Predis::FIFO_INDEX, $key);
                     $tx->del($key);
                 }
             });
@@ -238,7 +238,7 @@
         $expiry = $this->expiry;
         $this->getConnection()->transaction($options, function ($tx) use 
($key, $score, $encoded_data, $expiry, &$status) {
             $tx->multi();
-            $tx->zadd(self::FIFO_INDEX, $score, $key);
+            $tx->zadd(Predis::FIFO_INDEX, $score, $key);
             if ($expiry) {
                 $status = $tx->setex($key, $expiry, $encoded_data);
             } else {
diff --git a/composer/installed.json b/composer/installed.json
index d380285..ac65893 100644
--- a/composer/installed.json
+++ b/composer/installed.json
@@ -257,13 +257,65 @@
         ]
     },
     {
+        "name": "predis/predis",
+        "version": "v1.0.1",
+        "version_normalized": "1.0.1.0",
+        "source": {
+            "type": "git",
+            "url": "https://github.com/nrk/predis.git";,
+            "reference": "7a170b3d8123c556597b4fbdb88631f99de180c2"
+        },
+        "dist": {
+            "type": "zip",
+            "url": 
"https://api.github.com/repos/nrk/predis/zipball/7a170b3d8123c556597b4fbdb88631f99de180c2";,
+            "reference": "7a170b3d8123c556597b4fbdb88631f99de180c2",
+            "shasum": ""
+        },
+        "require": {
+            "php": ">=5.3.2"
+        },
+        "require-dev": {
+            "phpunit/phpunit": "~4.0"
+        },
+        "suggest": {
+            "ext-curl": "Allows access to Webdis when paired with phpiredis",
+            "ext-phpiredis": "Allows faster serialization and deserialization 
of the Redis protocol"
+        },
+        "time": "2015-01-02 12:51:34",
+        "type": "library",
+        "installation-source": "dist",
+        "autoload": {
+            "psr-4": {
+                "Predis\\": "src/"
+            }
+        },
+        "notification-url": "https://packagist.org/downloads/";,
+        "license": [
+            "MIT"
+        ],
+        "authors": [
+            {
+                "name": "Daniele Alessandri",
+                "email": "[email protected]",
+                "homepage": "http://clorophilla.net";
+            }
+        ],
+        "description": "Flexible and feature-complete PHP client library for 
Redis",
+        "homepage": "http://github.com/nrk/predis";,
+        "keywords": [
+            "nosql",
+            "predis",
+            "redis"
+        ]
+    },
+    {
         "name": "coderkungfu/php-queue",
         "version": "dev-master",
         "version_normalized": "9999999-dev",
         "source": {
             "type": "git",
             "url": 
"https://gerrit.wikimedia.org/r/p/wikimedia/fundraising/php-queue.git";,
-            "reference": "da00b03c229b4437b5cb69427b8e5b9adbffaa3f"
+            "reference": "0f0c0c82a77168b2c0c88fa58b9ce11f839cb58a"
         },
         "require": {
             "clio/clio": "@stable",
@@ -318,58 +370,6 @@
         "keywords": [
             "queue",
             "transaction"
-        ]
-    },
-    {
-        "name": "predis/predis",
-        "version": "v1.0.1",
-        "version_normalized": "1.0.1.0",
-        "source": {
-            "type": "git",
-            "url": "https://github.com/nrk/predis.git";,
-            "reference": "7a170b3d8123c556597b4fbdb88631f99de180c2"
-        },
-        "dist": {
-            "type": "zip",
-            "url": 
"https://api.github.com/repos/nrk/predis/zipball/7a170b3d8123c556597b4fbdb88631f99de180c2";,
-            "reference": "7a170b3d8123c556597b4fbdb88631f99de180c2",
-            "shasum": ""
-        },
-        "require": {
-            "php": ">=5.3.2"
-        },
-        "require-dev": {
-            "phpunit/phpunit": "~4.0"
-        },
-        "suggest": {
-            "ext-curl": "Allows access to Webdis when paired with phpiredis",
-            "ext-phpiredis": "Allows faster serialization and deserialization 
of the Redis protocol"
-        },
-        "time": "2015-01-02 12:51:34",
-        "type": "library",
-        "installation-source": "dist",
-        "autoload": {
-            "psr-4": {
-                "Predis\\": "src/"
-            }
-        },
-        "notification-url": "https://packagist.org/downloads/";,
-        "license": [
-            "MIT"
-        ],
-        "authors": [
-            {
-                "name": "Daniele Alessandri",
-                "email": "[email protected]",
-                "homepage": "http://clorophilla.net";
-            }
-        ],
-        "description": "Flexible and feature-complete PHP client library for 
Redis",
-        "homepage": "http://github.com/nrk/predis";,
-        "keywords": [
-            "nosql",
-            "predis",
-            "redis"
         ]
     }
 ]

-- 
To view, visit https://gerrit.wikimedia.org/r/228169
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5cf837d7918f713b35f511efa035c90617934f90
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface/vendor
Gerrit-Branch: master
Gerrit-Owner: Awight <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to