souls 3.0.0 β 3.0.1
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/README.md +5 -5
- data/lib/souls/cli/gcloud/iam/index.rb +17 -19
- 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: ba8abd3fb3cbb9ba8a09c09568d7029159ec3815b297dab1b018f1d889a9c854
|
|
4
|
+
data.tar.gz: 2e2653aaa3afc843be86fba1447f394c66fc2dff0e6c955e9fb04ddc0a8ff0cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 72aad9f638070d777dd17c237946a7df9b865e4de701fb3ca3c37acf6190c4ee12afd7da578ab2209fc38feb56f7d44c9bcf39b9f85ce47fd422c06d74f8b783
|
|
7
|
+
data.tar.gz: 398a5ca12dacc49a7f779b4961165539a93fcf433be32151afa33ee89722a5e7cdf91f8ed39e6aa9ee3592b322c44235e258d9d6a48ec3757868b26e61cc67e6
|
data/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
[](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
|
-

|
|
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
|
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.1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1
|
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.1
|
|
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-26 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
|