souls 0.33.13 → 0.34.2

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: 995231e575aff8d12ef18d18966219448ba160a58c3ec960d46d42ad2fb49d47
4
- data.tar.gz: 4ad055f1e12cb05edee64a11e49229fa4ac691158e5a8f04eee239fbb391a259
3
+ metadata.gz: f1655b2921c5ca02943bb7fd1f02a12e07edfca9c8397106932fa01665cd3bd5
4
+ data.tar.gz: 458400582e204b3aeb7833cd0900d6dc5ab73d159be5f453f0001f24c471ad80
5
5
  SHA512:
6
- metadata.gz: d6409c47f7d685ec7798e71722cc08c26695dc0219bf4faa8d6b31596bcf5b93e4d87aee0d0387cb0d737edb7458a646c158b92e37e5ad741815081ab7893bb4
7
- data.tar.gz: 046c07afe42c8e68e080a335473f9a0a03a3593655aaaa95b4c1c1d8ebd6f8307f47d528c56a530e13e11d5ca76f1cb3b57791825c9bd9f2e7f6d40556dda7a1
6
+ metadata.gz: 100fe2aac8e4b0b62cd3ee6a58e5a849a028d31835b9792cdae953058d1e8801569ecf77f344ad57aadfd901e3c52b9e8f0b7ef2e92fdc9084c1827b65bfa133
7
+ data.tar.gz: 6a3956aba738787b90980ea26dc592d2165234ed2b4561fe24d95b1ec84bd505809649d4c73533d01acbc917187c0ea4933473cb3c24b302e140b5444b64ca82
@@ -43,8 +43,8 @@ module Souls
43
43
  api_file_data = file_diff(Dir["#{api_dir}/*.rb"])
44
44
  worker_file_data = file_diff(Dir["#{worker_dir}/*.rb"])
45
45
 
46
- api_latest_date = Time.parse(api_file_data.max)
47
- worker_latest_date = Time.parse(worker_file_data.max)
46
+ api_latest_date = DateTime.parse(api_file_data.max)
47
+ worker_latest_date = DateTime.parse(worker_file_data.max)
48
48
  end
49
49
 
50
50
  if api_latest_date < worker_latest_date
@@ -57,7 +57,7 @@ module Souls
57
57
  system("cp -r #{api_dir}/* #{worker_dir}")
58
58
  end
59
59
  rescue StandardError => e
60
- puts(Paint["`souls api g scaffold $model` at `api` dir first!", :red])
60
+ puts(Paint[e, :red])
61
61
  end
62
62
 
63
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.33.13".freeze
2
+ VERSION = "0.34.2".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.12.13
1
+ 0.13.2
@@ -1 +1 @@
1
- 0.12.13
1
+ 0.13.2
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.33.13
4
+ version: 0.34.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI