souls 1.19.4 → 1.19.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/souls/cli/create/templates/go/function.rb +1 -2
- data/lib/souls/cli/create/templates/nodejs/index.rb +1 -2
- data/lib/souls/cli/create/templates/python/main.rb +1 -2
- data/lib/souls/cli/gcloud/index.rb +1 -0
- data/lib/souls/version.rb +1 -1
- data/lib/souls/versions/.souls_api_version +1 -1
- data/lib/souls/versions/.souls_worker_version +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba1ab0e3e8b972c9c6abf4462bf73d6d957e0b0da397c840fd4a1d309bd18428
|
4
|
+
data.tar.gz: 8f5c7235b5ad3a3684890f16ceb6c69437c338e6d20f487623436eeb89d7a533
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a55046924033c845df7a2bd2be75cd1ef89fa2bb491fa6d31c394198baa27920e5835a42fb224b90fffcb4cfb9deacc5a74a5f3a7e1b46c868873f11fd325633
|
7
|
+
data.tar.gz: 9cc31276f563aaf98e8212cddababd35c2875f5f10c4d33a285f7559b4d080545ddb39b824b43a26396f0ddda8f948bd01b84831ac8e1c22925d5f48029448ae
|
@@ -1,7 +1,6 @@
|
|
1
1
|
module Template
|
2
2
|
module Go
|
3
3
|
def self.function(file_name)
|
4
|
-
file_name.underscore.camelize
|
5
4
|
<<~APP
|
6
5
|
// Package p contains an HTTP Cloud Function.
|
7
6
|
package p
|
@@ -17,7 +16,7 @@ module Template
|
|
17
16
|
|
18
17
|
// HelloWorld prints the JSON encoded "message" field in the body
|
19
18
|
// of the request or "Hello, World!" if there isn't one.
|
20
|
-
func #{file_name}(w http.ResponseWriter, r *http.Request) {
|
19
|
+
func #{file_name.underscore.camelize}(w http.ResponseWriter, r *http.Request) {
|
21
20
|
var d struct {
|
22
21
|
Message string `json:"message"`
|
23
22
|
}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
module Template
|
2
2
|
module Nodejs
|
3
3
|
def self.index(file_name)
|
4
|
-
file_name.underscore.camelize(:lower)
|
5
4
|
<<~APP
|
6
5
|
const express = require('express');
|
7
6
|
const bodyParser = require('body-parser');
|
@@ -20,7 +19,7 @@ module Template
|
|
20
19
|
app.post('/souls-functions-post', (req, res)=>{
|
21
20
|
res.json(req.body)
|
22
21
|
});
|
23
|
-
exports.#{file_name} = app;
|
22
|
+
exports.#{file_name.underscore.camelize(:lower)} = app;
|
24
23
|
APP
|
25
24
|
end
|
26
25
|
end
|
@@ -63,6 +63,7 @@ module SOULs
|
|
63
63
|
system("gcloud services enable translate.googleapis.com")
|
64
64
|
system("gcloud services enable firestore.googleapis.com")
|
65
65
|
system("gcloud services enable cloudfunctions.googleapis.com")
|
66
|
+
system("gcloud services enable cloudbuild.googleapis.com")
|
66
67
|
end
|
67
68
|
end
|
68
69
|
end
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.19.
|
1
|
+
1.19.5
|
@@ -1 +1 @@
|
|
1
|
-
1.19.
|
1
|
+
1.19.5
|