js-data-rethinkdb
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,5 @@ | ||
##### 1.1.1 - 25 February 2015 | ||
- Updated dependencies | ||
##### 1.1.0 - 05 February 2015 | ||
@@ -2,0 +6,0 @@ |
{ | ||
"name": "js-data-rethinkdb", | ||
"description": "RethinkDB adapter for js-data.", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"homepage": "http://www.js-data.io/docs/dsrethinkdbadapter", | ||
@@ -31,3 +31,3 @@ "repository": { | ||
"devDependencies": { | ||
"chai": "1.10.0", | ||
"chai": "2.1.0", | ||
"grunt": "0.4.5", | ||
@@ -37,6 +37,6 @@ "grunt-contrib-jshint": "0.11.0", | ||
"grunt-karma-coveralls": "2.5.3", | ||
"grunt-mocha-test": "0.12.6", | ||
"grunt-mocha-test": "0.12.7", | ||
"jit-grunt": "0.9.1", | ||
"sinon": "1.12.2", | ||
"time-grunt": "1.0.0" | ||
"time-grunt": "1.1.0" | ||
}, | ||
@@ -43,0 +43,0 @@ "scripts": { |
@@ -10,2 +10,5 @@ <img src="https://raw.githubusercontent.com/js-data/js-data/master/js-data.png" alt="js-data logo" title="js-data" align="right" width="64" height="64" /> | ||
## Example App | ||
[js-data-examples/server/rethinkdb](https://github.com/js-data/js-data-examples/tree/master/server/rethinkdb) | ||
## Project Status | ||
@@ -15,3 +18,3 @@ | ||
| ------ | ------ | | ||
| NPM | [![NPM version](https://badge.fury.io/js/js-data-rethinkdb.png)](http://badge.fury.io/js/js-data-rethinkdb) | | ||
| NPM | [![NPM](https://nodei.co/npm/js-data-rethinkdb.png?downloads=true&stars=true)](https://nodei.co/npm/js-data-rethinkdb/) | | ||
| Build Status | [![Build Status](https://travis-ci.org/js-data/js-data-rethinkdb.png?branch=master)](https://travis-ci.org/js-data/js-data-rethinkdb) | | ||
@@ -18,0 +21,0 @@ | Code Climate | [![Code Climate](https://codeclimate.com/github/js-data/js-data-rethinkdb.png)](https://codeclimate.com/github/js-data/js-data-rethinkdb) | |
var rethinkdbdash = require('rethinkdbdash'); | ||
var contains = require('mout/array/contains'); | ||
var map = require('mout/array/map'); | ||
var forOwn = require('mout/object/forOwn'); | ||
@@ -15,2 +14,3 @@ var keys = require('mout/object/keys'); | ||
var JSData = require('js-data'); | ||
var P = JSData.DSUtils.Promise; | ||
@@ -217,3 +217,3 @@ function Defaults() { | ||
}); | ||
return JSData.DSUtils.Promise.all(tasks).then(function () { | ||
return P.all(tasks).then(function () { | ||
return _this.r.do(_this.r.table(table).get(id), function (doc) { | ||
@@ -268,3 +268,3 @@ forEach(resourceConfig.relationList, function (def) { | ||
if (!item) { | ||
throw new Error('Not Found!'); | ||
return P.reject(new Error('Not Found!')); | ||
} else { | ||
@@ -271,0 +271,0 @@ forOwn(item, function (localValue, localKey) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37054
85