From c6309dfb606fcf5a98eef8f233ed4715fff692aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Fri, 20 Mar 2015 18:17:08 +0100 Subject: [PATCH] Update deps, change repo, replace promise by bluebird. --- lib/connection-pool.js | 2 +- lib/connection.js | 2 +- package.json | 20 ++++++++++---------- test/remote.js | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/connection-pool.js b/lib/connection-pool.js index 89a5a53..d04755f 100644 --- a/lib/connection-pool.js +++ b/lib/connection-pool.js @@ -1,5 +1,5 @@ var _ = require('lodash'); -var Promise = require('promise'); +var Promise = require('bluebird'); var Connection = require('./connection'); // Expose module. diff --git a/lib/connection.js b/lib/connection.js index 515e1be..6346adb 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -1,7 +1,7 @@ var _ = require('lodash'); var exec = require('child_process').exec; var LineWrapper = require('stream-line-wrapper'); -var Promise = require('promise'); +var Promise = require('bluebird'); var remote = require('./remote'); // Expose connection. diff --git a/package.json b/package.json index 0b633b2..24f3756 100644 --- a/package.json +++ b/package.json @@ -8,25 +8,25 @@ }, "repository": { "type": "git", - "url": "https://github.com/neoziro/ssh-pool.git" + "url": "https://github.com/shipitjs/ssh-pool.git" }, "author": "Bergé Greg ", "license": "MIT", "bugs": { - "url": "https://github.com/neoziro/ssh-pool/issues" + "url": "https://github.com/shipitjs/ssh-pool/issues" }, - "homepage": "https://github.com/neoziro/ssh-pool", + "homepage": "https://github.com/shipitjs/ssh-pool", "devDependencies": { - "chai": "^1.10.0", - "mocha": "^2.0.1", - "rewire": "^2.1.3", - "sinon": "^1.12.2", - "sinon-chai": "^2.6.0", + "chai": "^2.1.2", + "mocha": "^2.2.1", + "rewire": "^2.3.1", + "sinon": "^1.14.1", + "sinon-chai": "^2.7.0", "std-mocks": "^1.0.0" }, "dependencies": { - "lodash": "^3.0.0", - "promise": "^6.1.0", + "bluebird": "^2.9.14", + "lodash": "^3.5.0", "stream-line-wrapper": "^0.1.1" } } diff --git a/test/remote.js b/test/remote.js index 1f774b3..ffa2643 100644 --- a/test/remote.js +++ b/test/remote.js @@ -20,7 +20,7 @@ describe('SSH remote', function () { var remoteObj = remote.parse('user@host'); expect(remoteObj).have.property('user', 'user'); expect(remoteObj).have.property('host', 'host'); - expect(remoteObj).not.have.property('port'); + expect(remoteObj).have.property('port', undefined); }); it('should parse remote with port', function () {