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 +4 -4
- data/lib/souls/api/generate/application.rb +4 -2
- data/lib/souls/cli/create/index.rb +1 -0
- data/lib/souls/cli/db/index.rb +1 -0
- data/lib/souls/cli/gcloud/run/index.rb +2 -1
- data/lib/souls/version.rb +1 -1
- data/lib/souls/versions/.souls_api_version +1 -1
- data/lib/souls/versions/.souls_worker_version +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03e2a30c13d2d7dade4f9d5dd6a7ba08c6812c18bcb6f96520dc4f2a61018f80
|
4
|
+
data.tar.gz: 8a03989b99ed64d76ac4a3c7d2dbc170660d1ea417058249cf22bd60bd8dc9d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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::
|
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
|
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")
|
data/lib/souls/cli/db/index.rb
CHANGED
@@ -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}
|
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 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.33.0
|
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.33.0
|