graphiti 1.2.14 → 1.2.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/gemfiles/rails_6.gemfile +1 -1
- data/gemfiles/rails_6_graphiti_rails.gemfile +1 -1
- data/lib/graphiti/query.rb +7 -4
- data/lib/graphiti/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4833a7e5fef23d277fce48973eafa25e53ba2a1f54c7b74abd0bc85a919813e
|
4
|
+
data.tar.gz: f68f0a86c9ef82a986af03d2e3705ed87e3e1b1f8d9cb2fd924693927bf4531f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77490b2ffcd561f1e5e3c97293505abf6f5eee9f798ff96c8948ce14ea981e0d4c8dcbddb76b2d1847d20c437dde2cfa16c9b4dff42ba4a9378dc211a47b1582
|
7
|
+
data.tar.gz: a3a55ae88004095897db6779275c887d85037f941e3de8432655005ca3740bb86ecfe796d491171ca522f896970de6ac75361a86d66e4b1ddb98ffaa21bb3dcb
|
data/gemfiles/rails_6.gemfile
CHANGED
data/lib/graphiti/query.rb
CHANGED
@@ -126,10 +126,13 @@ module Graphiti
|
|
126
126
|
name = name.to_sym
|
127
127
|
|
128
128
|
if legacy_nested?(name)
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
129
|
+
value.keys.each do |key|
|
130
|
+
filter_name = key.to_sym
|
131
|
+
filter_value = value[key]
|
132
|
+
|
133
|
+
if @resource.get_attr!(filter_name, :filterable, request: true)
|
134
|
+
hash[filter_name] = filter_value
|
135
|
+
end
|
133
136
|
end
|
134
137
|
elsif nested?(name)
|
135
138
|
name = name.to_s.split(".").last.to_sym
|
data/lib/graphiti/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphiti
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Richmond
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jsonapi-serializable
|