graphiti 1.2.10 → 1.2.11

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: baac052d897009c65c320247e4ff008050b898d700ccab49e08e0e9276fc75ce
4
- data.tar.gz: 5d9687d68e3bed0a700f2b534dceedc5989e01b2b9863e4173f5f9bdf277f424
3
+ metadata.gz: ea78d309ce3a7faf7b9d775c9e79e4df2d3b93533653ebeaecdd91e28abb7433
4
+ data.tar.gz: 40a140a265f9d7a3123f9dc6a06c2fe55264a67e15271e80b32ed64300db3ae2
5
5
  SHA512:
6
- metadata.gz: 004d5f12a5dc29edeae1f6a332644580efd30530144d9a850a83cf904b43be16ff30a699bb24fa81e7e6eabca952972ca4cbcce1c3a46d6c1ad5d95d5cc58ddd
7
- data.tar.gz: 5927f6e81eb5ec26964549ace950d4667390cd78649c1aebbc10d97810de80e33af83e7dad541e552f09a61419b1682eba2091f4264ad6cc8d92da5f60cf81fb
6
+ metadata.gz: d825856d877cde9035fa381ab9e9b65f0ab63f49e027de7ffd91bece79eb63e2050c00d6fce35dc416cccd33ad8a50124bbdf5bd9c407381f24827f63d154f72
7
+ data.tar.gz: 71b3422a5e049497c860be945b2449ddaadb8f88419b6146f6aa3b8f91ab5fe65ac4570b500d6a8ffd96b6a09c8a232c878d614b8efb65dc10ade84d295019ab
@@ -20,6 +20,10 @@ module Graphiti
20
20
  yield scope
21
21
  end
22
22
 
23
+ def after_filtering(scope)
24
+ scope
25
+ end
26
+
23
27
  def serializer_for(model)
24
28
  serializer
25
29
  end
@@ -16,7 +16,7 @@ module Graphiti
16
16
  @scope = filter_scope(filter, operator, value)
17
17
  end
18
18
 
19
- @scope
19
+ resource.after_filtering(@scope)
20
20
  end
21
21
 
22
22
  private
@@ -1,3 +1,3 @@
1
1
  module Graphiti
2
- VERSION = "1.2.10"
2
+ VERSION = "1.2.11"
3
3
  end
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.10
4
+ version: 1.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-07 00:00:00.000000000 Z
11
+ date: 2019-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jsonapi-serializable