souls 3.0.0 β 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/souls/app/utils/firebase_id_token.rb +1 -1
- data/lib/souls/cli/gcloud/iam/index.rb +17 -19
- data/lib/souls/cli/gcloud/sql/index.rb +2 -0
- data/lib/souls/cli/generate/application.rb +0 -1
- data/lib/souls/cli/init/index.rb +0 -1
- 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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d3babad172af1814a9eed6df548fc776af7cc6b07115ada1ae6d591a30339f2
|
4
|
+
data.tar.gz: 3ee402c61ecb88fb85dd012d45f11f2eb5db3c7593690f92d71ae4251c6e3975
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f29afb6e940bcd1639820a8124d7ec812b3508fa9fbc9788541c0e3e2a8b71df8dae3bc80dd4e01483716c50132be3361ab62c992ce0f1283641739f7ec79b16
|
7
|
+
data.tar.gz: 843d17bcd277c7ea7fda030acc3ca23572ee36c149e9c8b8ad52f2a45422ddd054bebb3ae1ae628415ed21319a1aa08d635c3888c0ad983f7429fe03b44443cb
|
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
[![SOULs](https://
|
1
|
+
[![SOULs](https://storage.googleapis.com/souls-bucket/imgs/SOULs-ogp.jpg)](https://souls.elsoul.nl)
|
2
2
|
|
3
3
|
<p align="center">
|
4
4
|
<a aria-label="Ruby logo" href="https://el-soul.com">
|
5
5
|
<img src="https://badgen.net/badge/icon/Made%20by%20ELSOUL?icon=ruby&label&color=black&labelColor=black">
|
6
6
|
</a>
|
7
|
-
<a href="https://twitter.com/intent/follow?screen_name=
|
8
|
-
<img src="https://img.shields.io/twitter/follow/
|
7
|
+
<a href="https://twitter.com/intent/follow?screen_name=ELSOUL_LABO2">
|
8
|
+
<img src="https://img.shields.io/twitter/follow/ELSOUL_LABO2.svg?label=Follow%20@ELSOUL_LABO2" alt="Follow @ELSOUL_LABO2" />
|
9
9
|
</a>
|
10
10
|
<br/>
|
11
11
|
|
@@ -33,7 +33,7 @@
|
|
33
33
|
|
34
34
|
<p>
|
35
35
|
<a aria-label="Ruby Serverless Application Framework SOULs Document" href="https://souls.elsoul.nl/">
|
36
|
-
<img src="https://
|
36
|
+
<img src="https://storage.googleapis.com/souls-bucket/imgs/souls-new-video.gif">
|
37
37
|
</a>
|
38
38
|
</p>
|
39
39
|
|
@@ -50,7 +50,7 @@ Powered by Ruby GraphQL, Active Record, RSpec, RuboCop, and Google Cloud.
|
|
50
50
|
- Maximize development efficiency with CI / CD standard schema-driven Scaffold
|
51
51
|
- Achieve global scale with lower management costs
|
52
52
|
|
53
|
-
![SOULs Architecture](https://
|
53
|
+
![SOULs Architecture](https://storage.googleapis.com/souls-bucket/imgs/SOULs-architecture.jpg)
|
54
54
|
|
55
55
|
SOULs creates 3 types of App.
|
56
56
|
|
@@ -2,25 +2,23 @@ module SOULs
|
|
2
2
|
class Iam < Thor
|
3
3
|
desc "setup_key", "Create Google Cloud IAM Service Account Key And Set All Permissions"
|
4
4
|
def setup_key
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
export_key_to_console
|
23
|
-
end
|
5
|
+
SOULs::Painter.sync("Setting up credentials and permissions...")
|
6
|
+
region = SOULs.configuration.region
|
7
|
+
SOULs::Gcloud.new.auth_login
|
8
|
+
SOULs::Upgrade.new.config
|
9
|
+
create_service_account
|
10
|
+
create_service_account_key
|
11
|
+
SOULs::Gcloud.new.enable_permissions
|
12
|
+
add_permissions
|
13
|
+
begin
|
14
|
+
system("gcloud app create --region=#{region} --quiet")
|
15
|
+
rescue StandardError, error
|
16
|
+
puts("gcloud app region is Already exist! - SOULs::Gcloud::Iam.setup_key")
|
17
|
+
end
|
18
|
+
begin
|
19
|
+
set_gh_secret_json
|
20
|
+
rescue StandardError
|
21
|
+
export_key_to_console
|
24
22
|
end
|
25
23
|
SOULs::Painter.success("You're all set!")
|
26
24
|
true
|
@@ -68,6 +68,7 @@ module SOULs
|
|
68
68
|
SOULS_DB_PW=#{db_password}
|
69
69
|
SOULS_DB_USER=postgres
|
70
70
|
SOULS_GCP_PROJECT_ID=#{project_id}
|
71
|
+
SOULS_FB_PROJECT_ID=#{project_id}
|
71
72
|
SOULS_SECRET_KEY_BASE='#{SecureRandom.base64(64)}'
|
72
73
|
TZ="#{region_to_timezone(region:)}"
|
73
74
|
TEXT
|
@@ -84,6 +85,7 @@ module SOULs
|
|
84
85
|
SOULS_DB_USER=postgres
|
85
86
|
SOULS_APP_NAME=#{app_name}
|
86
87
|
SOULS_GCP_PROJECT_ID=#{project_id}
|
88
|
+
SOULS_FB_PROJECT_ID=#{project_id}
|
87
89
|
SOULS_GCP_REGION=#{region}
|
88
90
|
SOULS_GCLOUDSQL_INSTANCE="#{project_id}:#{region}:#{instance_name}"
|
89
91
|
SOULS_SECRET_KEY_BASE='#{SecureRandom.base64(64)}'
|
data/lib/souls/cli/init/index.rb
CHANGED
@@ -153,7 +153,6 @@ module SOULs
|
|
153
153
|
system("tar -zxvf ./#{file_name} -C #{app_name}/apps/")
|
154
154
|
FileUtils.rm(file_name)
|
155
155
|
|
156
|
-
|
157
156
|
system("cd #{app_name} && curl -OL #{@bucket_url}/rubocop.yml && mv rubocop.yml .rubocop.yml")
|
158
157
|
get_latest_gem(app_name)
|
159
158
|
system("cd #{app_name} && curl -OL #{@bucket_url}/Procfile.dev")
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.3
|
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.3
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: souls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-08-
|
13
|
+
date: 2022-08-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -307,7 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
307
307
|
- !ruby/object:Gem::Version
|
308
308
|
version: '0'
|
309
309
|
requirements: []
|
310
|
-
rubygems_version: 3.3.
|
310
|
+
rubygems_version: 3.3.7
|
311
311
|
signing_key:
|
312
312
|
specification_version: 4
|
313
313
|
summary: Ruby Serverless Framework 'SOULs' | Ruby γ΅γΌγγΌγ¬γΉγγ¬γΌγ γ―γΌγ― SOULs. Powered by
|