Skip to content

Commit

Permalink
Style and formatting changes
Browse files Browse the repository at this point in the history
Update CHANGES.TXT and fix minor alignment issue in test_column_types.
  • Loading branch information
ksuarz committed Jul 21, 2014
1 parent 3c16492 commit 6692615
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions CHANGES.TXT
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
Version 0.3.0
-------------

* Upgraded to latest version of Mongo C driver (0.96.4).
* Upgraded to latest version of Mongo C driver (0.98.0).

* monary_connect() now takes a MongoDB URI or a hostname and
port. (See http://docs.mongodb.org/manual/reference/connection-string/
for more information.)

* cmonary.c can now upcast or downcast to and from any integer or
floating-point type retrieved from MongoDB.
More detail
* cmonary.c can now freely cast between all integer and floating-type
values.

* Turned off debug messages by default.

* datehelper.py now allows negative timedeltas and times before the epoch

* Removed the authenticate() method, this is a _breaking change_.
* Removed the authenticate() method: this is a breaking change. If your code
relied on authenticate(), you must now include the username and password
in the MongoDB URI passed into the Monary constructor.

Version 0.2.3
-------------
Expand Down Expand Up @@ -54,9 +55,9 @@ Version 0.1.1

* Bugfix release for issue with ObjectIDs containing NULL bytes
(ObjectIDs now use a 12-byte 'void' array type in numeric python.)

* Support for int8, int16, int64, and float32 column types.

* Basic tests for all column types (requires nosetests).

Version 0.1
Expand Down
2 changes: 1 addition & 1 deletion test/test_column_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def test_bson_column():
rawdata = get_monary_column("subdocumentval", "bson:%d" % size)
data = ["".join(c for c in x.data.data) for x in rawdata]
expected = ["".join(c for c in bson.BSON.encode(record))
for record in get_record_values("subdocumentval")]
for record in get_record_values("subdocumentval")]
assert data == expected

def test_type_column():
Expand Down

0 comments on commit 6692615

Please sign in to comment.