souls 0.64.2 → 0.64.3

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: 4116d719f65e047b7d7ff350356aff1184379c1c226d4420db68b5cabd8cc117
4
- data.tar.gz: a2f616541e1e43383432399a7443a406597d6e4b62d7db8fa64a46624f87b61d
3
+ metadata.gz: a3a33999e189283758881dbe8f9d0a7222580ca0b359363d845142aecc6faf63
4
+ data.tar.gz: addf19b1163e5ae31937b0fe49ce464ed4de286d1edc013385a968dd721f858d
5
5
  SHA512:
6
- metadata.gz: 02bad8c88110af97b5522b302c16285b491dc39d27dc8a3cf711ce8a5584693dc947edd96264d1ac3047fe479b8746df9dcd068c14960bfb03ebfa53be51d86f
7
- data.tar.gz: 5d6d1243cceefaa77a7e6f65135416e8e67c995190af853490acef41abc12dd1c3a591d0137ce4ae6530ef132d9d8f6e062ec2743d4ea061d07bb32b7bf55979
6
+ metadata.gz: f19ae2ed49b96c8ac03e5944c79ac9f0cd8da0a4e7875660c83236c0cc645c16f064c4f97fa53d1b7c9ee3ae61ad9648c1cd3a4f84c038034ed57743cca7edc2
7
+ data.tar.gz: e95ee79d899afb8a255018c6d0da216e400f0689690cb2d1cc4a83f30c644ee7f2d7d35597f17a0ab07db1e887b1e0b29e7d786c51ab6d620351384f07b65d8d
@@ -44,6 +44,7 @@ module Souls
44
44
  params[:params].each_with_index do |param, i|
45
45
  type = Souls.type_check(param[:type])
46
46
  type = "[#{type}]" if param[:array]
47
+ type = "String" if param[:column_name].match?(/$*_id\z/)
47
48
  if i == params[:params].size - 1
48
49
  f.write(" argument :#{param[:column_name]}, #{type}, required: false\n\n")
49
50
  f.write(" def resolve(args)\n")
@@ -59,7 +60,7 @@ module Souls
59
60
  params[:relation_params].each_with_index do |col, _i|
60
61
  next if col[:column_name] == "user_id"
61
62
 
62
- f.write(" #{col[:column_name]} = SoulsApiSchema.from_global_id(args[:#{col[:column_name]}])\n")
63
+ f.write(" _, #{col[:column_name]} = SoulsApiSchema.from_global_id(args[:#{col[:column_name]}])\n")
63
64
  end
64
65
  relation_params =
65
66
  params[:relation_params].map do |n|
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.64.2".freeze
2
+ VERSION = "0.64.3".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.43.2
1
+ 0.43.3
@@ -1 +1 @@
1
- 0.43.2
1
+ 0.43.3
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.64.2
4
+ version: 0.64.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI