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: 8eef551448a25b03bac3ebe5d199b6b0b172fcba9e78d87858120b414c5ea0c0
4
- data.tar.gz: b0c718d228c2465a8b79a11a8467dc2bb67aa6bd6d6b68e7a96de92f623edb68
3
+ metadata.gz: 3aaa28347b058c5aa4bc63ed88c37f2826b1b3f8f228f9003838cab73247c9d4
4
+ data.tar.gz: 270568cedc0b251c59f8be16dd40d468433e42c7597f98440a590a7e71d7b361
5
5
  SHA512:
6
- metadata.gz: e39c3d25b169546409de5751b3df719239cec5ddaeff0fa9cc1b66ba28f3be1b8eaa9d99b7b09ab0db12d40d78558fcfac76b8218c4fd60b7aa7fbd5b9151b61
7
- data.tar.gz: 144bdb5fb9cb4ce27e76510514bfb5712fb8dc6b7414389463c8cb0a72c65735718c27cd13b59edce008bf7b69295f592e862ee657741fe5627ce8c24248d5aa
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 = Souls.get_columns_num(class_name: singularized_class_name)
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 = Souls.get_columns_num(class_name: singularized_class_name)
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,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.71.5".freeze
2
+ VERSION = "0.71.6".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.50.5
1
+ 0.50.6
@@ -1 +1 @@
1
- 0.50.5
1
+ 0.50.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: 0.71.5
4
+ version: 0.71.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI