souls 1.14.3 → 1.15.0

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: 307c03a9709bb93fa10b1c01c3aeef9195998851d3911cd82e9caf15bdf681e6
4
- data.tar.gz: 73e46b801ed06da8633ba90f26a4614adbc0bcc1421b23eab9fae4b2f46fe978
3
+ metadata.gz: b8ac629f9417ec89610e144130620cd5b4d63abf618545a2edd03a0dfa641648
4
+ data.tar.gz: 7d90d21c551a6308f813b6036497b306926f989a2e4ffd78711ebf3b8dc730bb
5
5
  SHA512:
6
- metadata.gz: 0cb923fdc7f81864b921b1c6d02ff39512ed972826281c64e8e93da4232f8c9071b48e6266f0642baec145f66d6bbc377e1c91f6573f6623f5c160d202fb57d9
7
- data.tar.gz: 727b4134dc221130f6af878677b0d6ec666748ec319aa03970b2e5093f62c33d549b1f46ca78ed2d83be918b97619a3f385ffb736fe30fafe4ee132921d552bf
6
+ metadata.gz: ee9d8fb97ef92a7776ccb458fd46531cb8596e745e739ce0367346a1b1750447b8b99a4079731205d4ee06f1429706e7640cb295f6866a5a50bdbbca9a9a4137
7
+ data.tar.gz: ae1becef1a18db18b3b16d7c70b06d30aeb999916b90f91b6389e4efb558d56463bc1ed5e8af44cac3d4f1cde42af8852ac038a1479565a4a271be4e02921583
@@ -12,22 +12,24 @@ module Souls
12
12
 
13
13
  File.open(file_path, "w") do |f|
14
14
  f.write(<<~TEXT)
15
- class BaseResolver
16
- end
17
- class #{singularized_class_name.camelize}Search < BaseResolver
18
- include SearchObject
19
- def self.scope: () ?{ () -> nil } -> [Hash[Symbol, untyped]]
20
- def self.type: (*untyped) -> String
21
- def self.option: (:filter, type: untyped, with: :apply_filter) -> String
22
- def self.description: (String) -> String
23
- def self.types: (*untyped) -> String
24
- def decode_global_key: (String value) -> Integer
25
- def apply_filter: (untyped scope, untyped value) -> untyped
15
+ module Resolvers
16
+ class BaseResolver
17
+ end
18
+ class #{singularized_class_name.camelize}Search < BaseResolver
19
+ include SearchObject
20
+ def self.scope: () ?{ () -> nil } -> [Hash[Symbol, untyped]]
21
+ def self.type: (*untyped) -> String
22
+ def self.option: (:filter, type: untyped, with: :apply_filter) -> String
23
+ def self.description: (String) -> String
24
+ def self.types: (*untyped) -> String
25
+ def decode_global_key: (String value) -> Integer
26
+ def apply_filter: (untyped scope, untyped value) -> untyped
26
27
 
27
- class #{singularized_class_name.camelize}Filter < Souls::Types::BaseInputObject
28
- String: String
29
- Boolean: Boolean
30
- Integer: Integer
28
+ class #{singularized_class_name.camelize}Filter
29
+ String: String
30
+ Boolean: Boolean
31
+ Integer: Integer
32
+ end
31
33
  end
32
34
  end
33
35
  TEXT
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "1.14.3".freeze
2
+ VERSION = "1.15.0".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.14.3
1
+ 1.15.0
@@ -1 +1 @@
1
- 1.14.3
1
+ 1.15.0
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.14.3
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI