Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

BUMP 1.0.1

  • Loading branch information...
commit 7d9a882e681de549d74ee9c5d1c9f3ad4bee0c4b 1 parent 8ccdb51
authored November 19, 2009
2  README.rdoc
Source Rendered
@@ -17,7 +17,7 @@ See http://www.mongodb.org/display/DOCS/PHP+Language+Center for information on c
17 17
 
18 18
 = Documentation
19 19
 
20  
-See http://us2.php.net/manual/en/book.mongo.php
  20
+See http://us.php.net/manual/en/book.mongo.php
21 21
 
22 22
 = Testing
23 23
 
4  mongo.c
@@ -414,7 +414,7 @@ void mongo_init_Mongo(TSRMLS_D) {
414 414
 
415 415
   zend_declare_class_constant_string(mongo_ce_Mongo, "DEFAULT_HOST", strlen("DEFAULT_HOST"), MonGlo(default_host) TSRMLS_CC);
416 416
   zend_declare_class_constant_long(mongo_ce_Mongo, "DEFAULT_PORT", strlen("DEFAULT_PORT"), MonGlo(default_port) TSRMLS_CC);
417  
-  zend_declare_class_constant_string(mongo_ce_Mongo, "VERSION", strlen("VERSION"), "1.0.0+" TSRMLS_CC);
  417
+  zend_declare_class_constant_string(mongo_ce_Mongo, "VERSION", strlen("VERSION"), "1.0.1" TSRMLS_CC);
418 418
 
419 419
   zend_declare_property_bool(mongo_ce_Mongo, "connected", strlen("connected"), 0, ZEND_ACC_PUBLIC TSRMLS_CC);
420 420
 
@@ -1292,7 +1292,7 @@ int php_mongo_get_reply(mongo_cursor *cursor, zval *errmsg TSRMLS_DC) {
1292 1292
     return FAILURE;
1293 1293
   }
1294 1294
 
1295  
-  cursor_ptr = &temp_id;
  1295
+  cursor_ptr = (char*)&temp_id;
1296 1296
   mongo_memcpy(cursor_ptr, &cursor->cursor_id, INT_64);
1297 1297
   cursor->cursor_id = temp_id;
1298 1298
 
38  package.xml
@@ -13,11 +13,11 @@
13 13
    <email>kristina@10gen.com</email>
14 14
    <active>yes</active>
15 15
  </lead>
16  
- <date>2009-09-29</date>
  16
+ <date>2009-11-19</date>
17 17
  <time>12:00:00</time>
18 18
  <version>
19  
-   <release>1.0.0</release>
20  
-   <api>1.0.0</api>
  19
+   <release>1.0.1</release>
  20
+   <api>1.0.1</api>
21 21
  </version>
22 22
  <stability>
23 23
    <release>stable</release>
@@ -25,9 +25,14 @@
25 25
  </stability>
26 26
  <license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache License</license>
27 27
  <notes>
28  
-   Safe insert
29  
-   Configurable special character
30  
-   Error methods are on MongoDB, not Mongo
  28
+  Big-endian support
  29
+  MongoCollection::update can affect multiple documents
  30
+  MongoCursor::count uses limit and skip, optionally
  31
+  MongoDBRef supports $db
  32
+  MongoMinKey and MongoMax Key
  33
+  Cursor::immortal
  34
+  Constants for binary types
  35
+  MongoDB::authenticate
31 36
  </notes>
32 37
  <contents>
33 38
    <dir baseinstalldir="/" name="/">
@@ -68,6 +73,27 @@
68 73
        <api>stable</api>
69 74
      </stability>
70 75
      <version>
  76
+       <release>1.0.1</release>
  77
+       <api>1.0.1</api>
  78
+     </version>
  79
+     <date>2009-11-19</date>
  80
+     <notes>
  81
+       Big-endian support
  82
+       MongoCollection::update can affect multiple documents
  83
+       MongoCursor::count uses limit and skip, optionally
  84
+       MongoDBRef supports $db
  85
+       MongoMinKey and MongoMax Key
  86
+       Cursor::immortal
  87
+       Constants for binary types
  88
+       MongoDB::authenticate
  89
+     </notes>
  90
+   </release>
  91
+   <release>
  92
+     <stability>
  93
+       <release>stable</release>
  94
+       <api>stable</api>
  95
+     </stability>
  96
+     <version>
71 97
        <release>1.0.0</release>
72 98
        <api>1.0.0</api>
73 99
      </version>
2  tests/MongoTest.php
@@ -8,7 +8,7 @@
8 8
 class MongoTest extends PHPUnit_Framework_TestCase
9 9
 {
10 10
     public function testVersion() {
11  
-        $this->assertEquals("1.0.0+", Mongo::VERSION);
  11
+        $this->assertEquals("1.0.1", Mongo::VERSION);
12 12
     }
13 13
 
14 14
     /**

0 notes on commit 7d9a882

Please sign in to comment.
Something went wrong with that request. Please try again.