souls 0.53.2 → 0.53.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: 20dd660767b217c4102790845036b7a3de0616dbe046f5e17162db74d06a3481
4
- data.tar.gz: efabbaace9cea8e00187016ee71f7743a6955da090c51e9e90f16e43693f3f9c
3
+ metadata.gz: e40337225252207ee584a0792eb682563c6ff954e52f3e5da2f149556472028d
4
+ data.tar.gz: 4ea2367b590925117d927bf9e0098d11d93e0ad8e407f48dad8a630628147cb9
5
5
  SHA512:
6
- metadata.gz: a5bb3e33daf9c1ad8a12aa2dc2c7c3bbeb949df3b86d24cb8d5ac07cb63d7b6735666189739e4e41fa7f9ef602175f02e5345a21aa1c04152e4f98b67022f721
7
- data.tar.gz: 4c2365dd95422055ee7f67155b9fcd461b40e24b3499bffa44df7426039e846746100fea2ec02038fc0cefa012ae995354cd68b9b7a362d02c57a0fbe5772c31
6
+ metadata.gz: 15c47b58b66cf2a6765baca1027580ab3850ca8687c8e443323a1d37f1026a70c148184d86eb39d550e0f053765e63c8b53b493a700d7ceea9fdad7305fdef2c
7
+ data.tar.gz: cc5b188f99c0a82572c9a4f3abefd1ec743d3e973111a329b7765737967c90d8cee5f9cd58dcd4b8ff68c3f8ac771022142b97ca55584d87a1dc96579c972133
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![SOULs](https://storage.googleapis.com/souls/souls-ogp-vertical.jpg)](https://rubygems.org/gems/souls)
1
+ [![SOULs](https://souls.elsoul.nl/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">
@@ -27,7 +27,7 @@ SOULs はサーバーレスフルスタックフレームワークです。柔
27
27
  SOULs バックエンドには `API` と `Worker` の 2 つのタイプがあります。
28
28
  `API` は主にデータをフロントエンドへ提供します。`Worker` は主に `タスク` の処理を行います
29
29
 
30
- ![画像](https://storage.googleapis.com/souls-bucket/imgs/souls-structure.jpg)
30
+ ![画像](https://souls.elsoul.nl/imgs/docs/SOULs.jpg)
31
31
 
32
32
  現在のバージョンでは SOULs `API` と `Worker` を Github Actions を使って Google Cloud Run へそれぞれデプロイします。
33
33
 
@@ -86,8 +86,6 @@ Check your GraphQL PlayGround
86
86
 
87
87
  (localhost:4000/playground)[localhost:4000/playground]
88
88
 
89
-
90
-
91
89
  ## Gemfile 自動更新アップデート
92
90
 
93
91
  `Gemfile`, `Gemfile.lock` を最新のバージョンに自動更新します。
@@ -96,11 +94,9 @@ Check your GraphQL PlayGround
96
94
  souls upgrade gemfile
97
95
  ```
98
96
 
99
-
100
97
  除外したい `gem` は `config/souls.rb` 内の
101
98
  `config.fixed_gems` の配列に追加します。
102
99
 
103
-
104
100
  ```ruby
105
101
  Souls.configure do |config|
106
102
  config.app = "souls-api"
@@ -113,15 +109,12 @@ Souls.configure do |config|
113
109
  end
114
110
  ```
115
111
 
116
-
117
-
118
112
  ## SOULs Serverless Application Framework Document
119
113
 
120
114
  SOULs サーバーレスアプリケーションフレームワーク
121
115
  ドキュメントはこちらから
122
- - [SOULs Document](https://souls.elsoul.nl/)
123
-
124
116
 
117
+ - [SOULs Document](https://souls.elsoul.nl/)
125
118
 
126
119
  ## Development
127
120
 
@@ -22,7 +22,8 @@ module Souls
22
22
 
23
23
  desc "get_endpoint", "Show Worker's Endpoint"
24
24
  def get_endpoint(worker_name: "")
25
- `gcloud run services list | grep #{worker_name} | awk '{print $4}'`
25
+ project_id = Souls.configuration.project_id if project_id.blank?
26
+ `gcloud run services list --project #{project_id} --platform managed | grep #{worker_name} | awk '{print $4}'`
26
27
  rescue Thor::Error => e
27
28
  raise(Thor::Error, e)
28
29
  end
@@ -36,7 +36,7 @@ module Souls
36
36
 
37
37
  new_line.write(" config.workers = [\n")
38
38
  workers.each_with_index do |worker, i|
39
- base_url = Souls::Gcloud::Run.new.get_endpoint(worker_name: worker[:name])
39
+ base_url = Souls::CloudRun.new.get_endpoint(worker_name: worker[:name])
40
40
  endpoint = Souls.configuration.endpoint
41
41
  if (i + 1) == workers.size
42
42
  new_line.write(<<-TEXT)
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.53.2".freeze
2
+ VERSION = "0.53.3".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.32.2
1
+ 0.32.3
@@ -1 +1 @@
1
- 0.32.2
1
+ 0.32.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: 0.53.2
4
+ version: 0.53.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: 2021-09-16 00:00:00.000000000 Z
13
+ date: 2021-09-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -192,7 +192,7 @@ metadata:
192
192
  homepage_uri: https://souls.elsoul.nl
193
193
  source_code_uri: https://github.com/elsoul/souls
194
194
  changelog_uri: https://github.com/elsoul/souls
195
- post_install_message:
195
+ post_install_message:
196
196
  rdoc_options: []
197
197
  require_paths:
198
198
  - lib
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  version: '0'
209
209
  requirements: []
210
210
  rubygems_version: 3.2.22
211
- signing_key:
211
+ signing_key:
212
212
  specification_version: 4
213
213
  summary: SOULs はサーバーレスフルスタックフレームワークです。柔軟な Ruby GraphQL API と Worker はルーティングの必要がありません。
214
214
  クラウド環境への自動デプロイ、CI/CD ワークフローを標準装備。開発者がビジネスロジックに集中し、楽しくコードが書けるような環境を目指しています。