Skip to content

Commit 7bf3610

Browse files
authored
Update sample dependencies with fixes (GoogleCloudPlatform#876)
1 parent 07da022 commit 7bf3610

File tree

25 files changed

+36
-36
lines changed

25 files changed

+36
-36
lines changed

appengine/flexible/logging/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
3-
"google/cloud-logging": "^1.11",
4-
"google/cloud-error-reporting": "^0.10.1",
3+
"google/cloud-logging": "^1.16.1",
4+
"google/cloud-error-reporting": "^0.14.1",
55
"silex/silex": "^2.0",
66
"twig/twig": "^1.29"
77
},

appengine/flexible/wordpress/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"ext-zip": "*",
55
"paragonie/random_compat": "^1.3",
66
"symfony/console": "^3.0",
7-
"google/cloud-tools": "^0.7.0"
7+
"google/cloud-tools": "^0.9.1"
88
},
99
"require-dev": {
1010
"guzzlehttp/guzzle": "~6.0",

appengine/flexible/wordpress/wordpress.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
use Symfony\Component\Console\Input\InputInterface;
2323
use Symfony\Component\Console\Input\InputOption;
2424
use Symfony\Component\Console\Output\OutputInterface;
25-
use Google\Cloud\Utils\WordPressProject;
25+
use Google\Cloud\Utils\WordPress\Project;
2626

2727
$application = new Application('Wordpress Helper');
2828
$application->add(new Command('setup'))
2929
->setDescription('Setup WordPress on GCP')
30-
->addOption('dir', null, InputOption::VALUE_REQUIRED, 'Directory for the new project', WordPressProject::DEFAULT_DIR)
30+
->addOption('dir', null, InputOption::VALUE_REQUIRED, 'Directory for the new project', Project::DEFAULT_DIR)
3131
->addOption('project_id', null, InputOption::VALUE_REQUIRED, 'Google Cloud project id')
3232
->addOption('db_region', null, InputOption::VALUE_REQUIRED, 'Cloud SQL region')
3333
->addOption('db_instance', null, InputOption::VALUE_REQUIRED, 'Cloud SQL instance id', 'wp')
@@ -36,9 +36,9 @@
3636
->addOption('db_password', null, InputOption::VALUE_REQUIRED, 'Cloud SQL database password')
3737
->addOption('local_db_user', null, InputOption::VALUE_REQUIRED, 'Local SQL database username')
3838
->addOption('local_db_password', null, InputOption::VALUE_REQUIRED, 'Local SQL database password')
39-
->addOption('wordpress_url', null, InputOption::VALUE_REQUIRED, 'URL of the WordPress archive', WordPressProject::LATEST_WP)
39+
->addOption('wordpress_url', null, InputOption::VALUE_REQUIRED, 'URL of the WordPress archive', Project::LATEST_WP)
4040
->setCode(function (InputInterface $input, OutputInterface $output) {
41-
$wordpress = new WordPressProject($input, $output);
41+
$wordpress = new Project($input, $output);
4242

4343
// Run the wizard to prompt user for project and database parameters.
4444
$dir = $wordpress->initializeProject();

appengine/php55/grpc/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
3-
"google/cloud-spanner": "^0.10",
4-
"google/cloud-monitoring": "^0.7",
3+
"google/cloud-spanner": "^1.15.0",
4+
"google/cloud-monitoring": "^0.16.1",
55
"google/appengine-php-sdk": "^1.9"
66
},
77
"require-dev": {

appengine/php55/wordpress/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"ext-zip": "*",
55
"paragonie/random_compat": "^1.3",
66
"symfony/console": "^3.0",
7-
"google/cloud-tools": "^0.7.0"
7+
"google/cloud-tools": "^0.9.1"
88
},
99
"require-dev": {
1010
"guzzlehttp/guzzle": "~6.0",

appengine/php55/wordpress/wordpress.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
use Symfony\Component\Console\Input\InputInterface;
2323
use Symfony\Component\Console\Input\InputOption;
2424
use Symfony\Component\Console\Output\OutputInterface;
25-
use Google\Cloud\Utils\WordPressProject;
25+
use Google\Cloud\Utils\WordPress\Project;
2626

2727
$application = new Application('Wordpress Helper');
2828
$application->add(new Command('setup'))
2929
->setDescription('Setup WordPress on GCP')
30-
->addOption('dir', null, InputOption::VALUE_REQUIRED, 'Directory for the new project', WordPressProject::DEFAULT_DIR)
30+
->addOption('dir', null, InputOption::VALUE_REQUIRED, 'Directory for the new project', Project::DEFAULT_DIR)
3131
->addOption('project_id', null, InputOption::VALUE_REQUIRED, 'Google Cloud project id')
3232
->addOption('db_region', null, InputOption::VALUE_REQUIRED, 'Cloud SQL region')
3333
->addOption('db_instance', null, InputOption::VALUE_REQUIRED, 'Cloud SQL instance id', 'wp')
@@ -36,9 +36,9 @@
3636
->addOption('db_password', null, InputOption::VALUE_REQUIRED, 'Cloud SQL database password')
3737
->addOption('local_db_user', null, InputOption::VALUE_REQUIRED, 'Local SQL database username')
3838
->addOption('local_db_password', null, InputOption::VALUE_REQUIRED, 'Local SQL database password')
39-
->addOption('wordpress_url', null, InputOption::VALUE_REQUIRED, 'URL of the WordPress archive', WordPressProject::LATEST_WP)
39+
->addOption('wordpress_url', null, InputOption::VALUE_REQUIRED, 'URL of the WordPress archive', Project::LATEST_WP)
4040
->setCode(function (InputInterface $input, OutputInterface $output) {
41-
$wordpress = new WordPressProject($input, $output);
41+
$wordpress = new Project($input, $output);
4242

4343
// Run the wizard to prompt user for project and database parameters.
4444
$dir = $wordpress->initializeProject();

appengine/php72/errorreporting/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"google/cloud-error-reporting": "^0.10"
3+
"google/cloud-error-reporting": "^0.14.1"
44
},
55
"require-dev": {
66
"phpunit/phpunit": "^5",

appengine/php72/grpc/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"require": {
3-
"google/cloud-spanner": "^1.6",
4-
"google/cloud-monitoring": "^0.11",
5-
"google/cloud-speech": "^0.15"
3+
"google/cloud-spanner": "^1.15.0",
4+
"google/cloud-monitoring": "^0.16.1",
5+
"google/cloud-speech": "^0.23.1"
66
},
77
"require-dev": {
88
"google/cloud-tools": "^0.6.7",

appengine/php72/tasks/snippets/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"google/cloud-tasks": "^0.9.0"
3+
"google/cloud-tasks": "^0.10.0"
44
},
55
"require-dev": {
66
"phpunit/phpunit": "^5",

asset/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"google/cloud-storage": "^1.9",
4-
"google/cloud-asset": "^0.2.0",
4+
"google/cloud-asset": "^0.3.1",
55
"symfony/console": " ^3.0"
66
},
77
"autoload": {

bigquerydatatransfer/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": ">=5.4",
4-
"google/cloud-bigquerydatatransfer": "^0.3.2"
4+
"google/cloud-bigquerydatatransfer": "^0.10.1"
55
},
66
"require-dev": {
77
"phpunit/phpunit": "~4"

bigtable/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"google/cloud-bigtable": "^0.10.1"
3+
"google/cloud-bigtable": "^0.12.1"
44
},
55
"require-dev": {
66
"google/cloud-tools": "^0.8",

debugger/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "project",
44
"require": {
55
"php": ">= 7.0",
6-
"google/cloud-debugger": "^0.1.0",
6+
"google/cloud-debugger": "^0.18.1",
77
"silex/silex": "~2.0",
88
"twig/twig": "^2.3"
99
},

dlp/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "google/dlp-sample",
33
"type": "project",
44
"require": {
5-
"google/cloud-dlp": "^0.15.2",
6-
"google/cloud-pubsub": "^1.8",
5+
"google/cloud-dlp": "^0.18.1",
6+
"google/cloud-pubsub": "^1.11.1",
77
"symfony/console": "^3.3"
88
},
99
"autoload": {

endpoints/getting-started/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"require": {
33
"silex/silex": " ^1.3",
44
"symfony/console": " ^3.0",
5-
"google/auth": "^0.11"
5+
"google/auth": "^1.5.1"
66
},
77
"require-dev": {
88
"google/cloud-tools": "^0.6",

error_reporting/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"google/cloud-error-reporting": "^0.12.3"
3+
"google/cloud-error-reporting": "^0.14.1"
44
},
55
"require-dev": {
66
"phpunit/phpunit": "~4.8",

firestore/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"google/cloud-firestore": "~0.15",
3+
"google/cloud-firestore": "^1.4.1",
44
"symfony/console": "^3.0"
55
},
66
"require-dev": {

iot/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "google/iot-sample",
33
"type": "project",
44
"require": {
5-
"google/cloud-iot": "^0.6.0",
5+
"google/cloud-iot": "^0.7.1",
66
"symfony/console": "^3.3"
77
},
88
"autoload": {

kms/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"google/cloud-kms": "^0.4.3"
3+
"google/cloud-kms": "^1.3.1"
44
},
55
"require-dev": {
66
"phpunit/phpunit": "^5",

monitoring/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"symfony/console": "^3.3",
4-
"google/cloud-monitoring": "^0.13.0"
4+
"google/cloud-monitoring": "^0.16.1"
55
},
66
"autoload": {
77
"files": [

pubsub/quickstart/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": ">=5.4",
4-
"google/cloud-pubsub": "^0.12"
4+
"google/cloud-pubsub": "^1.11.1"
55
},
66
"require-dev": {
77
"phpunit/phpunit": "~4.8"

tasks/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"google/cloud-tasks": "^0.9.0"
3+
"google/cloud-tasks": "^0.10.0"
44
},
55
"require-dev": {
66
"phpunit/phpunit": "^5",

texttospeech/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"google/cloud-text-to-speech": "^0.2.1",
3+
"google/cloud-text-to-speech": "^0.4.1",
44
"symfony/console": "^3.0"
55
},
66
"require-dev": {

trace/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
33
"opencensus/opencensus": "^0.2.1",
4-
"google/cloud-trace": "^0.6.2"
4+
"google/cloud-trace": "^0.14.1"
55
}
66
}

vision/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "google/vision",
33
"type": "project",
44
"require": {
5-
"google/cloud-vision": "^0.19",
5+
"google/cloud-vision": "^0.21.1",
66
"google/cloud-storage": "^1.3",
77
"symfony/console": "^3.1"
88
},

0 commit comments

Comments
 (0)