souls 0.60.0 → 0.60.1
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: c9186282f4ac9cd03c645608b8f2449202f45072ee0564a0d7f6e62575185e1c
|
4
|
+
data.tar.gz: e842b2b0fb99831a3397c2c1b24abcdca1bcfaebf5032973dc45bc370e56e558
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64eef9cbb586f5eabeb104904d710e5e3218b0a5ae85f53ec4aff9b316f1a0cef0e7c572ed3cce366742160ab8d3cbf94e8a58eede788239934419eb2c87b4d1
|
7
|
+
data.tar.gz: 77c4cd1d756bbe4a15bee11214ce5ed7fb4756ab00728de0730b21a84c67ee2ab7146bb8ff511fef8f86385195370052b2a714c1945ecdea88b7622271e00c0e
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.39.
|
1
|
+
0.39.1
|
@@ -1 +1 @@
|
|
1
|
-
0.39.
|
1
|
+
0.39.1
|
@@ -3,9 +3,10 @@ module Souls
|
|
3
3
|
desc "job_rbs [CLASS_NAME]", "Generate SOULs Job Mutation RBS Template"
|
4
4
|
def job_rbs(class_name)
|
5
5
|
file_path = ""
|
6
|
+
worker_name = FileUtils.pwd.split("/").last
|
6
7
|
Dir.chdir(Souls.get_mother_path.to_s) do
|
7
8
|
singularized_class_name = class_name.underscore.singularize
|
8
|
-
file_dir = "./sig/#{
|
9
|
+
file_dir = "./sig/#{worker_name}/app/graphql/mutations/"
|
9
10
|
FileUtils.mkdir_p(file_dir) unless Dir.exist?(file_dir)
|
10
11
|
file_path = "#{file_dir}#{singularized_class_name}.rbs"
|
11
12
|
File.open(file_path, "w") do |f|
|