souls 0.42.0 → 0.42.1
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/sync/conf.rb +6 -5
- 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
- data/lib/souls.rb +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edd47698ca891813c0b301df870e9d89c186f6a5daf08e0b826030f9c39fac24
|
4
|
+
data.tar.gz: 66d83ceba816974a327d2df21202b515e50f0bb53790c211d530566a5c07ee78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb4b8d58f2dbd7ded286e3fbdb937d1d83eac27d76c16c33448a321b2f5ee2e2df366436ac7cde2a5b2b45ff8bf934b5bd4236c218412c666660921bde1d0691
|
7
|
+
data.tar.gz: 8d917f318dceceddc9d153a8cd7e0753b458990095155620db6bd123a5b88bf0ffaebe428d53c8e148598965125cafd0d400ab072e2238111e7a964780070965
|
data/lib/souls/cli/sync/conf.rb
CHANGED
@@ -23,11 +23,12 @@ module Souls
|
|
23
23
|
|
24
24
|
new_line.write(" config.workers = [\n")
|
25
25
|
workers.each do |worker|
|
26
|
-
|
26
|
+
base_url = Souls::Gcloud::Run.get_endpoint(worker_name: worker[:name])
|
27
|
+
endpoint = Souls.configuration.endpoint
|
27
28
|
new_line.write(<<-TEXT)
|
28
29
|
{
|
29
30
|
name: "#{worker[:name]}",
|
30
|
-
endpoint: "#{endpoint}
|
31
|
+
endpoint: "#{base_url.strip}/#{endpoint}",
|
31
32
|
port: #{worker[:port]}
|
32
33
|
},
|
33
34
|
TEXT
|
@@ -35,9 +36,9 @@ module Souls
|
|
35
36
|
break
|
36
37
|
end
|
37
38
|
end
|
38
|
-
new_line.write(
|
39
|
-
|
40
|
-
end
|
39
|
+
new_line.write(<<~TEXT)
|
40
|
+
]
|
41
|
+
end
|
41
42
|
TEXT
|
42
43
|
end
|
43
44
|
end
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.21.
|
1
|
+
0.21.1
|
@@ -1 +1 @@
|
|
1
|
-
0.21.
|
1
|
+
0.21.1
|
data/lib/souls.rb
CHANGED
@@ -247,14 +247,13 @@ module Souls
|
|
247
247
|
end
|
248
248
|
|
249
249
|
class Configuration
|
250
|
-
attr_accessor :app, :strain, :project_id, :
|
250
|
+
attr_accessor :app, :strain, :project_id, :endpoint, :fixed_gems, :workers
|
251
251
|
|
252
252
|
def initialize
|
253
253
|
@app = nil
|
254
254
|
@project_id = nil
|
255
|
+
@endpoint = nil
|
255
256
|
@strain = nil
|
256
|
-
@github_repo = nil
|
257
|
-
@worker_endpoint = nil
|
258
257
|
@fixed_gems = nil
|
259
258
|
@workers = nil
|
260
259
|
end
|