Comparing version 1.6.6 to 1.6.7
@@ -174,3 +174,3 @@ // __Dependencies__ | ||
// Otherwise, stream the relevant documents from Mongo, based on constructed query. | ||
else pipeline(request.baucis.query.cursor()); | ||
else pipeline(request.baucis.query.stream()); | ||
// Map documents to contexts. | ||
@@ -177,0 +177,0 @@ pipeline(function (doc, callback) { |
@@ -6,6 +6,6 @@ { | ||
"email": "william@kun.io", | ||
"url": "http://kun.io" | ||
"url": "http://kun.io/wprl" | ||
}, | ||
"homepage": "https://github.com/wprl/baucis", | ||
"version": "1.6.6", | ||
"version": "1.6.7", | ||
"main": "index.js", | ||
@@ -112,8 +112,4 @@ "scripts": { | ||
"url": "https://github.com/andyzickler" | ||
}, | ||
{ | ||
"name": "nathanredblur", | ||
"url": "https://github.com/nathanredblur" | ||
} | ||
] | ||
} |
# baucis | ||
![Codeship](https://codeship.com/projects/43c2fac0-bfa5-0133-3ab4-4e7013906a8c/status?branch=master) | ||
![Codeship](https://codeship.com/projects/43c2fac0-bfa5-0133-3ab4-4e7013906a8c/status?branch=development) | ||
@@ -5,0 +5,0 @@ [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/wprl/baucis?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
@@ -626,3 +626,3 @@ var expect = require('expect.js'); | ||
expect(body).to.be.a('string'); | ||
expect(body).to.contain('Unprocessable Entity: The request entity could not be processed (422)'); | ||
expect(body).to.be('Unprocessable Entity: The request entity could not be processed (422).\n'); | ||
done(); | ||
@@ -629,0 +629,0 @@ }); |
@@ -118,3 +118,3 @@ var expect = require('expect.js'); | ||
it.skip('sends 406 Not Acceptable when the requested type is not accepted', function (done) { | ||
it('sends 406 Not Acceptable when the requested type is not accepted', function (done) { | ||
var options = { | ||
@@ -121,0 +121,0 @@ url: 'http://localhost:8012/api/vegetables', |
@@ -152,3 +152,3 @@ var expect = require('expect.js'); | ||
it.skip('should handle malformed JSON inside first-level objects but ignore those outside', function (done) { | ||
it('should handle malformed JSON inside first-level objects but ignore those outside', function (done) { | ||
var options = { | ||
@@ -155,0 +155,0 @@ url: 'http://localhost:8012/api/vegetables/', |
@@ -823,3 +823,3 @@ var expect = require('expect.js'); | ||
it.skip('should give a 400 if the query string is unparseable using query operators with _id', function (done) { | ||
it('should give a 400 if the query stirng is unpar using query operators with _id', function (done) { | ||
var options = { | ||
@@ -826,0 +826,0 @@ url: 'http://localhost:8012/api/vegetables?conditions={ \'_id\': { \'$gt\': \'111111111111111111111111\' } }', |
@@ -59,3 +59,3 @@ var expect = require('expect.js'); | ||
it.skip("should 400 if the requested release range can't be satisfied", function (done) { | ||
it("should 400 if the requested release range can't be satisfied", function (done) { | ||
var options = { | ||
@@ -62,0 +62,0 @@ url: 'http://localhost:8012/api/versioned/parties', |
377227