souls 0.32.14 → 0.32.18

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: e6a20195179c5c5de5d131119dc853f13a22c90e6a416fb3b79db7a199346a2b
4
- data.tar.gz: 56489b538acd99b9323254993ecaf1c89df0021404b87214e4b6690fb26026b0
3
+ metadata.gz: b1e0712dc860c79d9dcbe141e7b3bc25aeb413e69cbba7ec0276590e1116bc4b
4
+ data.tar.gz: c836b568558dbd92665e50ab8ed26a472d6b67969ab285e04a3163e94a194ad4
5
5
  SHA512:
6
- metadata.gz: 647157a5c42021a8a637191ca303ca61c4e91f0c7261b6d3d753ca24defa191fd26355d6d273b8d70438c3bb51139d80b0362583aa763a2a6c30650144c63fe3
7
- data.tar.gz: eee117498a10d051a26f59fae1d4af66afc80be569291fc6413e3d3699f08d95ff0e583c810425f3248cbb1fda119d527e9c56724e7ad260d11ef396a5d7988a
6
+ metadata.gz: 5fbc7d8618789ebfe1f8dcf6004ff0d16331533a0ee6324249704b920cc9e54de07095665f5d301a0d9b5ddb09793ba5f7be06643b8d9eff79e1500f3fb7b9d5
7
+ data.tar.gz: aa350a2447ec8ef2acd309fc2223103ccaf9b942306b280bd742a0feaf5c2c6241bbda64d4482790b66ec53f1b01b18178b2cafe9fa6a798f9a62a1605f749f3
data/exe/souls CHANGED
@@ -138,7 +138,7 @@ begin
138
138
  Whirly.start(spinner: "clock", interval: 420, stop: "🎉") do
139
139
  Whirly.status = status
140
140
  Souls::Sync.model
141
- Whirly.status = "API and Worker Both Models Synced!"
141
+ Whirly.status = Paint["API and Worker Both Models Synced!", :green]
142
142
  end
143
143
  else
144
144
  puts(Paint["Comannd doesn't exist.Check you command again!...", :red])
@@ -56,6 +56,8 @@ module Souls
56
56
  FileUtils.mkdir(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(Paint["`souls api g scaffold $model` at `api` dir first!", :red])
59
61
  end
60
62
 
61
63
  def get_models_path(service_name: "api")
data/lib/souls/init.rb CHANGED
@@ -136,6 +136,7 @@ module Souls
136
136
  system("curl -OL #{url}")
137
137
  system("mkdir -p ./apps/worker")
138
138
  system("tar -zxvf ./#{file_name} -C ./apps/")
139
+ system("cp ./apps/api/config/database.yml ./apps/worker/config/")
139
140
  FileUtils.rm(file_name)
140
141
  line = Paint["====================================", :yellow]
141
142
  puts("\n")
@@ -163,7 +164,7 @@ module Souls
163
164
  Easy to Run
164
165
  $ cd ./apps/worker
165
166
  $ bundle
166
- $ souls model:update
167
+ $ souls sync model
167
168
  $ souls s
168
169
  Go To : http://localhost:3000
169
170
 
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.32.14".freeze
2
+ VERSION = "0.32.18".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.11.14
1
+ 0.11.18
@@ -1 +1 @@
1
- 0.11.14
1
+ 0.11.18
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.14
4
+ version: 0.32.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2021-08-23 00:00:00.000000000 Z
13
+ date: 2021-08-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport