jsonapi_compliable 0.11.16 → 0.11.17

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: 91b4575901e4872810f2439548136f4798893a9a
4
- data.tar.gz: 206d39a17e6cd69449ef459447f33ef7db361c62
3
+ metadata.gz: 649f0580f8ec8efbfbb9cec9a190390fa7b99cb9
4
+ data.tar.gz: fd775c165ecee97fc424ac0b4f9ab9196b6e8f9b
5
5
  SHA512:
6
- metadata.gz: 780451a9a115ea499c590ede80da6cde4dd680e22776ad4df06aca54e9e7bb119e8fd492ba0f21587cd9ac907cf9f4213019d225f3de9c051067f26efd6f49b3
7
- data.tar.gz: a55448c5e88e2044e678b0b4fbdce36d79f79609a116f22a9cbb933e6781c5fefebc27727e28db2b5889808e7a822d0469608ef137a9ccf344263942d888ba60
6
+ metadata.gz: b35775bc5eb4c3bd7b7b0812fe8b42e60cf8a1f5c55b0b272df64f6243ab8a2a260fa325c0d4bdebcf5f173b4d530666b659858c361d586ac72675b6634f2103
7
+ data.tar.gz: 96cfc2f2b74d39fce6a746b1e5e61ef67a943d6ad234f103b78796fbc9a9ccd4e1d52a73fdd865b3d4fe68be4d62bbc553b563f678c49d6e7b72b2ce63ffbe45
@@ -288,7 +288,7 @@ module JsonapiCompliable
288
288
  opts = default_jsonapi_render_options.merge(opts)
289
289
  opts = Util::RenderOptions.generate(scope, query_hash, opts)
290
290
  opts[:expose][:context] = self
291
- opts[:include] = deserialized_params.include_directive if force_includes?
291
+ opts[:include] ||= deserialized_params.include_directive if force_includes?
292
292
  perform_render_jsonapi(opts)
293
293
  end
294
294
 
@@ -1,3 +1,3 @@
1
1
  module JsonapiCompliable
2
- VERSION = "0.11.16"
2
+ VERSION = "0.11.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi_compliable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.16
4
+ version: 0.11.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-05-30 00:00:00.000000000 Z
12
+ date: 2018-06-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jsonapi-serializable