mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
Merge pull request #4054 from ErisDS/dev-deps
Updating dev dependencies
This commit is contained in:
commit
692a82cb8f
@ -22,5 +22,6 @@
|
||||
"trailing": true,
|
||||
"indent": 4,
|
||||
"onevar": true,
|
||||
"white": true
|
||||
"white": true,
|
||||
"predef": [ "-Promise" ]
|
||||
}
|
||||
|
@ -23,5 +23,6 @@
|
||||
"indent": 4,
|
||||
"onevar": true,
|
||||
"white": true,
|
||||
"quotmark": "single"
|
||||
"quotmark": "single",
|
||||
"predef": [ "-Promise" ]
|
||||
}
|
||||
|
@ -159,12 +159,12 @@ describe('Post API', function () {
|
||||
request.get(testUtils.API.getApiQuery('posts/1/'))
|
||||
.set('Authorization', 'Bearer ' + accesstoken)
|
||||
.expect('Content-Type', /json/)
|
||||
.expect(200)
|
||||
.end(function (err, res) {
|
||||
if (err) {
|
||||
return done(err);
|
||||
}
|
||||
|
||||
res.should.have.status(200);
|
||||
should.not.exist(res.headers['x-cache-invalidate']);
|
||||
var jsonResponse = res.body;
|
||||
jsonResponse.should.exist;
|
||||
@ -186,12 +186,12 @@ describe('Post API', function () {
|
||||
request.get(testUtils.API.getApiQuery('posts/slug/welcome-to-ghost/'))
|
||||
.set('Authorization', 'Bearer ' + accesstoken)
|
||||
.expect('Content-Type', /json/)
|
||||
.expect(200)
|
||||
.end(function (err, res) {
|
||||
if (err) {
|
||||
return done(err);
|
||||
}
|
||||
|
||||
res.should.have.status(200);
|
||||
should.not.exist(res.headers['x-cache-invalidate']);
|
||||
var jsonResponse = res.body;
|
||||
jsonResponse.should.exist;
|
||||
@ -212,12 +212,12 @@ describe('Post API', function () {
|
||||
request.get(testUtils.API.getApiQuery('posts/1/?include=author,tags,created_by'))
|
||||
.set('Authorization', 'Bearer ' + accesstoken)
|
||||
.expect('Content-Type', /json/)
|
||||
.expect(200)
|
||||
.end(function (err, res) {
|
||||
if (err) {
|
||||
return done(err);
|
||||
}
|
||||
|
||||
res.should.have.status(200);
|
||||
should.not.exist(res.headers['x-cache-invalidate']);
|
||||
var jsonResponse = res.body;
|
||||
jsonResponse.should.exist;
|
||||
|
@ -410,8 +410,8 @@ describe('Apps', function () {
|
||||
|
||||
should.exist(AppPermissions.DefaultPermissions.posts);
|
||||
|
||||
AppPermissions.DefaultPermissions.posts.should.contain('browse');
|
||||
AppPermissions.DefaultPermissions.posts.should.contain('read');
|
||||
AppPermissions.DefaultPermissions.posts.should.containEql('browse');
|
||||
AppPermissions.DefaultPermissions.posts.should.containEql('read');
|
||||
|
||||
// Make it hurt to add more so additional checks are added here
|
||||
_.keys(AppPermissions.DefaultPermissions).length.should.equal(1);
|
||||
|
@ -32,7 +32,7 @@ describe('Filters', function () {
|
||||
should.exist(filters.filterCallbacks[filterName]);
|
||||
should.exist(filters.filterCallbacks[filterName][filterPriority]);
|
||||
|
||||
filters.filterCallbacks[filterName][filterPriority].should.include(testFilterHandler);
|
||||
filters.filterCallbacks[filterName][filterPriority].should.containEql(testFilterHandler);
|
||||
});
|
||||
|
||||
it('can register filters with default priority', function () {
|
||||
@ -45,7 +45,7 @@ describe('Filters', function () {
|
||||
should.exist(filters.filterCallbacks[filterName]);
|
||||
should.exist(filters.filterCallbacks[filterName][defaultPriority]);
|
||||
|
||||
filters.filterCallbacks[filterName][defaultPriority].should.include(testFilterHandler);
|
||||
filters.filterCallbacks[filterName][defaultPriority].should.containEql(testFilterHandler);
|
||||
});
|
||||
|
||||
it('can register filters with priority null with default priority', function () {
|
||||
@ -58,7 +58,7 @@ describe('Filters', function () {
|
||||
should.exist(filters.filterCallbacks[filterName]);
|
||||
should.exist(filters.filterCallbacks[filterName][defaultPriority]);
|
||||
|
||||
filters.filterCallbacks[filterName][defaultPriority].should.include(testFilterHandler);
|
||||
filters.filterCallbacks[filterName][defaultPriority].should.containEql(testFilterHandler);
|
||||
});
|
||||
|
||||
it('executes filters in priority order', function (done) {
|
||||
|
46
package.json
46
package.json
@ -71,36 +71,36 @@
|
||||
"mysql": "2.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"blanket": "~1.1.5",
|
||||
"bower": "~1.3.5",
|
||||
"grunt": "~0.4.1",
|
||||
"blanket": "~1.1.6",
|
||||
"bower": "~1.3.10",
|
||||
"grunt": "~0.4.5",
|
||||
"grunt-cli": "~0.1.13",
|
||||
"grunt-autoprefixer": "1.0.1",
|
||||
"grunt-concat-sourcemap": "~0.4.3",
|
||||
"grunt-contrib-clean": "~0.5.0",
|
||||
"grunt-contrib-compress": "~0.5.2",
|
||||
"grunt-contrib-concat": "~0.4.0",
|
||||
"grunt-contrib-copy": "~0.4.1",
|
||||
"grunt-contrib-jshint": "~0.8.0",
|
||||
"grunt-contrib-uglify": "~0.5.0",
|
||||
"grunt-contrib-watch": "~0.5.3",
|
||||
"grunt-contrib-clean": "~0.6.0",
|
||||
"grunt-contrib-compress": "~0.11.0",
|
||||
"grunt-contrib-concat": "~0.5.0",
|
||||
"grunt-contrib-copy": "~0.5.0",
|
||||
"grunt-contrib-jshint": "~0.10.0",
|
||||
"grunt-contrib-uglify": "~0.5.1",
|
||||
"grunt-contrib-watch": "~0.6.1",
|
||||
"grunt-docker": "~0.0.8",
|
||||
"grunt-ember-templates": "~0.4.18",
|
||||
"grunt-ember-templates": "~0.4.21",
|
||||
"grunt-es6-module-transpiler": "~0.6.0",
|
||||
"grunt-express-server": "~0.4.11",
|
||||
"grunt-mocha-cli": "~1.4.0",
|
||||
"grunt-sass": "~0.14.0",
|
||||
"grunt-shell": "~0.7.0",
|
||||
"grunt-update-submodules": "~0.4.0",
|
||||
"grunt-express-server": "~0.4.19",
|
||||
"grunt-mocha-cli": "~1.10.0",
|
||||
"grunt-sass": "~0.14.1",
|
||||
"grunt-shell": "~1.1.1",
|
||||
"grunt-update-submodules": "~0.4.1",
|
||||
"matchdep": "~0.3.0",
|
||||
"mocha": "~1.15.1",
|
||||
"nock": "0.27.2",
|
||||
"rewire": "~2.0.0",
|
||||
"request": "~2.29.0",
|
||||
"mocha": "~1.21.4",
|
||||
"nock": "0.47.0",
|
||||
"request": "~2.42.0",
|
||||
"require-dir": "~0.1.0",
|
||||
"should": "~2.1.1",
|
||||
"sinon": "~1.7.3",
|
||||
"supertest": "~0.8.2",
|
||||
"rewire": "~2.1.0",
|
||||
"should": "~4.0.4",
|
||||
"sinon": "~1.10.3",
|
||||
"supertest": "~0.13.0",
|
||||
"top-gh-contribs": "0.0.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user