Skip to content

Commit

Permalink
update package version
Browse files Browse the repository at this point in the history
  • Loading branch information
kofrasa committed May 19, 2016
1 parent bee0d58 commit eda61b2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 22 deletions.
22 changes: 8 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,23 @@ Changelog

Changes between releases are kept here beginning from v0.5.0

v0.6.3 / 2015-12-27
-------------------
## v0.6.4 / 2016-05-19
- Support matching against user-defined types. See [issue#22](https://github.com/kofrasa/mingo/issues/22)

## v0.6.3 / 2015-12-27
- Fixed numeric aggregation over undefined values. See [issues#21](https://github.com/kofrasa/mingo/issues/21)

v0.6.2 / 2015-11-17
-------------------
## v0.6.2 / 2015-11-17
- Fixed erroneous cloning of objects. See [issue#20](https://github.com/kofrasa/mingo/pull/20)


v0.6.1 / 2015-09-20
-------------------
## v0.6.1 / 2015-09-20
- Fixed matching nested array fields without specifying index. See [issue#19](https://github.com/kofrasa/mingo/issues/19)
- Added `VERSION` global field


v0.6.0 / 2015-05-28
-------------------
## v0.6.0 / 2015-05-28
- Added `$dateToString` aggregation operator


v0.5.0 / 2015-04-29
-------------------

## v0.5.0 / 2015-04-29
- Added support for extending operators via `Mingo.addOperators`
- Added `bower.json`
- Fixed grouping documents by an object key
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mingo",
"main": "mingo.js",
"version": "0.6.3",
"version": "0.6.4",
"homepage": "https://github.com/kofrasa/mingo",
"authors": [
"Francis Asante <[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions mingo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Mingo.js 0.6.3
// Copyright (c) 2015 Francis Asante <[email protected]>
// Mingo.js 0.6.4
// Copyright (c) 2016 Francis Asante <[email protected]>
// MIT

;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mingo",
"version": "0.6.3",
"version": "0.6.4",
"description": "JavaScript implementation of MongoDB query language",
"main": "mingo.js",
"directories": {
Expand Down
7 changes: 3 additions & 4 deletions test/queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ function ObjectId(id) {
this.id = id
}

var objectIdFirst = new ObjectId(100);
var objectIdSecond = new ObjectId(100);
var objectId = new ObjectId(100);

var obj = {
_id: objectIdFirst,
_id: objectId,
firstName: "Francis",
lastName: "Asante",
username: "kofrasa",
Expand Down Expand Up @@ -50,7 +49,7 @@ var obj = {
test('Comparison, Evaluation, and Element Operators', function (t) {
t.plan(25);
var queries = [
[{_id: objectIdSecond}, "can match against user-defined type"],
[{_id: objectId}, "can match against user-defined types"],
[{firstName: "Francis"}, "can check for equality with $eq"],
[{lastName: /^a.+e/i}, "can check against regex with literal"],
[{lastName: {$regex: "a.+e", $options: "i"}}, "can check against regex with $regex operator"],
Expand Down

0 comments on commit eda61b2

Please sign in to comment.