souls 0.67.0 → 0.68.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/lib/souls/cli/create/index.rb +2 -0
- data/lib/souls/cli/generate/job_rbs.rb +5 -7
- data/lib/souls/cli/generate/rspec_job.rb +1 -1
- data/lib/souls/cli/sync/pubsub.rb +4 -4
- 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 +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 344ff76de6a0a8d6c520215f572455bcb0f83131e636c0b0fd8ecb2fd6f31255
|
4
|
+
data.tar.gz: 18be246dcd49f8b2863861b588c6066361fe984d73a22180c883b33e32e0eb0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f937b45df604657f676dde4a085b9d572e03ed7afec4e6db30029f8c5bb3663bafe781b62428d8ee13fa4dc4b584d6602e95b036e932b5d57e62835e1d89d3d0
|
7
|
+
data.tar.gz: c2777fda8e56d4decd0d732bd8758026332dcc5808a337a19e45d91b5f87a2c20f0510306b99decc11e6139551f65a681369bf5c62a036edb72418fc684c58b6
|
@@ -11,13 +11,11 @@ module Souls
|
|
11
11
|
file_path = "#{file_dir}#{singularized_class_name}.rbs"
|
12
12
|
File.open(file_path, "w") do |f|
|
13
13
|
f.write(<<~TEXT)
|
14
|
-
module
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
def self.field: (:response, String, null: false) -> untyped
|
20
|
-
end
|
14
|
+
module Mutations
|
15
|
+
String: String
|
16
|
+
class #{singularized_class_name.camelize} < BaseMutation
|
17
|
+
def self.description: (String) -> untyped
|
18
|
+
def self.field: (:response, String, null: false) -> untyped
|
21
19
|
end
|
22
20
|
end
|
23
21
|
TEXT
|
@@ -28,7 +28,7 @@ module Souls
|
|
28
28
|
|
29
29
|
it "return StockSheet Data" do
|
30
30
|
begin
|
31
|
-
a1 = result.dig("data", "#{singularized_class_name.camelize(:lower)}"
|
31
|
+
a1 = result.dig("data", "#{singularized_class_name.camelize(:lower)}")
|
32
32
|
raise unless a1.present?
|
33
33
|
rescue StandardError
|
34
34
|
raise(StandardError, result)
|
@@ -14,7 +14,7 @@ module Souls
|
|
14
14
|
def get_topics(workers: {})
|
15
15
|
app_name = Souls.configuration.app
|
16
16
|
project_id = Souls.configuration.project_id
|
17
|
-
pubsub = Google::Cloud::Pubsub.new
|
17
|
+
pubsub = Google::Cloud::Pubsub.new(project_id: ENV["PROJECT_ID"])
|
18
18
|
topics = pubsub.topics
|
19
19
|
|
20
20
|
topic_names =
|
@@ -41,7 +41,7 @@ module Souls
|
|
41
41
|
|
42
42
|
def create_topic(topic_id: "mailer")
|
43
43
|
app_name = Souls.configuration.app
|
44
|
-
pubsub = Google::Cloud::Pubsub.new
|
44
|
+
pubsub = Google::Cloud::Pubsub.new(project_id: ENV["PROJECT_ID"])
|
45
45
|
topic_name = "souls_#{app_name}_#{topic_id}"
|
46
46
|
topic = pubsub.create_topic(topic_name.to_s)
|
47
47
|
puts("Topic #{topic.name} created.")
|
@@ -49,7 +49,7 @@ module Souls
|
|
49
49
|
|
50
50
|
def delete_topic(topic_id: "mailer")
|
51
51
|
app_name = Souls.configuration.app
|
52
|
-
pubsub = Google::Cloud::Pubsub.new
|
52
|
+
pubsub = Google::Cloud::Pubsub.new(project_id: ENV["PROJECT_ID"])
|
53
53
|
topic_name = "souls_#{app_name}_#{topic_id}"
|
54
54
|
topic = pubsub.topic(topic_name.to_s)
|
55
55
|
topic.delete
|
@@ -69,7 +69,7 @@ module Souls
|
|
69
69
|
endpoint = worker[:endpoint] if worker[:name] == worker_name
|
70
70
|
end
|
71
71
|
|
72
|
-
pubsub = Google::Cloud::Pubsub.new
|
72
|
+
pubsub = Google::Cloud::Pubsub.new(project_id: ENV["PROJECT_ID"])
|
73
73
|
|
74
74
|
topic = pubsub.topic(topic_name)
|
75
75
|
sub = topic.subscribe(subscription_id, endpoint: endpoint, deadline: 20)
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.47.0
|
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.47.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.
|
4
|
+
version: 0.68.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-10-
|
13
|
+
date: 2021-10-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -207,7 +207,7 @@ metadata:
|
|
207
207
|
homepage_uri: https://souls.elsoul.nl
|
208
208
|
source_code_uri: https://github.com/elsoul/souls
|
209
209
|
changelog_uri: https://github.com/elsoul/souls
|
210
|
-
post_install_message:
|
210
|
+
post_install_message:
|
211
211
|
rdoc_options: []
|
212
212
|
require_paths:
|
213
213
|
- lib
|
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
223
|
version: '0'
|
224
224
|
requirements: []
|
225
225
|
rubygems_version: 3.2.22
|
226
|
-
signing_key:
|
226
|
+
signing_key:
|
227
227
|
specification_version: 4
|
228
228
|
summary: Welcome to SOULs Serverless Application Framework! - Focus on business logic
|
229
229
|
in serverless environment - Maximize development efficiency with CI / CD standard
|