souls 0.53.5 → 0.54.0

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: e35280f32390cf55c390b73dbb3e344ab8de636460e5464e1b0ebe5a7830f562
4
- data.tar.gz: 3a429067cc9388575fd606ba7d056d6072d1c9c0d63a8231c628c25855c80310
3
+ metadata.gz: 03e2a30c13d2d7dade4f9d5dd6a7ba08c6812c18bcb6f96520dc4f2a61018f80
4
+ data.tar.gz: 8a03989b99ed64d76ac4a3c7d2dbc170660d1ea417058249cf22bd60bd8dc9d1
5
5
  SHA512:
6
- metadata.gz: 11eb6b2e3683f6dcdcf45312bbb8ead4ab569e5a999a51c54ca74d94f07c6e5fe1b5527eac12c8286b71b34533e01b5bf307b68b49c7821ebed53a7aa545a8ab
7
- data.tar.gz: 58bbefc266178a10f8ee51bcc4f2b6ab203ad2dc6cd4fd84c169b9dd19e75178e64be2f1e0c6b00a5843184b08811685033d8c7e1a492bd4dfb8027e97418940
6
+ metadata.gz: be5fc71729fa8921edbb79ca27d4698598ae399690e28cf287955355c9965e90d961a2ff532a8b81996177f22286fd689e8d13a9dff10d82a04ccee1b2e2ba68
7
+ data.tar.gz: 809ebfa9484852965896d3e0bfc7731abd005b6d3ced814335be755917c3de4a9f5053d8b664cad14b4fa242e7f46c34fa25a348f1bf431398135ced5f829c8e
@@ -17,6 +17,7 @@ module Souls
17
17
  mutation(singularized_class_name)
18
18
  policy(singularized_class_name)
19
19
  rspec_policy(singularized_class_name)
20
+ true
20
21
  rescue Thor::Error => e
21
22
  raise(Thor::Error, e)
22
23
  end
@@ -25,15 +26,16 @@ module Souls
25
26
  def scaffold_all
26
27
  puts(Paint["Let's Go SOULs AUTO CRUD Assist!\n", :cyan])
27
28
  Souls.get_tables.each do |table|
28
- Souls::Api::Generate.scaffold(class_name: table.singularize)
29
+ Souls::Generate.new.scaffold(table.singularize)
29
30
  puts(Paint["Generated #{table.camelize} CRUD Files\n", :yellow])
30
31
  end
32
+ true
31
33
  rescue Thor::Error => e
32
34
  raise(Thor::Error, e)
33
35
  end
34
36
 
35
37
  desc "delete_all [CLASS_NAME]", "Generate Scaffold All Tables from schema.rb"
36
- def delete_all(class_name: "user")
38
+ def delete_all(class_name)
37
39
  singularized_class_name = class_name.singularize.underscore
38
40
  pluralized_class_name = class_name.pluralize.underscore
39
41
  FileUtils.rm("./app/models/#{singularized_class_name}.rb")
@@ -18,6 +18,7 @@ module Souls
18
18
  mother_procfile(worker_name: options[:name])
19
19
  souls_config_init(worker_name: options[:name])
20
20
  end
21
+ true
21
22
  rescue Thor::Error => e
22
23
  raise(Thor::Error, e)
23
24
  end
@@ -10,6 +10,7 @@ module Souls
10
10
  system("rake db:migrate")
11
11
  system("rake db:migrate RACK_ENV=test")
12
12
  end
13
+ true
13
14
  rescue Thor::Error => e
14
15
  raise(Thor::Error, e)
15
16
  end
@@ -24,7 +24,8 @@ module Souls
24
24
  def get_endpoint(worker_name: "")
25
25
  app_name = Souls.configuration.app
26
26
  project_id = Souls.configuration.project_id
27
- `gcloud run services list --project #{project_id} --platform managed | grep #{app_name}-souls-#{worker_name} | awk '{print $4}'`
27
+ `gcloud run services list --project #{project_id}
28
+ --platform managed | grep #{app_name}-souls-#{worker_name} | awk '{print $4}'`
28
29
  rescue Thor::Error => e
29
30
  raise(Thor::Error, e)
30
31
  end
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.53.5".freeze
2
+ VERSION = "0.54.0".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.32.5
1
+ 0.33.0
@@ -1 +1 @@
1
- 0.32.5
1
+ 0.33.0
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.53.5
4
+ version: 0.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI