souls 0.63.1 → 0.63.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/README.md +3 -34
- data/lib/souls/cli/generate/application.rb +2 -2
- data/lib/souls/cli/generate/mutation.rb +2 -2
- data/lib/souls/cli/init/index.rb +3 -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 +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8443218b427d92c7252f85d69661f9a6ca9dc8e720caea130c587ecdb3273869
|
4
|
+
data.tar.gz: cbec1e6d277c379740a1b17beb6cead17538173f21a3236b81157ab7ccc24c68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad677a57d73d5a7f72520c1af9dad3b1967778a3447f15b5a7df4fa74b7c4b1b609b187ddc15a1c3be6d24da15beae2430cc0ec8fdc920f1ceed436cc001ec34
|
7
|
+
data.tar.gz: 6e7a7aa9dd491f03c05ee2d011e6f2b965db33fc3ec052211771ff016b20d49a95db6e2aea6e36e0467800b6829feec29de0475cb87447739ac790a7af90ca02
|
data/README.md
CHANGED
@@ -21,17 +21,12 @@
|
|
21
21
|
|
22
22
|
Welcome to SOULs Serverless Application Framework!
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
SOULs バックエンドには `API` と `Worker` の 2 つのタイプがあります。
|
28
|
-
`API` は主にデータをフロントエンドへ提供します。`Worker` は主に `タスク` の処理を行います
|
24
|
+
- Focus on business logic in serverless environment
|
25
|
+
- Maximize development efficiency with CI / CD standard schema-driven Scaffold
|
26
|
+
- Achieve global scale with lower management costs
|
29
27
|
|
30
28
|

