souls 0.38.0 → 0.38.4

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: '049da55255f0a909b27e5544543ad15d2c69e34bcde5a69c818cc027637e830a'
4
- data.tar.gz: 7d620b1a60b67bd023053c4a258484413cc5352b9b1bd4c667be1eb01b252ca1
3
+ metadata.gz: 41046a43b295e0cd16f02d3a38754b142859c71264c8ad25bbed747f890a8aaa
4
+ data.tar.gz: 999cf81c799aeae233ad67ddf6d311729aadda9063b124aa785b3941ca9da8cd
5
5
  SHA512:
6
- metadata.gz: 2aa11ba07192c948ec5fcaae3bf6530c44f7e42e7a3f9ac18a790fa7263283b40d2e3642888a216792f1073371f474348f5025eb383e19dfd31265566b1f3c15
7
- data.tar.gz: 52f888741dd723188944ba13663807ed01dda6c2ce1daae685b5c44781f52766ce4e3209341c963f179d8a2e095feb9d359664af5a298a2fd3dc5fcab03d2d2d
6
+ metadata.gz: e800cf764ce6000c04813cc599977f95e1d2bd072aab044c065ad96daf49cc18d36c34ff264989789fee135cca5e3f966f36f897acbc8810aca51083e8527fd8
7
+ data.tar.gz: a1148f94c9327f4b78304dc595e58dd4f0e5366dec2c04e42601be1ab307584377105e239ea1f678da9efa8299af88c4a1648a453abb25118b19317ed0e7d532
@@ -122,7 +122,7 @@ end
122
122
  RACK_ENV: test
123
123
  run: |
124
124
  sudo apt-get -yqq install libpq-dev
125
- cd apps/worker
125
+ cd apps/#{worker_name}
126
126
  gem install bundler
127
127
  bundle install --jobs 4 --retry 3
128
128
  bundle exec rake db:create RACK_ENV=test
@@ -11,12 +11,13 @@ module Souls
11
11
  private
12
12
 
13
13
  def cp_and_dl_files(dir: "db")
14
+ require("#{Souls.get_mother_path}/config/souls")
14
15
  worker_paths = Souls.configuration.workers.map { |n| n[:name] }
15
16
  worker_paths.each do |path|
16
17
  cp_path = "./apps/api/#{dir}"
17
18
  old_path = "./apps/#{path}/#{dir}"
18
- FileUtils.rm_rf(old_path) if Dir.exist?(old_path)
19
- FileUtils.mkdir(old_path) unless Dir.exist?(old_path)
19
+ system("rm -rf #{old_path}", chdir: Souls.get_mother_path)
20
+ system("mkdir -p #{old_path}", chdir: Souls.get_mother_path)
20
21
  system("cp -r #{cp_path}/* #{old_path}", chdir: Souls.get_mother_path)
21
22
  end
22
23
  end
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.38.0".freeze
2
+ VERSION = "0.38.4".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.17.0
1
+ 0.17.4
@@ -1 +1 @@
1
- 0.17.0
1
+ 0.17.4
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: 0.38.0
4
+ version: 0.38.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI