graphiti-activegraph 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphiti/active_graph/resource.rb +0 -8
- data/lib/graphiti/active_graph/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc7448766341d1fa9d2b7fdb4ade963fd40157583ed24ca640dc8bb145d518bd
|
4
|
+
data.tar.gz: 1e6152915f1b005e04bb7770f49af245525415b6220be35d1741e5a76a34a1d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d3ec416ec20b49b886c0092038ee756cd1ebf27b7c2fc8691cf63c1d10d0f3d939cad93be2c64f5a1c78855fccbca77f3c3639c60b50c860bca0abbb39571aa
|
7
|
+
data.tar.gz: d3d470d91f0b9dc2b19c9459ce3b7b31d88287d2f7011cf183f9064c211ca48cbefc8463150e7d3a84cafa403edab977ef23086b730a1ad32cc9dcac2a723788
|
@@ -35,14 +35,6 @@ module Graphiti
|
|
35
35
|
self.class.relation_resource?
|
36
36
|
end
|
37
37
|
|
38
|
-
def before_resolve(scope, query)
|
39
|
-
if query.params[:group_by].present?
|
40
|
-
scope.collect { |gp| query.params[:group_class].new(name: gp['name']) }
|
41
|
-
else
|
42
|
-
scope
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
38
|
def sideload_name_arr(query)
|
47
39
|
query.sideloads.keys.map(&:to_sym)
|
48
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphiti-activegraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hardik Joshi
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphiti
|
@@ -178,7 +178,7 @@ dependencies:
|
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 3.9.0
|
181
|
-
description:
|
181
|
+
description:
|
182
182
|
email:
|
183
183
|
- hardikjoshi1991@gmail.com
|
184
184
|
executables: []
|
@@ -215,7 +215,7 @@ homepage: https://github.com/mrhardikjoshi/graphiti-activegraph
|
|
215
215
|
licenses:
|
216
216
|
- MIT
|
217
217
|
metadata: {}
|
218
|
-
post_install_message:
|
218
|
+
post_install_message:
|
219
219
|
rdoc_options: []
|
220
220
|
require_paths:
|
221
221
|
- lib
|
@@ -230,8 +230,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
230
|
- !ruby/object:Gem::Version
|
231
231
|
version: '0'
|
232
232
|
requirements: []
|
233
|
-
rubygems_version: 3.
|
234
|
-
signing_key:
|
233
|
+
rubygems_version: 3.2.3
|
234
|
+
signing_key:
|
235
235
|
specification_version: 4
|
236
236
|
summary: Easily build jsonapi.org-compatible APIs for GraphDB
|
237
237
|
test_files: []
|