souls 0.32.16 → 0.32.17

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: e86dba90f13e7a1e0edb98b6f952b2a3132cc71e044caca35b1da8e1c83e3914
4
- data.tar.gz: 21cb452f850734ae326c23955243b561ceb049df2398d736cac95af03a202ba7
3
+ metadata.gz: 649a5f1aac57f1b96fbaf85331457ae22c4d1f1ae3c63ddab7fbc0aa1be715f2
4
+ data.tar.gz: d829e1fed1342cd59887bba212ca5ca24208542c61caddc06c869f7f2907f815
5
5
  SHA512:
6
- metadata.gz: 330adaef8cc29cabda3433d1ef1f7ec56d37e236cf817d08296e56d7c4152d80b5cc847795762d600b06a16730e3ae6bf16c970085818cb212aa9f5327cce3a8
7
- data.tar.gz: 9066f78a3aa34a0dfb9864510fe2c6e51cd4058605434c1f75efcc033261dfcbf649c38376b0e17f3f421d223ac9d6b0232ae2743a5a76416b0fdcf9927be640
6
+ metadata.gz: befa3c548a113e215af52ada8cc6a1f0f4e744a7ddef4c8440d79159842d709cd2aa1c19115fa4e1f805a5c0d17fe1e462fd1152c1f58603da9ac94130283235
7
+ data.tar.gz: 3bc4e03c2327c0ad2498373e12516d939c8b5ea81e158cb4d32121690b41170f78693419a47fc7745e8359951e624fdc2dabaaa9e7ea668f1cab74cea8c0dd8c
@@ -49,13 +49,15 @@ module Souls
49
49
 
50
50
  if api_latest_date < worker_latest_date
51
51
  FileUtils.rm_rf(api_dir) if Dir.exist?(api_dir)
52
- FileUtils.mkdir(api_dir) unless Dir.exist?(api_dir)
52
+ FileUtils.mkdir_p(api_dir) unless Dir.exist?(api_dir)
53
53
  system("cp -r #{worker_dir}/* #{api_dir}")
54
54
  else
55
55
  FileUtils.rm_rf(worker_dir) if Dir.exist?(worker_dir)
56
- FileUtils.mkdir(worker_dir) unless Dir.exist?(worker_dir)
56
+ FileUtils.mkdir_p(worker_dir) unless Dir.exist?(worker_dir)
57
57
  system("cp -r #{api_dir}/* #{worker_dir}")
58
58
  end
59
+ rescue StandardError => e
60
+ puts(e.backtrace)
59
61
  end
60
62
 
61
63
  def get_models_path(service_name: "api")
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.32.16".freeze
2
+ VERSION = "0.32.17".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.11.16
1
+ 0.11.17
@@ -1 +1 @@
1
- 0.11.16
1
+ 0.11.17
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.32.16
4
+ version: 0.32.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI