File tree Expand file tree Collapse file tree 4 files changed +17
-19
lines changed Expand file tree Collapse file tree 4 files changed +17
-19
lines changed Original file line number Diff line number Diff line change
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
+
1
6
##### 2.0.2 - 09 September 2015
2
7
3
8
###### Backwards compatible bug fixes
Original file line number Diff line number Diff line change @@ -14,14 +14,6 @@ RethinkDB adapter for [js-data](http://www.js-data.io/).
14
14
15
15
__ 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 )
16
16
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
-
25
17
### Quick Start
26
18
` npm install --save js-data js-data-rethinkdb ` .
27
19
Original file line number Diff line number Diff line change @@ -129,9 +129,7 @@ module.exports =
129
129
var subQuery = undefined ;
130
130
forOwn ( params . where , function ( criteria , field ) {
131
131
if ( ! isObject ( criteria ) ) {
132
- params . where [ field ] = {
133
- '==' : criteria
134
- } ;
132
+ criteria = { '==' : criteria } ;
135
133
}
136
134
forOwn ( criteria , function ( v , op ) {
137
135
if ( op === '==' || op === '===' ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " js-data-rethinkdb" ,
3
3
"description" : " RethinkDB adapter for js-data." ,
4
- "version" : " 2.0.2 " ,
4
+ "version" : " 2.0.3 " ,
5
5
"homepage" : " http://www.js-data.io/docs/dsrethinkdbadapter" ,
6
6
"repository" : {
7
7
"type" : " git" ,
28
28
" reql"
29
29
],
30
30
"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 " ,
33
33
"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" ,
36
36
"grunt" : " 0.4.5" ,
37
37
"grunt-contrib-watch" : " 0.6.1" ,
38
38
"grunt-karma-coveralls" : " 2.5.4" ,
41
41
"jit-grunt" : " 0.9.1" ,
42
42
"jshint" : " 2.8.0" ,
43
43
"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 " ,
46
46
"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"
48
51
},
49
52
"scripts" : {
50
53
"test" : " grunt test"
You can’t perform that action at this time.
0 commit comments