Skip to content

Commit 6692615

Browse files
committed
Style and formatting changes
Update CHANGES.TXT and fix minor alignment issue in test_column_types.
1 parent 3c16492 commit 6692615

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

CHANGES.TXT

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
Version 0.3.0
22
-------------
33

4-
* Upgraded to latest version of Mongo C driver (0.96.4).
4+
* Upgraded to latest version of Mongo C driver (0.98.0).
55

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

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

1413
* Turned off debug messages by default.
1514

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

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

2021
Version 0.2.3
2122
-------------
@@ -54,9 +55,9 @@ Version 0.1.1
5455

5556
* Bugfix release for issue with ObjectIDs containing NULL bytes
5657
(ObjectIDs now use a 12-byte 'void' array type in numeric python.)
57-
58+
5859
* Support for int8, int16, int64, and float32 column types.
59-
60+
6061
* Basic tests for all column types (requires nosetests).
6162

6263
Version 0.1

test/test_column_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_bson_column():
137137
rawdata = get_monary_column("subdocumentval", "bson:%d" % size)
138138
data = ["".join(c for c in x.data.data) for x in rawdata]
139139
expected = ["".join(c for c in bson.BSON.encode(record))
140-
for record in get_record_values("subdocumentval")]
140+
for record in get_record_values("subdocumentval")]
141141
assert data == expected
142142

143143
def test_type_column():

0 commit comments

Comments
 (0)