souls 0.23.9 → 0.24.0
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/Gemfile.lock +1 -1
- data/README.md +34 -5
- data/config/souls.rb +7 -3
- data/lib/souls.rb +3 -1
- data/lib/souls/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b052d6dae1a6c0847f3fcb32dc77bde6ea698c642f2e3e667bffb940e6e2ed54
|
4
|
+
data.tar.gz: 556817e4f1cd69a831a08d59e6498b8472351c786e6c9f97f489f03b8a29e3f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5240e15e169064d3bf6b91a91be906a996079bcf625211b51c10bc07aefde0d62830956a8a7a2ff1e2ba0012dad4453ad7240a3dd1439ea20eca585a69514038
|
7
|
+
data.tar.gz: 0641f3caf5426483944c66f77258bca8739f720e02b9451d33a04ab3e6bb5942bf12795c1d12a3a1fe460b2835fad732c5d8c27a8b650c7cf0a383cda210d5e1
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -19,10 +19,10 @@
|
|
19
19
|
|
20
20
|
## What's SOULs?
|
21
21
|
|
22
|
-
Welcome to SOULs Framework!
|
22
|
+
Welcome to SOULs Serverless Application Framework!
|
23
23
|
|
24
|
-
SOULs is a Serverless Application Framework.
|
25
|
-
SOULs has six strains, API, Worker, Console, Admin, Media, Doc, and can be used in combination according to the purpose. SOULs Backend GraphQL Ruby & Frontend Relay are Scalable and Easy to deploy to Google Cloud.
|
24
|
+
SOULs is a Serverless Application Framework with GraphQL.
|
25
|
+
SOULs has six strains, API, Worker, Console, Admin, Media, Doc, and can be used in combination according to the purpose. SOULs Backend GraphQL Ruby & Frontend Relay are Scalable and Easy to deploy to Google Cloud. No more routing for Backends!
|
26
26
|
You can focus on your business logic. No more infra problems.
|
27
27
|
|
28
28
|
SOULs creates 6 types of framework.
|
@@ -74,7 +74,7 @@ And Create Your APP
|
|
74
74
|
|
75
75
|
$ souls new app_name
|
76
76
|
|
77
|
-
|
77
|
+
## Choose SOULs Type:
|
78
78
|
|
79
79
|
Select Strain:
|
80
80
|
1. SOULs GraphQL API
|
@@ -85,8 +85,37 @@ Select Strain:
|
|
85
85
|
6. SOULs Doc Web
|
86
86
|
|
87
87
|
|
88
|
-
##
|
88
|
+
## Gemfile 自動更新アップデート
|
89
89
|
|
90
|
+
`Gemfile`, `Gemfile.lock` を最新のバージョンに自動更新します。
|
91
|
+
|
92
|
+
```
|
93
|
+
souls gem:update
|
94
|
+
```
|
95
|
+
|
96
|
+
|
97
|
+
除外したい `gem` は `config/souls.rb` 内の
|
98
|
+
`config.fixed_gems` の配列に追加します。
|
99
|
+
|
100
|
+
|
101
|
+
```ruby
|
102
|
+
Souls.configure do |config|
|
103
|
+
config.app = "souls-api"
|
104
|
+
config.project_id = "souls-api"
|
105
|
+
config.strain = "worker"
|
106
|
+
config.api_repo = "elsoul/souls_api"
|
107
|
+
config.worker_repo = "elsoul/souls_worker"
|
108
|
+
config.worker_endpoint = "https://worker.com"
|
109
|
+
config.fixed_gems = ["selenium-webdriver", "pg"]
|
110
|
+
end
|
111
|
+
```
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
## SOULs Serverless Application Framework Document
|
116
|
+
|
117
|
+
SOULs サーバーレスアプリケーションフレームワーク
|
118
|
+
ドキュメントはこちらから
|
90
119
|
- [SOULs Document](https://souls.elsoul.nl/)
|
91
120
|
|
92
121
|
|
data/config/souls.rb
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
Souls.configure do |config|
|
2
|
-
config.app = "souls-
|
3
|
-
config.project_id = "
|
4
|
-
config.strain = "
|
2
|
+
config.app = "souls-api"
|
3
|
+
config.project_id = "souls-api"
|
4
|
+
config.strain = "worker"
|
5
|
+
config.api_repo = "elsoul/souls_api"
|
6
|
+
config.worker_repo = "elsoul/souls_worker"
|
7
|
+
config.worker_endpoint = "https://worker.com"
|
8
|
+
config.fixed_gems = []
|
5
9
|
end
|
data/lib/souls.rb
CHANGED
@@ -97,6 +97,7 @@ module Souls
|
|
97
97
|
url = URI("https://rubygems.org/api/v1/versions/#{gem[0]}/latest.json")
|
98
98
|
res = Net::HTTP.get_response(url)
|
99
99
|
data = JSON.parse(res.body)
|
100
|
+
next if Souls.configuration.fixed_gems.include?(gem[0].to_s)
|
100
101
|
next if data["version"].to_s == gem[1].to_s
|
101
102
|
|
102
103
|
updated_lines << if from_dev
|
@@ -185,7 +186,7 @@ module Souls
|
|
185
186
|
end
|
186
187
|
|
187
188
|
class Configuration
|
188
|
-
attr_accessor :app, :strain, :project_id, :worker_repo, :api_repo, :worker_endpoint
|
189
|
+
attr_accessor :app, :strain, :project_id, :worker_repo, :api_repo, :worker_endpoint, :fixed_gems
|
189
190
|
|
190
191
|
def initialize
|
191
192
|
@app = nil
|
@@ -194,6 +195,7 @@ module Souls
|
|
194
195
|
@worker_repo = nil
|
195
196
|
@api_repo = nil
|
196
197
|
@worker_endpoint = nil
|
198
|
+
@fixed_gems = nil
|
197
199
|
end
|
198
200
|
end
|
199
201
|
end
|
data/lib/souls/version.rb
CHANGED
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.
|
4
|
+
version: 0.24.0
|
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: 2021-07-
|
13
|
+
date: 2021-07-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: paint
|