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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce6e8a32063cdae6017a1439fa96cd927a663fd00b508f15477f45156c318b28
4
- data.tar.gz: 19bf6efbec5e2c7d0ad3d50d251c5c2c454be228e30dc1826bc006dd380cac5d
3
+ metadata.gz: 8579c9811adaa3970cceee58fc6f42f08e39b67f2b8c485cf23f0cce19934a86
4
+ data.tar.gz: 5fa60609ce4a0c07a1a0957f14f754717c148df61771a85a1cf7589b073f17ea
5
5
  SHA512:
6
- metadata.gz: c9c0cc5172fb60beeb95b568d23265ee96132dd1a43826317fa6a660c835ba3661ca360be9d4fc0bf440606c7162bbb12cb4bf13b78ca5e3ab4f9d6cc3ad141d
7
- data.tar.gz: cd80b0c6145863ea47f8f8106eafebcc6b1bf054530b34d0c04dda55bde8ec7ce0c643b96519b9d562c2bd1f626df8bbe7a3af4286987c951296190c83a449f3
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(:scaffold_all, [table.singularize], { rbs: options[:rbs] })
23
+ Souls::Generate.new.invoke(:scaffold, [table.singularize], { rbs: options[:rbs] })
24
24
  else
25
- Souls::Generate.new.invoke(:scaffold_all, [table.singularize], {})
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.get_mother_path.to_s) do
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"
@@ -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} && git submodule add https://github.com/ruby/gem_rbs_collection.git vendor/rbs/gem_rbs_collection
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,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.63.0".freeze
2
+ VERSION = "0.63.4".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.42.0
1
+ 0.42.4
@@ -1 +1 @@
1
- 0.42.0
1
+ 0.42.4
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: 0.63.0
4
+ version: 0.63.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI