Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update to use q 0.8.10

  • Loading branch information...
commit a274a54f10aeb68918bff09512116462b6ed5591 1 parent 68f0b8b
@arikon arikon authored
View
2  lib/nodes/workers/bembuild.js
@@ -15,6 +15,6 @@ process.once('message', function(m) {
});
process.exit(1);
})
- .end();
+ .done();
});
View
2  lib/nodes/workers/borschik.js
@@ -40,6 +40,6 @@ process.once('message', function(m) {
});
process.exit(1);
})
- .end();
+ .done();
});
View
6 package.json
@@ -28,8 +28,8 @@
"bem": "./bin/bem"
},
"dependencies": {
- "coa": "~0.3.5",
- "q": "~0.8.8",
+ "coa": "~0.3.8",
+ "q": "~0.8.10",
"qq": "~0.3.4",
"q-fs": "0.1",
"q-http": "~0.1.14",
@@ -39,7 +39,7 @@
"xjst": "0.2.21",
"ometajs": "~2.1.10",
"borschik": "~0.0.11",
- "apw": "~0.3.6",
+ "apw": "~0.3.9",
"winston": ">= 0.5.0",
"memorystream": ">= 0.1.1",
"csso": "~1.2.17",
View
15 test/bem-make.js
@@ -28,8 +28,7 @@ describe('bem', function() {
before(function(done){
prepareProject()
- .then(done)
- .end();
+ .done(done);
});
it('completes successfully', function(done) {
@@ -38,7 +37,7 @@ describe('bem', function() {
BEM.api.make({root: buildPath, verbosity: 'error'})
.then(done)
.fail(done)
- .end();
+ .done();
});
it('creates proper artifacts', function(done) {
@@ -53,7 +52,7 @@ describe('bem', function() {
done(result && new Error(result));
})
.fail(done)
- .end();
+ .done();
});
it('does not rebuild anything on next build with no changes made to the files', function(done) {
@@ -77,7 +76,7 @@ describe('bem', function() {
});
})
.fail(done)
- .end();
+ .done();
});
it('rebuilds missing artifacts on consequent build', function(done) {
@@ -105,7 +104,7 @@ describe('bem', function() {
done(result && new Error(result));
})
.fail(done)
- .end();
+ .done();
});
it('clean removes build artifacts', function(done) {
@@ -124,7 +123,7 @@ describe('bem', function() {
})
})
.fail(done)
- .end();
+ .done();
});
it('builds two targets', function(done) {
@@ -176,7 +175,7 @@ describe('bem', function() {
done(result && new Error(result));
})
.fail(done)
- .end();
+ .done();
});
});
});
View
2  test/nodes-lib.js
@@ -58,7 +58,7 @@ describe('nodes', function() {
})
.fail(done)
- .end();
+ .done();
});
View
8 test/tech.js
@@ -206,12 +206,12 @@ function testBaseTech(techPath, techAlias) {
it("contains results for all suffixes", function(done) {
- Q.when(res, function(res) {
+ Q.done(res, function(res) {
tech.getSuffixes().forEach(function(suffix) {
assert.include(res, suffix);
});
done();
- }, done).end();
+ }, done);
});
@@ -229,12 +229,12 @@ function testBaseTech(techPath, techAlias) {
it("contains results for all suffixes", function(done) {
- Q.when(res, function(res) {
+ Q.done(res, function(res) {
tech.getSuffixes().forEach(function(suffix) {
assert.include(res, suffix);
});
done();
- }, done).end();
+ }, done);
});
Please sign in to comment.
Something went wrong with that request. Please try again.