souls 1.17.2 → 1.17.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50c2546cda3df7c36c343893ae5c5bc3efe8c43e23d6dbab4e44a35fe5f91486
|
4
|
+
data.tar.gz: bb23da4a0831b75fd7f07a47c12f849495ebc73f31eddb80bf3bbcb212b80599
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e40ca30ed1eca8cf521e904cc6a848ab722f0e69b5b877cec055d9473d9d26dbafed8f90324fcd85510ded519b3669c56e9b5bb317c259bcba56ddc14f350e18
|
7
|
+
data.tar.gz: 2a2cd92183edd70665236a84e6ec106abf94692ba22d551aac7bcdf426ca83d635326c6e854eda1cd56c92393448a13142e8da204d7533871efb298655531b86
|
data/lib/souls/cli/sync/model.rb
CHANGED
@@ -18,7 +18,8 @@ module Souls
|
|
18
18
|
|
19
19
|
def cp_and_dl_files(dir: "db")
|
20
20
|
require("#{Souls.get_mother_path}/config/souls")
|
21
|
-
|
21
|
+
project_id = Souls.configuration.project_id
|
22
|
+
worker_paths = Souls.configuration.workers.map { |n| n[:name].split("souls-#{project_id}-").last }
|
22
23
|
worker_paths.each do |path|
|
23
24
|
cp_path = "./apps/api/#{dir}"
|
24
25
|
old_path = "./apps/#{path}/#{dir}"
|
@@ -34,7 +35,8 @@ module Souls
|
|
34
35
|
def cp_env_files
|
35
36
|
return unless File.exist?("#{Souls.get_mother_path}/apps/api/.env")
|
36
37
|
|
37
|
-
|
38
|
+
project_id = Souls.configuration.project_id
|
39
|
+
worker_paths = Souls.configuration.workers.map { |n| n[:name].split("souls-#{project_id}-").last }
|
38
40
|
worker_paths.each do |path|
|
39
41
|
system("rm -f ./apps/#{path}/.env", chdir: Souls.get_mother_path)
|
40
42
|
system("cp -f ./apps/api/.env ./apps/#{path}/.env", chdir: Souls.get_mother_path)
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.17.
|
1
|
+
1.17.3
|
@@ -1 +1 @@
|
|
1
|
-
1.17.
|
1
|
+
1.17.3
|