Skip to content

Commit 424b302

Browse files
committed
Stable Version 2.0.3
1 parent 1ef9d22 commit 424b302

File tree

4 files changed

+17
-19
lines changed

4 files changed

+17
-19
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
##### 2.0.3 - 13 October 2015
2+
3+
###### Backwards compatible bug fixes
4+
- #13, #14 - Using `where` in a query without an operator breaks by @internalfx
5+
16
##### 2.0.2 - 09 September 2015
27

38
###### Backwards compatible bug fixes

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ RethinkDB adapter for [js-data](http://www.js-data.io/).
1414

1515
__Latest Release:__ [![Latest Release](https://img.shields.io/github/release/js-data/js-data-rethinkdb.svg?style=flat-square)](https://github.com/js-data/js-data-rethinkdb/releases)
1616

17-
__Status:__
18-
19-
[![Dependency Status](https://img.shields.io/gemnasium/js-data/js-data-rethinkdb.svg?style=flat-square)](https://gemnasium.com/js-data/js-data-rethinkdb) [![Codacity](https://img.shields.io/codacy/69206fcb0df6462ca559610af32fd1fb.svg?style=flat-square)](https://www.codacy.com/public/jasondobry/js-data-rethinkdb/dashboard)
20-
21-
__Supported Platforms:__
22-
23-
[![node version](https://img.shields.io/badge/Node-0.10%2B-green.svg?style=flat-square)](https://github.com/js-data/js-data)
24-
2517
### Quick Start
2618
`npm install --save js-data js-data-rethinkdb`.
2719

dist/js-data-rethinkdb.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,7 @@ module.exports =
129129
var subQuery = undefined;
130130
forOwn(params.where, function (criteria, field) {
131131
if (!isObject(criteria)) {
132-
params.where[field] = {
133-
'==': criteria
134-
};
132+
criteria = { '==': criteria };
135133
}
136134
forOwn(criteria, function (v, op) {
137135
if (op === '==' || op === '===') {

package.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-data-rethinkdb",
33
"description": "RethinkDB adapter for js-data.",
4-
"version": "2.0.2",
4+
"version": "2.0.3",
55
"homepage": "http://www.js-data.io/docs/dsrethinkdbadapter",
66
"repository": {
77
"type": "git",
@@ -28,11 +28,11 @@
2828
"reql"
2929
],
3030
"devDependencies": {
31-
"babel-core": "5.8.23",
32-
"babel-eslint": "4.1.1",
31+
"babel-core": "5.8.25",
32+
"babel-eslint": "4.1.3",
3333
"babel-loader": "5.3.2",
34-
"bluebird": "2.10.0",
35-
"chai": "3.2.0",
34+
"bluebird": "2.10.2",
35+
"chai": "3.3.0",
3636
"grunt": "0.4.5",
3737
"grunt-contrib-watch": "0.6.1",
3838
"grunt-karma-coveralls": "2.5.4",
@@ -41,10 +41,13 @@
4141
"jit-grunt": "0.9.1",
4242
"jshint": "2.8.0",
4343
"jshint-loader": "0.8.3",
44-
"sinon": "1.16.1",
45-
"standard": "5.2.2",
44+
"sinon": "1.17.1",
45+
"standard": "5.3.1",
4646
"time-grunt": "1.2.1",
47-
"webpack-dev-server": "1.10.1"
47+
"webpack-dev-server": "1.12.0"
48+
},
49+
"standard": {
50+
"parser": "babel-eslint"
4851
},
4952
"scripts": {
5053
"test": "grunt test"

0 commit comments

Comments
 (0)