jsonapi-resources 0.9.1.beta2 → 0.9.2

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
  SHA1:
3
- metadata.gz: 9a207e2a7c3910438ca32190cb7285841e5584d2
4
- data.tar.gz: 074e4017d39211054663e2d7fb0627a50244822b
3
+ metadata.gz: 228adb9ade738e5407a5ae9a5703f7cf5b45af69
4
+ data.tar.gz: 61fdfbc616b39f2fcd354220d31e8bec9e7820b3
5
5
  SHA512:
6
- metadata.gz: 4f9878b88f3f38fa29c14d73c1a217de6750ebe4fa0ccd18080d07fe03193200f1783fff0852a33e66031c96acd69c1a360e4b32a1d7c4e62da57d4eb7a87772
7
- data.tar.gz: 19a92eeae6a98f32ba8bec814d14ebae6855f2908dd4e22f8b0ca27be338e086f7d4de2e855ec028cf30c099105db047d7a6330d0386a37f025edc17ea98b061
6
+ metadata.gz: a9ca0d04854314ef0df6f5566ea7edbfb3c8767487e7de9376f99b3e36d5e96bbc87a20b54aae4a911feb841709fd13411f57cc35913011348077c66e96f3049
7
+ data.tar.gz: c8368190cf3edf7bb23b98949c1444e8b5df018c56658f4d8f8a905d4cdce7e5c37008227aaaec7c1d740eecf12885713297fc6e1799f3cda2c6b6eebb9da45b
@@ -60,6 +60,8 @@ module JSONAPI
60
60
 
61
61
  resource_klass = relationship.resource_klass
62
62
 
63
+ records = resource_klass.apply_includes(records, options)
64
+
63
65
  filters = options.fetch(:filters, {})
64
66
  unless filters.nil? || filters.empty?
65
67
  records = resource_klass.apply_filters(records, filters, options)
@@ -1,5 +1,5 @@
1
1
  module JSONAPI
2
2
  module Resources
3
- VERSION = '0.9.1.beta2'
3
+ VERSION = '0.9.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi-resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1.beta2
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Gebhardt
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-12-10 00:00:00.000000000 Z
12
+ date: 2018-08-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -212,12 +212,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
212
  version: '2.1'
213
213
  required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  requirements:
215
- - - ">"
215
+ - - ">="
216
216
  - !ruby/object:Gem::Version
217
- version: 1.3.1
217
+ version: '0'
218
218
  requirements: []
219
219
  rubyforge_project:
220
- rubygems_version: 2.5.2.1
220
+ rubygems_version: 2.5.2.3
221
221
  signing_key:
222
222
  specification_version: 4
223
223
  summary: Easily support JSON API in Rails.