|
31
29
|
|
32
|
-
現在のバージョンでは SOULs `API` と `Worker` を Github Actions を使って Google Cloud Run へそれぞれデプロイします。
|
33
|
-
|
34
|
-
SOULs フレームワークでは [Monorepo](https://en.wikipedia.org/wiki/Monorepo) によって一つのパッケージでアプリケーションを管理します。
|
35
30
|
|
36
31
|
SOULs creates 2 types of framework.
|
37
32
|
|
@@ -79,41 +74,15 @@ And Create Your APP
|
|
79
74
|
|
80
75
|
$ souls new app_name
|
81
76
|
$ cd apps/api/app_name
|
82
|
-
$ bundle
|
83
77
|
$ souls s
|
84
78
|
|
85
79
|
Check your GraphQL PlayGround
|
86
80
|
|
87
81
|
[localhost:4000/playground](localhost:4000/playground)
|
88
82
|
|
89
|
-
## Gemfile 自動更新アップデート
|
90
|
-
|
91
|
-
`Gemfile`, `Gemfile.lock` を最新のバージョンに自動更新します。
|
92
|
-
|
93
|
-
```
|
94
|
-
souls upgrade gemfile
|
95
|
-
```
|
96
|
-
|
97
|
-
除外したい `gem` は `config/souls.rb` 内の
|
98
|
-
`config.fixed_gems` の配列に追加します。
|
99
|
-
|
100
|
-
```ruby
|
101
|
-
Souls.configure do |config|
|
102
|
-
config.app = "souls-api"
|
103
|
-
config.project_id = "souls-api"
|
104
|
-
config.region = "asia-northeast1"
|
105
|
-
config.endpoint = "/endpoint"
|
106
|
-
config.strain = "api"
|
107
|
-
config.fixed_gems = ["selenium-webdriver"]
|
108
|
-
config.workers = []
|
109
|
-
end
|
110
|
-
```
|
111
83
|
|
112
84
|
## SOULs Serverless Application Framework Document
|
113
85
|
|
114
|
-
SOULs サーバーレスアプリケーションフレームワーク
|
115
|
-
ドキュメントはこちらから
|
116
|
-
|
117
86
|
- [SOULs Document](https://souls.elsoul.nl/)
|
118
87
|
|
119
88
|
## Development
|
@@ -5,9 +5,9 @@ module Souls
|
|
5
5
|
def scaffold(class_name)
|
6
6
|
singularized_class_name = class_name.singularize
|
7
7
|
if options[:rbs]
|
8
|
-
run_scaffold(class_name: singularized_class_name)
|
9
|
-
else
|
10
8
|
run_rbs_scaffold(class_name: singularized_class_name)
|
9
|
+
else
|
10
|
+
run_scaffold(class_name: singularized_class_name)
|
11
11
|
end
|
12
12
|
true
|
13
13
|
rescue Thor::Error => e
|
@@ -23,7 +23,7 @@ module Souls
|
|
23
23
|
def create_mutation(class_name: "user")
|
24
24
|
file_path = ""
|
25
25
|
singularized_class_name = class_name.singularize.underscore
|
26
|
-
Dir.chdir(Souls.
|
26
|
+
Dir.chdir(Souls.get_api_path.to_s) do
|
27
27
|
file_dir = "./app/graphql/mutations/base/#{singularized_class_name}"
|
28
28
|
FileUtils.mkdir_p(file_dir) unless Dir.exist?(file_dir)
|
29
29
|
file_path = "#{file_dir}/create_#{singularized_class_name}.rb"
|
@@ -37,7 +37,7 @@ module Souls
|
|
37
37
|
class Create#{singularized_class_name.camelize} < BaseMutation
|
38
38
|
field :#{singularized_class_name}_edge, Types::#{singularized_class_name.camelize}Type.edge_type, null: false
|
39
39
|
field :error, String, null: true
|
40
|
-
|
40
|
+
|
41
41
|
def resolve(args)
|
42
42
|
TEXT
|
43
43
|
end
|
data/lib/souls/cli/init/index.rb
CHANGED
@@ -14,9 +14,11 @@ module Souls
|
|
14
14
|
download_github_actions(app_name: app_name)
|
15
15
|
initial_config_init(app_name: app_name, service_name: service_name)
|
16
16
|
system("cd #{app_name} && git init --initial-branch=main")
|
17
|
+
|
17
18
|
system(
|
18
19
|
"
|
19
|
-
cd #{app_name} &&
|
20
|
+
cd #{app_name} &&
|
21
|
+
git submodule add -f https://github.com/ruby/gem_rbs_collection.git vendor/rbs/gem_rbs_collection
|
20
22
|
"
|
21
23
|
)
|
22
24
|
souls_api_credit(app_name: app_name, service_name: service_name)
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.42.
|
1
|
+
0.42.5
|
@@ -1 +1 @@
|
|
1
|
-
0.42.
|
1
|
+
0.42.5
|
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: 0.63.
|
4
|
+
version: 0.63.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
@@ -111,8 +111,13 @@ dependencies:
|
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: 1.1.0
|
113
113
|
description: |-
|
114
|
-
|
115
|
-
|
114
|
+
Welcome to SOULs Serverless Application Framework!
|
115
|
+
|
116
|
+
- Focus on business logic in serverless environment
|
117
|
+
|
118
|
+
- Maximize development efficiency with CI / CD standard schema-driven Scaffold
|
119
|
+
|
120
|
+
- Achieve global scale with lower management costs
|
116
121
|
email:
|
117
122
|
- f.kawasaki@elsoul.nl
|
118
123
|
- s.kishi@elsoul.nl
|
@@ -220,6 +225,7 @@ requirements: []
|
|
220
225
|
rubygems_version: 3.2.22
|
221
226
|
signing_key:
|
222
227
|
specification_version: 4
|
223
|
-
summary: SOULs
|
224
|
-
|
228
|
+
summary: Welcome to SOULs Serverless Application Framework! - Focus on business logic
|
229
|
+
in serverless environment - Maximize development efficiency with CI / CD standard
|
230
|
+
schema-driven Scaffold - Achieve global scale with lower management costs
|
225
231
|
test_files: []
|