souls 0.63.0 → 0.63.4
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/cli/generate/application.rb +4 -5
- data/lib/souls/cli/generate/mutation.rb +1 -1
- data/lib/souls/cli/init/index.rb +3 -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: 8579c9811adaa3970cceee58fc6f42f08e39b67f2b8c485cf23f0cce19934a86
|
4
|
+
data.tar.gz: 5fa60609ce4a0c07a1a0957f14f754717c148df61771a85a1cf7589b073f17ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a29e3d77f284109d336cdbd94456ab89125bdc53e7e273e84b42eb425cae30447b078e5fcb4bd5252d169a5d995b88ea7ffc0cc00eaf8dbce90812da94f251d7
|
7
|
+
data.tar.gz: 68616b0988def074c59e81bdf73844e688286fa0521f34573185021fc70334f1b94ec9636d6610ffb2d9622d3e1ecc75bf5b457c092909aa0ea684539f226d2d
|
@@ -5,9 +5,9 @@ module Souls
|
|
5
5
|
def scaffold(class_name)
|
6
6
|
singularized_class_name = class_name.singularize
|
7
7
|
if options[:rbs]
|
8
|
-
run_scaffold(class_name: singularized_class_name)
|
9
|
-
else
|
10
8
|
run_rbs_scaffold(class_name: singularized_class_name)
|
9
|
+
else
|
10
|
+
run_scaffold(class_name: singularized_class_name)
|
11
11
|
end
|
12
12
|
true
|
13
13
|
rescue Thor::Error => e
|
@@ -20,11 +20,10 @@ module Souls
|
|
20
20
|
puts(Paint["Let's Go SOULs AUTO CRUD Assist!\n", :cyan])
|
21
21
|
Souls.get_tables.each do |table|
|
22
22
|
if options[:rbs]
|
23
|
-
Souls::Generate.new.invoke(:
|
23
|
+
Souls::Generate.new.invoke(:scaffold, [table.singularize], { rbs: options[:rbs] })
|
24
24
|
else
|
25
|
-
Souls::Generate.new.invoke(:
|
25
|
+
Souls::Generate.new.invoke(:scaffold, [table.singularize], {})
|
26
26
|
end
|
27
|
-
puts(Paint["Generated #{table.camelize} CRUD Files\n", :yellow])
|
28
27
|
end
|
29
28
|
true
|
30
29
|
rescue Thor::Error => e
|
@@ -23,7 +23,7 @@ module Souls
|
|
23
23
|
def create_mutation(class_name: "user")
|
24
24
|
file_path = ""
|
25
25
|
singularized_class_name = class_name.singularize.underscore
|
26
|
-
Dir.chdir(Souls.
|
26
|
+
Dir.chdir(Souls.get_api_path.to_s) do
|
27
27
|
file_dir = "./app/graphql/mutations/base/#{singularized_class_name}"
|
28
28
|
FileUtils.mkdir_p(file_dir) unless Dir.exist?(file_dir)
|
29
29
|
file_path = "#{file_dir}/create_#{singularized_class_name}.rb"
|
data/lib/souls/cli/init/index.rb
CHANGED
@@ -14,9 +14,11 @@ module Souls
|
|
14
14
|
download_github_actions(app_name: app_name)
|
15
15
|
initial_config_init(app_name: app_name, service_name: service_name)
|
16
16
|
system("cd #{app_name} && git init --initial-branch=main")
|
17
|
+
|
17
18
|
system(
|
18
19
|
"
|
19
|
-
cd #{app_name} &&
|
20
|
+
cd #{app_name} &&
|
21
|
+
git submodule add -f https://github.com/ruby/gem_rbs_collection.git vendor/rbs/gem_rbs_collection
|
20
22
|
"
|
21
23
|
)
|
22
24
|
souls_api_credit(app_name: app_name, service_name: service_name)
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.42.
|
1
|
+
0.42.4
|
@@ -1 +1 @@
|
|
1
|
-
0.42.
|
1
|
+
0.42.4
|