From 2ab8efa56b7e03136a1ef8794af21ac535a42ba8 Mon Sep 17 00:00:00 2001 From: "Johannes J. Schmidt" Date: Mon, 26 May 2014 13:27:44 +0200 Subject: [PATCH] reenable checkpointing --- index.js | 3 +-- lib/couchmagick-stream.js | 2 -- package.json | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 98edf33..5b080de 100755 --- a/index.js +++ b/index.js @@ -8,7 +8,6 @@ var pkg = require('./package.json'); var couchmagickstream = require('./lib/couchmagick-stream'); var daemon = require('couch-daemon'); -var _ = require('highland'); daemon({ @@ -16,7 +15,7 @@ daemon({ version: pkg.version, include_docs: true }, function(url, options) { - var magick = _(couchmagickstream(url, options)); + var magick = couchmagickstream(url, options); return function(source) { return source.pipe(magick); diff --git a/lib/couchmagick-stream.js b/lib/couchmagick-stream.js index 16e73bf..0fd2235 100644 --- a/lib/couchmagick-stream.js +++ b/lib/couchmagick-stream.js @@ -329,8 +329,6 @@ module.exports = function couchmagick(url, options) { return data; } - delete data.seq; - return { db_name: data.db_name, seq: data.seq, diff --git a/package.json b/package.json index 9a5b42d..991d700 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "couchmagick", - "version": "2.1.0", + "version": "2.1.1", "description": "Run ImageMagicks `convert` on CouchDB documents.", "main": "index.js", "preferGlobal": true,