souls 1.10.4 → 1.10.8
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/delete/manager.rb +1 -2
- data/lib/souls/cli/generate/job.rb +1 -1
- data/lib/souls/cli/generate/rspec_manager.rb +2 -2
- data/lib/souls/cli/generate/type.rb +1 -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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f1fa85b035aa50add4e54722082164857168aa7e279ded03ee85c7ef2560263
|
4
|
+
data.tar.gz: b8907387ff36ac1960f4e2d2ed9439badeff8795a23d2612848ff4025f41ed28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8223129edc947b485649b2eef4e478faeafbf22ef4496716b071bfc30adf422b30f25b9daa5c77940ceab8bf0b596ec57725687f921b5d947ade164f8f038de7
|
7
|
+
data.tar.gz: 86f9683c92a2b12a365ea56e8ed21dc7c135779a6b1cc6a6bc9af31049dea5ddefa4f4019286a1c44538aa1a52b28078b4c2c4c22519986b572c76944206b8c4
|
@@ -6,10 +6,9 @@ module Souls
|
|
6
6
|
singularized_class_name = class_name.underscore.singularize
|
7
7
|
file_dir = "./app/graphql/mutations/managers/#{singularized_class_name}_manager"
|
8
8
|
file_path = "#{file_dir}/#{options[:mutation]}.rb"
|
9
|
-
puts(file_path)
|
10
9
|
|
11
10
|
FileUtils.rm_f(file_path)
|
12
|
-
puts(Paint % ["
|
11
|
+
puts(Paint % ["Deleted file! : %{white_text}", :yellow, { white_text: [file_path.to_s, :white] }])
|
13
12
|
Souls::Delete.new.invoke(:manager_rbs, [singularized_class_name], { mutation: options[:mutation] })
|
14
13
|
Souls::Delete.new.invoke(:rspec_manager, [singularized_class_name], { mutation: options[:mutation] })
|
15
14
|
file_path
|
@@ -4,9 +4,9 @@ module Souls
|
|
4
4
|
method_option :mutation, aliases: "--mutation", required: true, desc: "Mutation File Name"
|
5
5
|
def rspec_manager(class_name)
|
6
6
|
singularized_class_name = class_name.underscore.singularize
|
7
|
-
file_dir = "./spec/managers
|
7
|
+
file_dir = "./spec/managers/#{singularized_class_name}_manager"
|
8
8
|
FileUtils.mkdir_p(file_dir) unless Dir.exist?(file_dir)
|
9
|
-
file_path = "
|
9
|
+
file_path = "#{file_dir}/#{options[:mutation]}_spec.rb"
|
10
10
|
return "RspecManager already exist! #{file_path}" if File.exist?(file_path)
|
11
11
|
|
12
12
|
File.open(file_path, "w") do |f|
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.10.
|
1
|
+
1.10.8
|
@@ -1 +1 @@
|
|
1
|
-
1.10.
|
1
|
+
1.10.8
|
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.10.
|
4
|
+
version: 1.10.8
|
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-12-
|
13
|
+
date: 2021-12-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|