souls 0.71.5 → 0.71.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3aaa28347b058c5aa4bc63ed88c37f2826b1b3f8f228f9003838cab73247c9d4
|
4
|
+
data.tar.gz: 270568cedc0b251c59f8be16dd40d468433e42c7597f98440a590a7e71d7b361
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0574221fc2028327f4405846e76fa78d72890c3960a2575a260bfcef83fefdfbeeb16390740ed3977c40e7a04ecdf17367e29518efabfd3c5545dee2a9b34a68
|
7
|
+
data.tar.gz: 3ff7a1c587ebcdbb9441297d37ace7acfaa01f81c914e3f9fffba12f353549fd12c6fbda75c992e94273a07b412aef1b0398432b3f24180f817ffbeb5bf54c21
|
@@ -68,7 +68,10 @@ module Souls
|
|
68
68
|
desc "update_mutation [CLASS_NAME]", "Update GraphQL Type from schema.rb"
|
69
69
|
def update_mutation_rbs(class_name)
|
70
70
|
singularized_class_name = class_name.singularize.underscore
|
71
|
-
new_cols =
|
71
|
+
new_cols = ""
|
72
|
+
Dir.chdir(Souls.get_api_path.to_s) do
|
73
|
+
new_cols = Souls.get_columns_num(class_name: singularized_class_name)
|
74
|
+
end
|
72
75
|
dir_name = "./sig/api/app/graphql/mutations/base/#{singularized_class_name}"
|
73
76
|
new_file_path = "config/update_mutation.rbs"
|
74
77
|
file_path = "#{dir_name}/update_#{singularized_class_name}.rbs"
|
@@ -3,7 +3,10 @@ module Souls
|
|
3
3
|
desc "type_rbs [CLASS_NAME]", "Update GraphQL Type from schema.rb"
|
4
4
|
def type_rbs(class_name)
|
5
5
|
singularized_class_name = class_name.singularize.underscore
|
6
|
-
new_cols =
|
6
|
+
new_cols = ""
|
7
|
+
Dir.chdir(Souls.get_api_path.to_s) do
|
8
|
+
new_cols = Souls.get_columns_num(class_name: singularized_class_name)
|
9
|
+
end
|
7
10
|
dir_name = "./sig/api/app/graphql/types"
|
8
11
|
new_file_path = "config/create_type.rbs"
|
9
12
|
file_path = "#{dir_name}/#{singularized_class_name}_type.rbs"
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.50.
|
1
|
+
0.50.6
|
@@ -1 +1 @@
|
|
1
|
-
0.50.
|
1
|
+
0.50.6
|