souls 0.41.0 → 0.42.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df2f39add13ab11ad55c08ea91fb0c36bb310360c78ec6afd39456cdb6055f0d
4
- data.tar.gz: 5feca9108b6cdaa7fdc84064f58aba6213c42ea803333180f49dbfceca33055a
3
+ metadata.gz: bfa300e5c98f77bd34a175fea19aeb7982c226f86bc5a72b4f4d2e90e53cbfb9
4
+ data.tar.gz: e097d76e90e34baad6dca406eea10e38d6fab705c92fc632aa9ff0ca85b7978d
5
5
  SHA512:
6
- metadata.gz: 2206bc5906aaa1530d7ec2207f53cf9ddb4ad4930e527609cac18fd591de0c08d4773fc6cf53289928daf897b424f334539a48d9b8a53aeea45a8c843c85a721
7
- data.tar.gz: 0fbc64fbedb1bcedb240b042310c6e3ae72b89b03f83909b2ef3e90c386f02e9e9f5dcb032abe140dc2762ca1eaa4fa808cbd2c9aa85fa8e1fb30961c7c808a9
6
+ metadata.gz: 7856cced25102ad503fee8f5d497eebd902bddfb2114c6b0e9680f152c72bffdfaf67bb4a51b38c5161ae0ddc97777e94380069c14dd984f1b83f1e0a949bcf3
7
+ data.tar.gz: 5bb650da465fa28e1375538c091bdc5e95ad87317cb0db5aa7861df4dbb9dfc4a7079ff3bbb4c09725137a097423b0081a209e535ed7be365fe347ae37401fd0
data/exe/souls CHANGED
@@ -139,7 +139,7 @@ begin
139
139
  status = Paint["Syncing Files...", :yellow]
140
140
  Whirly.start(spinner: "clock", interval: 420, stop: "🎉") do
141
141
  Whirly.status = status
142
- Souls::Sync..public_send(method_name)
142
+ Souls::Sync.public_send(method_name)
143
143
  Whirly.status = Paint["Synced!", :green]
144
144
  end
145
145
  when "create"
@@ -16,7 +16,7 @@ module Souls
16
16
  end
17
17
 
18
18
  def get_endpoint(worker_name: "")
19
- system("gcloud run services list | grep #{worker_name} | awk '{print $4}'")
19
+ `gcloud run services list | grep #{worker_name} | awk '{print $4}'`
20
20
  end
21
21
  end
22
22
  end
@@ -11,7 +11,7 @@ module Souls
11
11
  )
12
12
  end
13
13
 
14
- def pathch_instance(instance_name: "")
14
+ def patch_instance(instance_name: "")
15
15
  app_name = Souls.configuration.app
16
16
  instance_name = "#{Souls.configuration.app}-db" if instance_name.blank?
17
17
  project_id = Souls.configuration.project_id
@@ -24,10 +24,10 @@ module Souls
24
24
 
25
25
  workers.each do |key, value|
26
26
  if value == 1
27
- create_topic(topic_id: key)
28
- create_push_subscription(topic_id: key)
27
+ create_topic(topic_id: key.to_s)
28
+ create_push_subscription(topic_id: key.to_s)
29
29
  end
30
- delete_topic(topic_id: key) if value == -1
30
+ delete_topic(topic_id: key.to_s) if value == -1
31
31
  end
32
32
  workers
33
33
  end
@@ -49,7 +49,7 @@ module Souls
49
49
  require("#{Souls.get_mother_path}/config/souls")
50
50
  worker_name = topic_id.split("_")[0]
51
51
 
52
- subscription_id = "#{topic_id}-sub"
52
+ subscription_id = "#{topic_id}_sub"
53
53
  endpoint = ""
54
54
  worker_paths = Souls.configuration.workers
55
55
  worker_paths.each do |worker|
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.41.0".freeze
2
+ VERSION = "0.42.0".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.20.0
1
+ 0.21.0
@@ -1 +1 @@
1
- 0.20.0
1
+ 0.21.0
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.41.0
4
+ version: 0.42.0
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-04 00:00:00.000000000 Z
13
+ date: 2021-09-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -175,7 +175,7 @@ metadata:
175
175
  homepage_uri: https://souls.elsoul.nl
176
176
  source_code_uri: https://github.com/elsoul/souls
177
177
  changelog_uri: https://github.com/elsoul/souls
178
- post_install_message:
178
+ post_install_message:
179
179
  rdoc_options: []
180
180
  require_paths:
181
181
  - lib
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  version: '0'
192
192
  requirements: []
193
193
  rubygems_version: 3.2.22
194
- signing_key:
194
+ signing_key:
195
195
  specification_version: 4
196
196
  summary: SOULs はサーバーレスフルスタックフレームワークです。柔軟な Ruby GraphQL API と Worker はルーティングの必要がありません。
197
197
  クラウド環境への自動デプロイ、CI/CD ワークフローを標準装備。開発者がビジネスロジックに集中し、楽しくコードが書けるような環境を目指しています。