Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

failsafe loading for IronCore; version bump;

  • Loading branch information...
commit 97dd9d6eae9c20c3c874c164bd96454fd1cb1228 1 parent 89502ec
@thousandsofthem thousandsofthem authored
Showing with 6 additions and 4 deletions.
  1. +3 −3 IronMQ.class.php
  2. +3 −1 build.php
  3. BIN  iron_mq.phar
View
6 IronMQ.class.php
@@ -6,7 +6,7 @@
* @link https://github.com/iron-io/iron_mq_php
* @link http://www.iron.io/products/mq
* @link http://dev.iron.io/
- * @version 1.1.3
+ * @version 1.2.0
* @package IronMQPHP
* @copyright Feel free to copy, steal, take credit for, or whatever you feel like doing with this code. ;)
*/
@@ -119,9 +119,9 @@ public function asArray() {
}
}
-class IronMQ extends IronCore{
+class IronMQ extends IronCore {
- protected $client_version = '1.1.3';
+ protected $client_version = '1.2.0';
protected $client_name = 'iron_mq_php';
protected $product_name = 'iron_mq';
protected $default_values = array(
View
4 build.php
@@ -14,7 +14,9 @@
# Loader
$phar->setStub('<?php
Phar::mapPhar("iron_mq.phar");
-require "phar://iron_mq.phar/IronCore.class.php";
+if (!class_exists("IronCore")){
+ require "phar://iron_mq.phar/IronCore.class.php";
+}
require "phar://iron_mq.phar/IronMQ.class.php";
__HALT_COMPILER(); ?>');
View
BIN  iron_mq.phar
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.