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: ed8954cfa416f493f139dcdc228d6987158d8ba8085a2fc5bfe2a1408c90d708
4
- data.tar.gz: 8e58f290f6a5487fc4b90a808793c2b09af384e40f859a8c6e785372daae1555
3
+ metadata.gz: 50c2546cda3df7c36c343893ae5c5bc3efe8c43e23d6dbab4e44a35fe5f91486
4
+ data.tar.gz: bb23da4a0831b75fd7f07a47c12f849495ebc73f31eddb80bf3bbcb212b80599
5
5
  SHA512:
6
- metadata.gz: de8d45d0dd37bb9a58ffc1979dfe68e4bb5982ca6146e86745827ee277e5ce21d899a14a0c44b7b38e87608939efff93a73f65d306c79395e91e33b3448631bb
7
- data.tar.gz: 66b51c0972ecbd422ea3d2e5fab44577ecaddeb751b53282d32cf48d66f273099b0d0cdc2431ec591f5c66acb33407624e51d09add90542ab55077e2e2a35e59
6
+ metadata.gz: e40ca30ed1eca8cf521e904cc6a848ab722f0e69b5b877cec055d9473d9d26dbafed8f90324fcd85510ded519b3669c56e9b5bb317c259bcba56ddc14f350e18
7
+ data.tar.gz: 2a2cd92183edd70665236a84e6ec106abf94692ba22d551aac7bcdf426ca83d635326c6e854eda1cd56c92393448a13142e8da204d7533871efb298655531b86
@@ -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
- worker_paths = Souls.configuration.workers.map { |n| n[:name].split("-").last }
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
- worker_paths = Souls.configuration.workers.map { |n| n[:name].split("-").last }
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,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "1.17.2".freeze
2
+ VERSION = "1.17.3".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.17.2
1
+ 1.17.3
@@ -1 +1 @@
1
- 1.17.2
1
+ 1.17.3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.2
4
+ version: 1.17.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI