souls 4.0.2 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43c6ba4ce3021d8bb89f79b5a282d4e32c5c4ad11abcf68b9df915c26bbdbf79
|
4
|
+
data.tar.gz: a287e9736b4bc74b578ec30d0b83775719381f16d9e2dd0ee0092512e1b616ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bca96265655419acf690def5660d4136e59e570a3636cc10727581cb76db135fa01abdbdb038f1c98fe5317627d825e4d772b65b6d3948888932df666250b97
|
7
|
+
data.tar.gz: 155b1ba4c8df448ec0a8dd8a1d63effaed56ca9ff823d61c37aad872ed4a3e0b51d981b035e51f3f5a83e4b667d5c3cd8ddb2c26444697407a747ddaca64017d
|
@@ -1,17 +1,15 @@
|
|
1
1
|
module SOULs
|
2
2
|
class Pubsub < Thor
|
3
3
|
desc "create_topic", "Create Google Cloud Pubsub Topic"
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
desc: "Google Cloud Pubsub Topic Name"
|
8
|
-
def create_topic
|
9
|
-
system("gcloud pubsub topics create #{options[:topic_name]}")
|
4
|
+
def create_topic(topic_name)
|
5
|
+
project = SOULs.configuration.project_id
|
6
|
+
system("gcloud pubsub topics create #{topic_name} --project=#{project}")
|
10
7
|
end
|
11
8
|
|
12
9
|
desc "topic_list", "Show Google Cloud Topic List"
|
13
10
|
def topic_list
|
14
|
-
|
11
|
+
project = SOULs.configuration.project_id
|
12
|
+
system("gcloud pubsub topics list --project=#{project}")
|
15
13
|
end
|
16
14
|
end
|
17
15
|
end
|
data/lib/souls/cli.rb
CHANGED
@@ -62,26 +62,22 @@ module SOULs
|
|
62
62
|
|
63
63
|
desc "build", "Run Docker Build"
|
64
64
|
def build
|
65
|
-
|
66
|
-
system("docker build . -t #{app}")
|
65
|
+
system("bundle exec rake build")
|
67
66
|
end
|
68
67
|
|
69
68
|
desc "tag", "Run Docker Tag"
|
70
69
|
def tag
|
71
|
-
|
72
|
-
app = souls_config.app
|
73
|
-
gcr = souls_config.gcr_region
|
74
|
-
project_id = souls_config.project_id
|
75
|
-
system("docker tag #{app}:latest #{gcr}/#{project_id}/#{app}:latest")
|
70
|
+
system("bundle exec rake tag")
|
76
71
|
end
|
77
72
|
|
78
73
|
desc "push", "Run Docker Push"
|
79
74
|
def push
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
75
|
+
system("bundle exec rake push")
|
76
|
+
end
|
77
|
+
|
78
|
+
desc "deploy", "Deploy to Google Cloud Run"
|
79
|
+
def deploy
|
80
|
+
system("bundle exec rake deploy")
|
85
81
|
end
|
86
82
|
|
87
83
|
def self.exit_on_failure?
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.0.
|
1
|
+
4.0.3
|
@@ -1 +1 @@
|
|
1
|
-
4.0.
|
1
|
+
4.0.3
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: souls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
8
8
|
- KishiTheMechanic
|
9
9
|
- James Neve
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-09-
|
13
|
+
date: 2022-09-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -292,7 +292,7 @@ licenses:
|
|
292
292
|
- Apache-2.0
|
293
293
|
metadata:
|
294
294
|
rubygems_mfa_required: 'true'
|
295
|
-
post_install_message:
|
295
|
+
post_install_message:
|
296
296
|
rdoc_options: []
|
297
297
|
require_paths:
|
298
298
|
- lib
|
@@ -308,7 +308,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
308
308
|
version: '0'
|
309
309
|
requirements: []
|
310
310
|
rubygems_version: 3.3.7
|
311
|
-
signing_key:
|
311
|
+
signing_key:
|
312
312
|
specification_version: 4
|
313
313
|
summary: Ruby Serverless Framework 'SOULs' | Ruby サーバーレスフレームワーク SOULs. Powered by
|
314
314
|
Ruby GraphQL, Active Record, RSpec, RuboCop, and Google Cloud.
|