souls 1.8.2 → 1.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/souls/cli/db/create_migration_rbs.rb +0 -2
- data/lib/souls/cli/db/model.rb +0 -2
- data/lib/souls/cli/db/model_rbs.rb +0 -2
- data/lib/souls/cli/db/rspec_model.rb +0 -2
- data/lib/souls/cli/delete/application.rb +0 -4
- data/lib/souls/cli/delete/connection.rb +0 -2
- data/lib/souls/cli/delete/connection_rbs.rb +0 -2
- data/lib/souls/cli/delete/edge.rb +0 -2
- data/lib/souls/cli/delete/edge_rbs.rb +0 -2
- data/lib/souls/cli/delete/job.rb +0 -2
- data/lib/souls/cli/delete/job_rbs.rb +0 -2
- data/lib/souls/cli/delete/manager.rb +0 -2
- data/lib/souls/cli/delete/manager_rbs.rb +0 -2
- data/lib/souls/cli/delete/mutation.rb +0 -2
- data/lib/souls/cli/delete/mutation_rbs.rb +0 -2
- data/lib/souls/cli/delete/query.rb +0 -2
- data/lib/souls/cli/delete/resolver.rb +0 -2
- data/lib/souls/cli/delete/resolver_rbs.rb +0 -2
- data/lib/souls/cli/delete/rspec_factory.rb +0 -2
- data/lib/souls/cli/delete/rspec_job.rb +0 -2
- data/lib/souls/cli/delete/rspec_manager.rb +0 -2
- data/lib/souls/cli/delete/rspec_query.rb +0 -2
- data/lib/souls/cli/delete/rspec_resolver.rb +0 -2
- data/lib/souls/cli/delete/type.rb +0 -2
- data/lib/souls/cli/delete/type_rbs.rb +0 -2
- data/lib/souls/cli/docker/index.rb +0 -4
- data/lib/souls/cli/gcloud/compute/index.rb +12 -15
- data/lib/souls/cli/gcloud/iam/index.rb +0 -2
- data/lib/souls/cli/gcloud/index.rb +0 -4
- data/lib/souls/cli/gcloud/pubsub/subscriptions.rb +0 -6
- data/lib/souls/cli/gcloud/pubsub/topics.rb +0 -4
- data/lib/souls/cli/gcloud/run/index.rb +2 -10
- data/lib/souls/cli/gcloud/sql/index.rb +0 -14
- data/lib/souls/cli/generate/application.rb +0 -4
- data/lib/souls/cli/generate/connection.rb +0 -2
- data/lib/souls/cli/generate/connection_rbs.rb +0 -2
- data/lib/souls/cli/generate/edge.rb +0 -2
- data/lib/souls/cli/generate/edge_rbs.rb +0 -2
- data/lib/souls/cli/generate/job.rb +0 -2
- data/lib/souls/cli/generate/job_rbs.rb +0 -2
- data/lib/souls/cli/generate/manager.rb +0 -2
- data/lib/souls/cli/generate/manager_rbs.rb +0 -2
- data/lib/souls/cli/generate/mutation.rb +2 -3
- data/lib/souls/cli/generate/mutation_rbs.rb +0 -8
- data/lib/souls/cli/generate/query.rb +0 -2
- data/lib/souls/cli/generate/query_rbs.rb +0 -4
- data/lib/souls/cli/generate/resolver.rb +1 -3
- data/lib/souls/cli/generate/resolver_rbs.rb +0 -2
- data/lib/souls/cli/generate/rspec_factory.rb +0 -2
- data/lib/souls/cli/generate/rspec_job.rb +0 -2
- data/lib/souls/cli/generate/rspec_manager.rb +0 -2
- data/lib/souls/cli/generate/rspec_query.rb +0 -2
- data/lib/souls/cli/generate/rspec_resolver.rb +0 -2
- data/lib/souls/cli/generate/type.rb +0 -2
- data/lib/souls/cli/generate/type_rbs.rb +0 -2
- data/lib/souls/cli/server/index.rb +8 -1
- data/lib/souls/cli/sync/conf.rb +0 -2
- data/lib/souls/cli/sync/model.rb +1 -3
- data/lib/souls/cli/sync/pubsub.rb +0 -2
- data/lib/souls/cli/update/mutation_rbs.rb +0 -4
- data/lib/souls/cli/update/resolver.rb +0 -2
- data/lib/souls/cli/update/rspec_factory.rb +0 -2
- data/lib/souls/cli/update/rspec_mutation.rb +0 -2
- data/lib/souls/cli/update/rspec_resolver.rb +0 -2
- data/lib/souls/cli/update/type.rb +0 -2
- data/lib/souls/cli/update/type_rbs.rb +0 -2
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7ced5c593ab0800c80f23f80f69c695ab152aea777526801fb5dc5a2f660442
|
4
|
+
data.tar.gz: 3f05b4a5414f8aac43e93b6205f4787657651af44930f3dc2a017535adfb5cd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d2c89cf636058a73f8d8bfd5c2eefa24fd4fd143efacb67728781a8b0dab24cb9c4dc2353ce04bd53477558f4b9e083565b2fe7c6a369de1afd094af55b14c9
|
7
|
+
data.tar.gz: 1e38f54b14a0c74785cda717fed20fe846e720e088051cacc906786a9d7445a2ec8c068da09de95cfc66e63a65dad9ab0116e39e75649058026ff402c64f4abb
|
data/lib/souls/cli/db/model.rb
CHANGED
@@ -10,8 +10,6 @@ module Souls
|
|
10
10
|
run_scaffold(class_name: singularized_class_name)
|
11
11
|
end
|
12
12
|
true
|
13
|
-
rescue Thor::Error => e
|
14
|
-
raise(Thor::Error, e)
|
15
13
|
end
|
16
14
|
|
17
15
|
desc "scaffold_all", "Delete Scaffold All Tables from schema.rb"
|
@@ -26,8 +24,6 @@ module Souls
|
|
26
24
|
end
|
27
25
|
end
|
28
26
|
true
|
29
|
-
rescue Thor::Error => e
|
30
|
-
raise(Thor::Error, e)
|
31
27
|
end
|
32
28
|
|
33
29
|
private
|
data/lib/souls/cli/delete/job.rb
CHANGED
@@ -13,8 +13,6 @@ module Souls
|
|
13
13
|
Souls::Delete.new.invoke(:manager_rbs, [singularized_class_name], { mutation: options[:mutation] })
|
14
14
|
Souls::Delete.new.invoke(:rspec_manager, [singularized_class_name], { mutation: options[:mutation] })
|
15
15
|
file_path
|
16
|
-
rescue Thor::Error => e
|
17
|
-
raise(Thor::Error, e)
|
18
16
|
end
|
19
17
|
end
|
20
18
|
end
|
@@ -12,8 +12,6 @@ module Souls
|
|
12
12
|
postgres:13-alpine"
|
13
13
|
)
|
14
14
|
system("docker ps")
|
15
|
-
rescue Thor::Error => e
|
16
|
-
raise(Thor::Error, e)
|
17
15
|
end
|
18
16
|
|
19
17
|
desc "mysql", "Run MySQL Docker Container"
|
@@ -28,8 +26,6 @@ module Souls
|
|
28
26
|
mysql:latest"
|
29
27
|
)
|
30
28
|
system("docker ps")
|
31
|
-
rescue Thor::Error => e
|
32
|
-
raise(Thor::Error, e)
|
33
29
|
end
|
34
30
|
end
|
35
31
|
end
|
@@ -27,8 +27,6 @@ module Souls
|
|
27
27
|
puts(Paint["\nYou can add this IP to third party white list", :white])
|
28
28
|
puts(Paint["\nPlease git push to update your github workflow now!", :yellow])
|
29
29
|
true
|
30
|
-
rescue Thor::Error => e
|
31
|
-
raise(Thor::Error, e)
|
32
30
|
end
|
33
31
|
|
34
32
|
private
|
@@ -123,19 +121,18 @@ module Souls
|
|
123
121
|
def update_workflows
|
124
122
|
app_name = Souls.configuration.app
|
125
123
|
Dir.chdir(Souls.get_mother_path.to_s) do
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
File.open(file_path, "w") { |f| f.write(worker_workflow.join) }
|
124
|
+
workflow_paths = Dir[".github/workflows/*.yml"]
|
125
|
+
workflow_paths.each do |file_path|
|
126
|
+
workflow = File.readlines(file_path)
|
127
|
+
index = workflow.index { |e| e =~ /.*--memory=.*/ } + 1
|
128
|
+
egress_index = workflow.index { |e| e =~ /.*--vpc-egress=.*/ }
|
129
|
+
connector_index = workflow.index { |e| e =~ /.*--vpc-connector=.*/ }
|
130
|
+
|
131
|
+
if !file_path.end_with?("/api.yml") && egress_index.nil?
|
132
|
+
workflow.insert(index, " --vpc-egress=all \\\n")
|
133
|
+
end
|
134
|
+
workflow.insert(index, " --vpc-connector=#{app_name}-connector \\\n") if connector_index.nil?
|
135
|
+
File.open(file_path, "w") { |f| f.write(workflow.join) }
|
139
136
|
puts(Paint % ["Updated file! : %{white_text}", :green, { white_text: [file_path.to_s, :white] }])
|
140
137
|
end
|
141
138
|
end
|
@@ -30,8 +30,6 @@ module Souls
|
|
30
30
|
system("gcloud projects describe #{project_id}", out: File::NULL) or raise(Souls::GcloudException)
|
31
31
|
system("gcloud config set project #{project_id}")
|
32
32
|
system("gcloud auth login")
|
33
|
-
rescue Thor::Error => e
|
34
|
-
raise(Thor::Error, e)
|
35
33
|
end
|
36
34
|
|
37
35
|
desc "config_set", "gcloud config set"
|
@@ -52,8 +50,6 @@ module Souls
|
|
52
50
|
system("gcloud services enable containerregistry.googleapis.com")
|
53
51
|
system("gcloud services enable run.googleapis.com")
|
54
52
|
system("gcloud services enable vpcaccess.googleapis.com")
|
55
|
-
rescue Thor::Error => e
|
56
|
-
raise(Thor::Error, e)
|
57
53
|
end
|
58
54
|
end
|
59
55
|
end
|
@@ -21,15 +21,11 @@ module Souls
|
|
21
21
|
--expiration-period never
|
22
22
|
"
|
23
23
|
)
|
24
|
-
rescue Thor::Error => e
|
25
|
-
raise(Thor::Error, e)
|
26
24
|
end
|
27
25
|
|
28
26
|
desc "subscription_list", "Show Google Cloud Pubsub Subscription List"
|
29
27
|
def subscription_list
|
30
28
|
system("gcloud pubsub subscriptions list")
|
31
|
-
rescue Thor::Error => e
|
32
|
-
raise(Thor::Error, e)
|
33
29
|
end
|
34
30
|
|
35
31
|
desc "update_subscription", "Update Google Cloud Pubsub Subscription Endpoint"
|
@@ -43,8 +39,6 @@ module Souls
|
|
43
39
|
desc: "Google Cloud Pubsub Push Subscription Endpoint"
|
44
40
|
def update_subscription
|
45
41
|
system("gcloud pubsub subscriptions update #{options[:topic_name]}-sub --push-endpoint #{options[:endpoint]} ")
|
46
|
-
rescue Thor::Error => e
|
47
|
-
raise(Thor::Error, e)
|
48
42
|
end
|
49
43
|
end
|
50
44
|
end
|
@@ -7,15 +7,11 @@ module Souls
|
|
7
7
|
desc: "Google Cloud Pubsub Topic Name"
|
8
8
|
def create_topic
|
9
9
|
system("gcloud pubsub topics create #{options[:topic_name]}")
|
10
|
-
rescue Thor::Error => e
|
11
|
-
raise(Thor::Error, e)
|
12
10
|
end
|
13
11
|
|
14
12
|
desc "topic_list", "Show Google Cloud Topic List"
|
15
13
|
def topic_list
|
16
14
|
system("gcloud pubsub topics list")
|
17
|
-
rescue Thor::Error => e
|
18
|
-
raise(Thor::Error, e)
|
19
15
|
end
|
20
16
|
end
|
21
17
|
end
|
@@ -8,24 +8,16 @@ module Souls
|
|
8
8
|
"gcloud scheduler jobs create http #{app_name}-awake
|
9
9
|
--schedule '0,10,20,30,40,50 * * * *' --uri #{url} --http-method GET"
|
10
10
|
)
|
11
|
-
rescue Thor::Error => e
|
12
|
-
raise(Thor::Error, e)
|
13
11
|
end
|
14
12
|
|
15
13
|
desc "list", "Show Google Cloud Run List"
|
16
14
|
def list
|
17
|
-
|
18
|
-
system("gcloud run services list --project #{project_id} --platform managed")
|
19
|
-
rescue Thor::Error => e
|
20
|
-
raise(Thor::Error, e)
|
15
|
+
system("gcloud run services list --platform managed")
|
21
16
|
end
|
22
17
|
|
23
18
|
desc "get_endpoint", "Show Worker's Endpoint"
|
24
19
|
def get_endpoint(worker_name: "")
|
25
|
-
|
26
|
-
`gcloud run services list --project #{project_id} | grep #{worker_name} | awk '{print $4}'`
|
27
|
-
rescue Thor::Error => e
|
28
|
-
raise(Thor::Error, e)
|
20
|
+
`gcloud run services list --platform managed | grep #{worker_name} | awk '{print $4}'`
|
29
21
|
end
|
30
22
|
end
|
31
23
|
end
|
@@ -51,15 +51,11 @@ module Souls
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
Souls::Github.new
|
54
|
-
rescue Thor::Error => e
|
55
|
-
raise(Thor::Error, e)
|
56
54
|
end
|
57
55
|
|
58
56
|
desc "list", "Show Cloud SQL Instances List"
|
59
57
|
def list
|
60
58
|
system("gcloud sql instances list")
|
61
|
-
rescue Thor::Error => e
|
62
|
-
raise(Thor::Error, e)
|
63
59
|
end
|
64
60
|
|
65
61
|
desc "setup_private_ip", "Enable Private IP"
|
@@ -67,8 +63,6 @@ module Souls
|
|
67
63
|
create_ip_range
|
68
64
|
create_vpc_connector
|
69
65
|
assign_network
|
70
|
-
rescue Thor::Error => e
|
71
|
-
raise(Thor::Error, e)
|
72
66
|
end
|
73
67
|
|
74
68
|
desc "assign_network", "Assign Network"
|
@@ -77,8 +71,6 @@ module Souls
|
|
77
71
|
instance_name = Souls.configuration.instance_name
|
78
72
|
project_id = Souls.configuration.project_id
|
79
73
|
system("gcloud beta sql instances patch #{instance_name} --project=#{project_id} --network=#{app_name}")
|
80
|
-
rescue Thor::Error => e
|
81
|
-
raise(Thor::Error, e)
|
82
74
|
end
|
83
75
|
|
84
76
|
desc "create_ip_range", "Create VPC Adress Range"
|
@@ -95,8 +87,6 @@ module Souls
|
|
95
87
|
--network=#{app_name} \
|
96
88
|
--project=#{project_id}"
|
97
89
|
)
|
98
|
-
rescue Thor::Error => e
|
99
|
-
raise(Thor::Error, e)
|
100
90
|
end
|
101
91
|
|
102
92
|
desc "create_vpc_connector", "Create VPC-PEERING Connect"
|
@@ -112,8 +102,6 @@ module Souls
|
|
112
102
|
--project=#{project_id}
|
113
103
|
"
|
114
104
|
)
|
115
|
-
rescue Thor::Error => e
|
116
|
-
raise(Thor::Error, e)
|
117
105
|
end
|
118
106
|
|
119
107
|
desc "assgin_ip", "Add Current Grobal IP to White List"
|
@@ -129,8 +117,6 @@ module Souls
|
|
129
117
|
--authorized-networks=#{ip}
|
130
118
|
"
|
131
119
|
)
|
132
|
-
rescue Thor::Error => e
|
133
|
-
raise(Thor::Error, e)
|
134
120
|
end
|
135
121
|
|
136
122
|
private
|
@@ -10,8 +10,6 @@ module Souls
|
|
10
10
|
run_scaffold(singularized_class_name)
|
11
11
|
end
|
12
12
|
true
|
13
|
-
rescue Thor::Error => e
|
14
|
-
raise(Thor::Error, e)
|
15
13
|
end
|
16
14
|
|
17
15
|
desc "scaffold_all", "Generate Scaffold All Tables from schema.rb"
|
@@ -26,8 +24,6 @@ module Souls
|
|
26
24
|
end
|
27
25
|
end
|
28
26
|
true
|
29
|
-
rescue Thor::Error => e
|
30
|
-
raise(Thor::Error, e)
|
31
27
|
end
|
32
28
|
|
33
29
|
private
|
@@ -6,8 +6,6 @@ module Souls
|
|
6
6
|
create_manager(class_name, options[:mutation])
|
7
7
|
Souls::Generate.new.invoke(:manager_rbs, [singularized_class_name], { mutation: options[:mutation] })
|
8
8
|
Souls::Generate.new.invoke(:rspec_manager, [singularized_class_name], { mutation: options[:mutation] })
|
9
|
-
rescue Thor::Error => e
|
10
|
-
raise(Thor::Error, e)
|
11
9
|
end
|
12
10
|
|
13
11
|
private
|
@@ -15,8 +15,6 @@ module Souls
|
|
15
15
|
delete_mutation(class_name: singularized_class_name)
|
16
16
|
destroy_delete_mutation(class_name: singularized_class_name)
|
17
17
|
end
|
18
|
-
rescue Thor::Error => e
|
19
|
-
raise(Thor::Error, e)
|
20
18
|
end
|
21
19
|
|
22
20
|
private
|
@@ -138,7 +136,8 @@ module Souls
|
|
138
136
|
params[:relation_params].map do |n|
|
139
137
|
", #{n[:column_name]}: #{n[:column_name]}"
|
140
138
|
end
|
141
|
-
|
139
|
+
|
140
|
+
f.write(" new_record = { **args, id: data_id #{relation_params.compact.join} }\n")
|
142
141
|
else
|
143
142
|
f.write(" new_record = args.except(:id)\n")
|
144
143
|
end
|
@@ -7,8 +7,6 @@ module Souls
|
|
7
7
|
update_rbs_mutation(class_name: singularized_class_name)
|
8
8
|
delete_rbs_mutation(class_name: singularized_class_name)
|
9
9
|
destroy_delete_rbs_mutation(class_name: singularized_class_name)
|
10
|
-
rescue Thor::Error => e
|
11
|
-
raise(Thor::Error, e)
|
12
10
|
end
|
13
11
|
|
14
12
|
private
|
@@ -101,8 +99,6 @@ module Souls
|
|
101
99
|
end
|
102
100
|
puts(Paint % ["Created file! : %{white_text}", :green, { white_text: [file_path.to_s, :white] }])
|
103
101
|
file_path
|
104
|
-
rescue Thor::Error => e
|
105
|
-
raise(Thor::Error, e)
|
106
102
|
end
|
107
103
|
|
108
104
|
def update_rbs_mutation(class_name: "user")
|
@@ -211,8 +207,6 @@ module Souls
|
|
211
207
|
puts(Paint % ["Created file! : %{white_text}", :green, { white_text: [file_path.to_s, :white] }])
|
212
208
|
end
|
213
209
|
file_path
|
214
|
-
rescue Thor::Error => e
|
215
|
-
raise(Thor::Error, e)
|
216
210
|
end
|
217
211
|
|
218
212
|
def destroy_delete_rbs_mutation(class_name: "user")
|
@@ -242,8 +236,6 @@ module Souls
|
|
242
236
|
puts(Paint % ["Created file! : %{white_text}", :green, { white_text: [file_path.to_s, :white] }])
|
243
237
|
end
|
244
238
|
file_path
|
245
|
-
rescue Thor::Error => e
|
246
|
-
raise(Thor::Error, e)
|
247
239
|
end
|
248
240
|
end
|
249
241
|
end
|
@@ -34,8 +34,6 @@ module Souls
|
|
34
34
|
puts(Paint % ["Created file! : %{white_text}", :green, { white_text: [file_path.to_s, :white] }])
|
35
35
|
end
|
36
36
|
file_path
|
37
|
-
rescue Thor::Error => e
|
38
|
-
raise(Thor::Error, e)
|
39
37
|
end
|
40
38
|
|
41
39
|
def queries_rbs(class_name)
|
@@ -60,8 +58,6 @@ module Souls
|
|
60
58
|
puts(Paint % ["Created file! : %{white_text}", :green, { white_text: [file_path.to_s, :white] }])
|
61
59
|
end
|
62
60
|
file_path
|
63
|
-
rescue Thor::Error => e
|
64
|
-
raise(Thor::Error, e)
|
65
61
|
end
|
66
62
|
end
|
67
63
|
end
|
@@ -13,8 +13,6 @@ module Souls
|
|
13
13
|
resolver_end(class_name: singularized_class_name)
|
14
14
|
puts(Paint % ["Created file! : %{white_text}", :green, { white_text: [file_path.to_s, :white] }])
|
15
15
|
file_path
|
16
|
-
rescue Thor::Error => e
|
17
|
-
raise(Thor::Error, e)
|
18
16
|
end
|
19
17
|
|
20
18
|
private
|
@@ -144,7 +142,7 @@ module Souls
|
|
144
142
|
f.write(<<~TEXT)
|
145
143
|
scope = scope.where("created_at >= ?", value[:start_date]) if value[:start_date]
|
146
144
|
scope = scope.where("created_at <= ?", value[:end_date]) if value[:end_date]
|
147
|
-
branches << scope
|
145
|
+
branches << scope.order(created_at: :desc)
|
148
146
|
value[:OR].inject(branches) { |s, v| normalize_filters(v, s) } if value[:OR].present?
|
149
147
|
branches
|
150
148
|
end
|
@@ -5,10 +5,17 @@ module Souls
|
|
5
5
|
def server
|
6
6
|
if options[:all]
|
7
7
|
Dir.chdir(Souls.get_mother_path.to_s) do
|
8
|
+
front_path = "apps/console/package.json"
|
8
9
|
system("foreman start -f Procfile.dev")
|
10
|
+
system("cd apps/console && yarn dev") if File.exist?(front_path)
|
9
11
|
end
|
10
12
|
else
|
11
|
-
|
13
|
+
package_json_path = "package.json"
|
14
|
+
if File.exist?(package_json_path)
|
15
|
+
system("yarn dev")
|
16
|
+
else
|
17
|
+
system("foreman start -f Procfile.dev")
|
18
|
+
end
|
12
19
|
end
|
13
20
|
end
|
14
21
|
end
|
data/lib/souls/cli/sync/conf.rb
CHANGED
data/lib/souls/cli/sync/model.rb
CHANGED
@@ -12,8 +12,6 @@ module Souls
|
|
12
12
|
cp_env_files
|
13
13
|
end
|
14
14
|
puts(Paint % ["Synced! : %{white_text}", :green, { white_text: [cp_dir.to_s, :white] }])
|
15
|
-
rescue Thor::Error => e
|
16
|
-
raise(Thor::Error, e)
|
17
15
|
end
|
18
16
|
|
19
17
|
private
|
@@ -34,7 +32,7 @@ module Souls
|
|
34
32
|
end
|
35
33
|
|
36
34
|
def cp_env_files
|
37
|
-
return unless File.exist?("
|
35
|
+
return unless File.exist?("#{Souls.get_mother_path}/apps/api/.env")
|
38
36
|
|
39
37
|
worker_paths = Souls.configuration.workers.map { |n| n[:name].split("-").last }
|
40
38
|
worker_paths.each do |path|
|
@@ -57,8 +57,6 @@ module Souls
|
|
57
57
|
end
|
58
58
|
File.open(file_path, "w") { |f| f.write(write_txt) }
|
59
59
|
puts(Paint % ["Updated file! : %{white_text}", :green, { white_text: [file_path.to_s, :white] }])
|
60
|
-
rescue Thor::Error => e
|
61
|
-
raise(Thor::Error, e)
|
62
60
|
end
|
63
61
|
|
64
62
|
desc "update_mutation [CLASS_NAME]", "Update GraphQL Type from schema.rb"
|
@@ -123,8 +121,6 @@ module Souls
|
|
123
121
|
FileUtils.rm(file_path)
|
124
122
|
FileUtils.mv(new_file_path, file_path)
|
125
123
|
puts(Paint % ["Updated file! : %{white_text}", :green, { white_text: [file_path.to_s, :white] }])
|
126
|
-
rescue Thor::Error => e
|
127
|
-
raise(Thor::Error, e)
|
128
124
|
end
|
129
125
|
end
|
130
126
|
end
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.8.
|
1
|
+
1.8.6
|
@@ -1 +1 @@
|
|
1
|
-
1.8.
|
1
|
+
1.8.6
|
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: 1.8.
|
4
|
+
version: 1.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-11-
|
13
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|