graphiti_gql 0.2.35 → 0.2.37

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: 5e404a080bb36a50e41942d18eadaa0813c92eef0c965adf07dcddb80218b151
4
- data.tar.gz: 20f073ab99227e37bdf357511b58e96172994682d5d3dcd881abdb8d4f1a2bca
3
+ metadata.gz: f8ddd3ade8ce481320a5c337236794da9bd73594fa2281fb872ea4dedbdc7382
4
+ data.tar.gz: 5e61dfa05bff869350f7a184839c6bf25e3863c1468e98997863462cbfd1bb4b
5
5
  SHA512:
6
- metadata.gz: ba6307b54c651e5367555290ee756db75c3c0a9f6504167f16968d564b88bdd6fb5c7d7e8cc73982d321157ad59039688d107f834ab61078b350783e16259a5d
7
- data.tar.gz: 1c3e2611f9fd313097b807b0b09082d037c34a9ffc87ce749b36b3283a9d98c428374fa64d1e4eca4d0c47b9918b2f9738b4e1054177c55e9e881ff6eda9c457
6
+ metadata.gz: 8c4a3769587e61eda3b931e8976d054f4e36726f35ec78e733ec9241f1e0cac31c16dd4ce1c45ba49ff4171d6778b4fae224efde2b1932a3d0a36d4d7af26b42
7
+ data.tar.gz: bf60dc1e4dec78bd0d652f27fcd2b340e7b8c6d77b224dca649358b1d568a51c4ad18c880ffbd4aed1bcb3acd99c8bcbb7247b714db29cdfd3af6353409dad68
@@ -453,7 +453,7 @@ module GraphitiGql
453
453
  column = column_for(scope, attribute)
454
454
  map = value.map { |v|
455
455
  v = v.downcase unless mysql?(scope)
456
- v = Sanitizer.sanitize_like(v, escape_char)
456
+ v = Graphiti::Adapters::ActiveRecord::Sanitizer.sanitize_like(v, escape_char)
457
457
  block.call v
458
458
  }
459
459
  arel = column
@@ -17,7 +17,7 @@ module GraphitiGql
17
17
  _registered = @registered
18
18
  query.define_method name do |**arguments|
19
19
  params = Util.params_from_args(arguments)
20
- _registered[:resource].all(params).data[0]
20
+ _registered[:resource].find(params).data
21
21
  end
22
22
  end
23
23
 
@@ -1,3 +1,3 @@
1
1
  module GraphitiGql
2
- VERSION = "0.2.35"
2
+ VERSION = "0.2.37"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti_gql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.35
4
+ version: 0.2.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-15 00:00:00.000000000 Z
11
+ date: 2022-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql