Skip to content

Commit dc24c7c

Browse files
committed
Upgraded dependencies, no longer testing on Node v0.10, switched to Codecov
1 parent 4d15ea0 commit dc24c7c

File tree

15 files changed

+23
-24
lines changed

15 files changed

+23
-24
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ language: node_js
1616
node_js:
1717
- "stable"
1818
- "0.12"
19-
- "0.10"
2019

2120
cache:
2221
directories:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This repository holds Node.js samples used throughout [cloud.google.com]().
44

55
[![Build Status](https://travis-ci.org/GoogleCloudPlatform/nodejs-docs-samples.svg)](https://travis-ci.org/GoogleCloudPlatform/nodejs-docs-samples)
6-
[![Coverage Status](https://coveralls.io/repos/github/GoogleCloudPlatform/nodejs-docs-samples/badge.svg?branch=master)](https://coveralls.io/github/GoogleCloudPlatform/nodejs-docs-samples?branch=master)
6+
[![Coverage Status](https://codecov.io/github/GoogleCloudPlatform/nodejs-getting-started/coverage.svg?branch=master)](https://codecov.io/github/GoogleCloudPlatform/nodejs-getting-started?branch=master)
77

88
## Table of Contents
99

appengine/datastore/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var crypto = require('crypto');
2323
var app = express();
2424
app.enable('trust proxy');
2525

26-
var dataset = gcloud.datastore.dataset({
26+
var dataset = gcloud.datastore({
2727
// This environment variable is set by app.yaml when running on GAE, but will
2828
// need to be manually set when running locally.
2929
projectId: process.env.GCLOUD_PROJECT

appengine/datastore/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
},
1616
"dependencies": {
1717
"express": "^4.13.4",
18-
"gcloud": "^0.27.0"
18+
"gcloud": "^0.30.3"
1919
}
2020
}

appengine/pubsub/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dependencies": {
1717
"body-parser": "^1.14.2",
1818
"express": "^4.13.4",
19-
"gcloud": "^0.27.0",
19+
"gcloud": "^0.30.3",
2020
"jade": "^1.11.0"
2121
}
2222
}

appengine/storage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"body-parser": "^1.14.2",
1111
"express": "^4.13.4",
12-
"gcloud": "^0.27.0",
12+
"gcloud": "^0.30.3",
1313
"jade": "^1.11.0",
1414
"multer": "^1.1.0"
1515
}

bigquery/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"dependencies": {
1515
"async": "^1.5.2",
16-
"gcloud": "^0.29.0",
16+
"gcloud": "^0.30.3",
1717
"request": "^2.69.0"
1818
}
1919
}

computeengine/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vms_api": "node vms_api.js"
1515
},
1616
"dependencies": {
17-
"gcloud": "^0.30.2",
17+
"gcloud": "^0.30.3",
1818
"googleapis": "^4.0.0",
1919
"sendgrid": "^2.0.0"
2020
}

datastore/concepts.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function Entity(projectId) {
4747
if (keyFile) {
4848
options.keyFilename = keyFile;
4949
}
50-
this.datastore = gcloud.datastore.dataset(options);
50+
this.datastore = gcloud.datastore(options);
5151

5252
// To create the keys, we have to use this instance of Datastore.
5353
datastore.key = this.datastore.key;
@@ -444,7 +444,7 @@ function Index(projectId) {
444444
if (keyFile) {
445445
options.keyFilename = keyFile;
446446
}
447-
this.datastore = gcloud.datastore.dataset(options);
447+
this.datastore = gcloud.datastore(options);
448448
}
449449

450450
Index.prototype.testUnindexedPropertyQuery = function(callback) {
@@ -494,7 +494,7 @@ function Metadata(projectId) {
494494
if (keyFile) {
495495
options.keyFilename = keyFile;
496496
}
497-
this.datastore = gcloud.datastore.dataset(options);
497+
this.datastore = gcloud.datastore(options);
498498
}
499499

500500
Metadata.prototype.testNamespaceRunQuery = function(callback) {
@@ -632,7 +632,7 @@ function Query(projectId) {
632632
if (keyFile) {
633633
options.keyFilename = keyFile;
634634
}
635-
this.datastore = gcloud.datastore.dataset(options);
635+
this.datastore = gcloud.datastore(options);
636636

637637
this.basicQuery = this.getBasicQuery();
638638
this.projectionQuery = this.getProjectionQuery();
@@ -1066,7 +1066,7 @@ function Transaction(projectId) {
10661066
if (keyFile) {
10671067
options.keyFilename = keyFile;
10681068
}
1069-
this.datastore = gcloud.datastore.dataset(options);
1069+
this.datastore = gcloud.datastore(options);
10701070

10711071
this.fromKey = this.datastore.key(['Bank', 1, 'Account', 1]);
10721072
this.toKey = this.datastore.key(['Bank', 1, 'Account', 2]);

datastore/error.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
var gcloud = require('gcloud');
1717

18-
var dataset = gcloud.datastore.dataset({
18+
var dataset = gcloud.datastore({
1919
projectId: process.env.GCLOUD_PROJECT
2020
});
2121

0 commit comments

Comments
 (0)