Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update storage samples. #263

Merged
merged 3 commits into from
Dec 9, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appengine/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"dependencies": {
"express": "4.14.0",
"request": "2.78.0"
"request": "2.79.0"
}
}
2 changes: 1 addition & 1 deletion appengine/datastore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test": "cd ..; npm run t -- appengine/analytics/test/*.test.js"
},
"dependencies": {
"@google-cloud/datastore": "0.5.0",
"@google-cloud/datastore": "0.6.0",
"express": "4.14.0"
}
}
2 changes: 1 addition & 1 deletion appengine/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start": "node app.js"
},
"dependencies": {
"@google-cloud/pubsub": "0.3.0",
"@google-cloud/pubsub": "0.7.0",
"body-parser": "1.15.2",
"express": "4.14.0",
"pug": "2.0.0-beta6"
Expand Down
2 changes: 1 addition & 1 deletion appengine/sails/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"include-all": "0.1.6",
"rc": "1.1.1",
"sails": "0.11.2",
"sails-disk": "0.10.0"
"sails-disk": "0.10.10"
}
}
2 changes: 1 addition & 1 deletion appengine/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"node": ">=4.3.2"
},
"dependencies": {
"@google-cloud/storage": "0.3.0",
"@google-cloud/storage": "0.6.0",
"body-parser": "1.15.2",
"express": "4.14.0",
"multer": "1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion appengine/websockets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"express": "4.14.0",
"express-ws": "1.0.0-rc.2",
"pug": "2.0.0-beta6",
"request": "2.78.0"
"request": "2.79.0"
}
}
10 changes: 5 additions & 5 deletions bigquery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"system-test": "cd ..; npm run st -- bigquery/system-test/*.test.js"
},
"dependencies": {
"@google-cloud/bigquery": "0.4.0",
"@google-cloud/storage": "0.4.0",
"async": "2.1.2",
"yargs": "6.3.0"
"@google-cloud/bigquery": "0.6.0",
"@google-cloud/storage": "0.6.0",
"async": "2.1.4",
"yargs": "6.5.0"
},
"devDependencies": {
"node-uuid": "^1.4.7"
"uuid": "3.0.1"
},
"engines": {
"node": ">=4.3.2"
Expand Down
2 changes: 1 addition & 1 deletion bigquery/system-test/datasets.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
'use strict';

const bigquery = require(`@google-cloud/bigquery`)();
const uuid = require(`node-uuid`);
const uuid = require(`uuid`);
const path = require(`path`);
const run = require(`../../utils`).run;

Expand Down
2 changes: 1 addition & 1 deletion bigquery/system-test/quickstart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

const proxyquire = require(`proxyquire`).noPreserveCache();
const bigquery = proxyquire(`@google-cloud/bigquery`, {})();
var uuid = require('node-uuid');
const uuid = require(`uuid`);

const expectedDatasetId = `my_new_dataset`;
let datasetId = `nodejs-docs-samples-test-${uuid.v4()}`;
Expand Down
2 changes: 1 addition & 1 deletion bigquery/system-test/tables.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

const bigquery = require(`@google-cloud/bigquery`)();
const storage = require(`@google-cloud/storage`)();
const uuid = require(`node-uuid`);
const uuid = require(`uuid`);
const path = require(`path`);
const utils = require(`../../utils`);
const run = utils.run;
Expand Down
2 changes: 1 addition & 1 deletion computeengine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"system-test": "mocha -R spec -t 120000 --require intelli-espower-loader ../system-test/_setup.js system-test/*.test.js"
},
"dependencies": {
"@google-cloud/compute": "^0.1.1",
"@google-cloud/compute": "0.4.0",
"googleapis": "^12.2.0",
"nodemailer": "^2.4.1",
"nodemailer-smtp-transport": "^2.5.0",
Expand Down
4 changes: 2 additions & 2 deletions datastore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"test": "cd ..; npm run st -- datastore/system-test/*.test.js"
},
"dependencies": {
"@google-cloud/datastore": "^0.5.0",
"yargs": "^6.4.0"
"@google-cloud/datastore": "0.6.0",
"yargs": "6.5.0"
},
"engines": {
"node": ">=4.3.2"
Expand Down
4 changes: 2 additions & 2 deletions dns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"system-test": "cd ..; npm run st -- dns/system-test/*.test.js"
},
"dependencies": {
"@google-cloud/dns": "0.2.0",
"yargs": "6.4.0"
"@google-cloud/dns": "0.4.0",
"yargs": "6.5.0"
},
"devDependencies": {
"uuid": "2.0.3"
Expand Down
2 changes: 1 addition & 1 deletion functions/datastore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"test": "cd ..; npm run t -- functions/datastore/test/*.test.js"
},
"dependencies": {
"@google-cloud/datastore": "^0.5.0"
"@google-cloud/datastore": "0.6.0"
}
}
2 changes: 1 addition & 1 deletion functions/errorreporting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"test": "cd ..; npm run t -- functions/errorreporting/test/*.test.js"
},
"dependencies": {
"@google-cloud/logging": "^0.5.0"
"@google-cloud/logging": "0.6.0"
}
}
4 changes: 2 additions & 2 deletions functions/gcs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"test": "cd ..; npm run t -- functions/gcs/test/*.test.js"
}, "dependencies": {
"@google-cloud/storage": "^0.4.0",
"request": "^2.78.0"
"@google-cloud/storage": "0.6.0",
"request": "2.79.0"
}
}
4 changes: 2 additions & 2 deletions functions/log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "cd ..; npm run t -- functions/log/test/*.test.js"
},
"dependencies": {
"@google-cloud/logging": "^0.5.0",
"@google-cloud/monitoring": "^0.1.0"
"@google-cloud/logging": "0.6.0",
"@google-cloud/monitoring": "0.1.3"
}
}
8 changes: 4 additions & 4 deletions functions/ocr/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"test": "cd ..; npm run t -- functions/ocr/app/test/*.test.js"
},
"dependencies": {
"@google-cloud/pubsub": "^0.5.0",
"@google-cloud/storage": "^0.4.0",
"@google-cloud/translate": "^0.5.0",
"@google-cloud/vision": "^0.5.0"
"@google-cloud/pubsub": "0.7.0",
"@google-cloud/storage": "0.6.0",
"@google-cloud/translate": "0.6.0",
"@google-cloud/vision": "0.7.0"
}
}
2 changes: 1 addition & 1 deletion functions/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"test": "cd ..; npm run t -- functions/pubsub/test/*.test.js"
},
"dependencies": {
"@google-cloud/pubsub": "^0.5.0"
"@google-cloud/pubsub": "0.7.0"
}
}
2 changes: 1 addition & 1 deletion functions/sendgrid/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// [START functions_sendgrid_setup]
const sendgrid = require('sendgrid');
const config = require('./config.json');
const uuid = require('node-uuid');
const uuid = require('uuid');

// Get a reference to the Cloud Storage component
const storage = require('@google-cloud/storage')();
Expand Down
8 changes: 4 additions & 4 deletions functions/sendgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"test": "cd ..; npm run t -- functions/sendgrid/test/*.test.js"
},
"dependencies": {
"@google-cloud/storage": "^0.4.0",
"@google-cloud/bigquery": "^0.4.0",
"node-uuid": "^1.4.7",
"sendgrid": "^4.7.1"
"@google-cloud/storage": "0.6.0",
"@google-cloud/bigquery": "0.6.0",
"uuid": "3.0.1",
"sendgrid": "4.7.1"
}
}
2 changes: 1 addition & 1 deletion functions/sendgrid/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function getSample () {
'@google-cloud/bigquery': BigQueryMock,
'@google-cloud/storage': StorageMock,
'./config.json': config,
'node-uuid': uuid
'uuid': uuid
}),
mocks: {
sendgrid,
Expand Down
2 changes: 1 addition & 1 deletion functions/uuid/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
'use strict';

// [START functions_uuid]
const uuid = require('node-uuid');
const uuid = require('uuid');

exports.uuid = function (event, callback) {
callback(null, uuid.v4());
Expand Down
2 changes: 1 addition & 1 deletion functions/uuid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"test": "cd ..; npm run t -- functions/uuid/test/*.test.js"
},
"dependencies": {
"node-uuid": "^1.4.7"
"uuid": "3.0.1"
}
}
6 changes: 3 additions & 3 deletions language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"test": "cd ..; npm run st -- language/system-test/*.test.js"
},
"dependencies": {
"@google-cloud/language": "^0.6.0",
"@google-cloud/storage": "^0.4.0",
"yargs": "^6.4.0"
"@google-cloud/language": "0.7.0",
"@google-cloud/storage": "0.6.0",
"yargs": "6.5.0"
},
"engines": {
"node": ">=4.3.2"
Expand Down
2 changes: 1 addition & 1 deletion language/slackbot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"main": "demo_bot.js",
"dependencies": {
"botkit": "^0.0.5",
"@google-cloud/language": "^0.6.3",
"@google-cloud/language": "0.7.0",
"sqlite3": "^3.1.8"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion language/system-test/analyze.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

'use strict';

const uuid = require(`node-uuid`);
const uuid = require(`uuid`);
const path = require(`path`);
const storage = require(`@google-cloud/storage`)();
const run = require(`../../utils`).run;
Expand Down
8 changes: 4 additions & 4 deletions logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"system-test": "cd ..; npm run st -- logging/system-test/*.test.js"
},
"dependencies": {
"@google-cloud/logging": "0.5.1",
"@google-cloud/storage": "0.5.0",
"@google-cloud/logging": "0.6.0",
"@google-cloud/storage": "0.6.0",
"express": "4.14.0",
"fluent-logger": "2.2.0",
"yargs": "6.4.0"
"yargs": "6.5.0"
},
"devDependencies": {
"node-uuid": "1.4.7"
"uuid": "3.0.1"
},
"engines": {
"node": ">=4.3.2"
Expand Down
2 changes: 1 addition & 1 deletion logging/system-test/logs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

'use strict';

var uuid = require('node-uuid');
var uuid = require('uuid');
var program = require('../logs');

var logName = 'nodejs-docs-samples-test-' + uuid.v4();
Expand Down
2 changes: 1 addition & 1 deletion logging/system-test/quickstart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

const proxyquire = require(`proxyquire`).noPreserveCache();
const logging = proxyquire(`@google-cloud/logging`, {})();
const uuid = require(`node-uuid`);
const uuid = require(`uuid`);

const logName = `nodejs-docs-samples-test-${uuid.v4()}`;

Expand Down
2 changes: 1 addition & 1 deletion logging/system-test/sinks.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

var Logging = require('@google-cloud/logging');
var Storage = require('@google-cloud/storage');
var uuid = require('node-uuid');
var uuid = require('uuid');
var program = require('../sinks');

var logging = Logging();
Expand Down
2 changes: 1 addition & 1 deletion monitoring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
},
"dependencies": {
"async":"2.1.2",
"googleapis": "14.2.0"
"googleapis": "15.0.0"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@
"all-cover": "npm run pretest && nyc --cache npm run all-test && nyc report --reporter=html && nyc report --reporter=lcov"
},
"devDependencies": {
"async": "2.1.2",
"async": "2.1.4",
"intelli-espower-loader": "1.0.1",
"mocha": "3.1.2",
"nodejs-repo-tools": "git+https://github.com/GoogleCloudPlatform/nodejs-repo-tools.git#bbbb6035d77671eb053dbe6b6f0e3ff983f79639",
"nyc": "9.0.1",
"power-assert": "1.4.2",
"proxyquire": "1.7.10",
"request": "2.78.0",
"request": "2.79.0",
"semistandard": "9.1.0",
"shelljs": "0.7.5",
"sinon": "1.17.6",
Expand Down
2 changes: 1 addition & 1 deletion prediction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"system-test": "cd ..; npm run st -- prediction/system-test/*.test.js"
},
"dependencies": {
"googleapis": "14.2.0"
"googleapis": "15.0.0"
}
}
6 changes: 3 additions & 3 deletions pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"test": "cd ..; npm run st -- pubsub/system-test/*.test.js"
},
"dependencies": {
"@google-cloud/pubsub": "0.5.0",
"yargs": "6.4.0"
"@google-cloud/pubsub": "0.7.0",
"yargs": "6.5.0"
},
"devDependencies": {
"node-uuid": "1.4.7"
"uuid": "3.0.1"
},
"engines": {
"node": ">=4.3.2"
Expand Down
2 changes: 1 addition & 1 deletion pubsub/system-test/quickstart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

const proxyquire = require(`proxyquire`).noPreserveCache();
const pubsub = proxyquire(`@google-cloud/pubsub`, {})();
const uuid = require(`node-uuid`);
const uuid = require(`uuid`);

const topicName = `nodejs-docs-samples-test-${uuid.v4()}`;
const projectId = process.env.GCLOUD_PROJECT;
Expand Down
2 changes: 1 addition & 1 deletion pubsub/system-test/subscriptions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
'use strict';

const pubsub = require(`@google-cloud/pubsub`)();
const uuid = require(`node-uuid`);
const uuid = require(`uuid`);
const path = require(`path`);
const run = require(`../../utils`).run;

Expand Down
Loading