Skip to content

Commit

Permalink
Updated dependencies + Bumped to ODB 3.0.2/3.0.3-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood committed Jun 28, 2018
1 parent 4e25fa6 commit 1bb254d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ before_script:
- ./ci/initialize-ci.sh $ORIENTDB_VERSION
env:
- ORIENTDB_VERSION=2.2.34 CXX=g++-4.8
- ORIENTDB_VERSION=3.0.1 CXX=g++-4.8
- ORIENTDB_VERSION=3.0.2-SNAPSHOT CXX=g++-4.8
- ORIENTDB_VERSION=3.0.2 CXX=g++-4.8
- ORIENTDB_VERSION=3.0.3-SNAPSHOT CXX=g++-4.8

addons:
apt:
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@
"jsdoc": "^3.5.5",
"node-biginteger": "^0.0.10",
"parse-function": "^5.2.9",
"request": "~2.85.0",
"request": "^2.87.0",
"signed-varint": "2.0.1",
"tls": "~0.0.1",
"yargs": "~11.0.0"
},
"devDependencies": {
"jsdoc": "3.5.5",
"expect.js": "~0.3.1",
"istanbul": "~0.2.7",
"istanbul": "^0.4.5",
"istanbul-coveralls": "^1.0.3",
"jsdoc": "3.5.5",
"jshint": "~2.9.4",
"mocha": "^2.0.1",
"mocha": "^5.2.0",
"should": "~4.6.2"
},
"optionalDependencies": {
Expand All @@ -87,7 +87,7 @@
},
"scripts": {
"pretest": "./node_modules/.bin/jshint ./lib",
"test": "echo \"\n\nNOTICE: If tests fail, please ensure you've set the correct credentials in test/test-server.json\n\n\"; node ./node_modules/mocha/bin/mocha ./test/index.js ./test/**/*.js ./test/**/**/*.js ./test/**/**/**/*.js ./test/**/**/**/**/*.js --reporter=spec -t 10000",
"test": "echo \"\n\nNOTICE: If tests fail, please ensure you've set the correct credentials in test/test-server.json\n\n\"; node ./node_modules/mocha/bin/mocha ./test/index.js ./test/**/*.js ./test/**/**/*.js ./test/**/**/**/*.js ./test/**/**/**/**/*.js --reporter=spec -t 10000 --exit",
"watch": "node ./node_modules/mocha/bin/mocha ./test/index.js ./test/**/*.js ./test/**/**/*.js ./test/**/**/**/*.js ./test/**/**/**/**/*.js --reporter=spec -t 10000 --watch",
"coverage": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha ./test/index.js ./test/**/*.js ./test/**/**/*.js ./test/**/**/**/*.js ./test/**/**/**/**/*.js --reporter=spec",
"lint": "./node_modules/.bin/jshint ./lib",
Expand Down
4 changes: 2 additions & 2 deletions test/client/client-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe("Client API", function () {
}))
it('should create and connect the client', function (done) {
this.client = new global.CLIENT(TEST_SERVER_CONFIG);
return this.client.connect()
this.client.connect()
.then(() => {
done(0);
})
Expand Down Expand Up @@ -36,7 +36,7 @@ describe("Client API", function () {
servers: [TEST_SERVER_CONFIG]
})
this.client = new global.CLIENT(config);
return this.client.connect().then(() => {
this.client.connect().then(() => {
done();
}).catch(err => {
throw new Error('Should never happen!');
Expand Down
2 changes: 1 addition & 1 deletion test/database/database-query-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe("ODatabase API - Query", function () {

describe('Query::one()', function () {
it('should return one record', function (done) {
return this.query.select().from('OUser').limit(1).one()
this.query.select().from('OUser').limit(1).one()
.then(function (user) {
Array.isArray(user).should.be.false;
user.should.have.property('name');
Expand Down
2 changes: 1 addition & 1 deletion test/network/network-pool-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe("Network Pool API", function () {
acquireTimeoutMillis: 100
}
this.pool = new global.NETWORK.ONetworkPool(config);
return this.pool.acquire()
this.pool.acquire()
.then((network) => {
this.pool.size().should.be.eql(1)
this.pool.available().should.be.eql(0)
Expand Down

0 comments on commit 1bb254d

Please sign in to comment.