Skip to content

Commit

Permalink
Merge pull request #91 from raveljs/feature/90
Browse files Browse the repository at this point in the history
Swapping koa-compressor for koa-compress
  • Loading branch information
Ghnuberath committed May 20, 2016
2 parents f95ce78 + 3985c16 commit da578a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/ravel.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class Ravel extends EventEmitter {
const upath = require('upath');
const koa = require('koa');
const session = require('koa-generic-session');
const compression = require('koa-compressor');
const compression = require('koa-compress');
const redisStore = require('koa-redis');
const favicon = require('koa-favicon');
const router = require('koa-router')();
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ravel",
"version": "0.13.3",
"version": "0.13.4",
"author": "Sean McIntyre <[email protected]>",
"description": "Ravel Rapid Application Development Framework",
"keywords": [
Expand Down Expand Up @@ -39,7 +39,7 @@
"hiredis":"0.4.1",
"intel":"1.1.0",
"koa": "1.2.0",
"koa-compressor": "1.0.3",
"koa-compress": "1.0.9",
"koa-compose":"2.4.0",
"koa-favicon": "1.2.1",
"koa-generic-session": "1.10.2",
Expand Down
2 changes: 1 addition & 1 deletion test/ravel/test-ravel-lifecycle.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ describe('Ravel lifeycle test', function() {

const gzip = function*(next) { yield next; };
const gzipSpy = sinon.stub().returns(gzip);
mockery.registerMock('koa-compressor', gzipSpy);
mockery.registerMock('koa-compress', gzipSpy);

app.init();

Expand Down

0 comments on commit da578a4

Please sign in to comment.