dulead-jsonapi-serializer 2.2.0 → 2.2.1

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: a11ca556b8d9c1c755b7722d3186010c972534e36e19ec3cac3b3c75210b284f
4
- data.tar.gz: 85f55c7e99dd29d4ed5fbb6f7256ca0ca2ed45cc9956ad3a8e0170384947f889
3
+ metadata.gz: 604beead860bba8e8002e92f0c47903c089e66e392a2961e7b27205dc7ca255b
4
+ data.tar.gz: 8cca19a6be3ffa1697b907346fa046a92bbed25163169908e9545f794fa1f05b
5
5
  SHA512:
6
- metadata.gz: 52b00b8aa1478b77dd8d31950ae01bf394fa1cc1ade96280ee05379ba8fac4585f1a877f7f687509d782a1ead642a86002a98f3c0c6d848d71d6cf6d3b7a1f6f
7
- data.tar.gz: c6f6561ed73b45265f24329af492b0a435c8b2c15d892f7b02270b5bfed7cfb76b0a6cef17b6c1f427cae0cf0295e4e1d88697991d8c62d1f2587c07dadd1dd9
6
+ metadata.gz: 3c04073da9088ef4823526830b2a12ac3a47cbdc81bdadd4fe411da3aaec715db53bd83f6e0b883539a7934940d5c6e048cec9457a82861675b2ac8fc199e471
7
+ data.tar.gz: 00daee878602596954b751c4539d22cb0b4d8e1c8279ba3be06367e41b12f8fb0946d0cec96320156b99508f5df118f396825e8a0862a417fcd95850f3fa9806
@@ -347,9 +347,9 @@ module FastJsonapi
347
347
 
348
348
  parse_includes_list(includes).each_key do |include_item|
349
349
  relationship_to_include = relationships_to_serialize[include_item]
350
- raise(JSONAPI::Serializer::UnsupportedIncludeError.new(include_item, name)) unless relationship_to_include
350
+ warn(JSONAPI::Serializer::UnsupportedIncludeError.new(include_item, name)) unless relationship_to_include
351
351
 
352
- relationship_to_include.static_serializer # called for a side-effect to check for a known serializer class.
352
+ relationship_to_include.static_serializer if relationship_to_include # called for a side-effect to check for a known serializer class.
353
353
  end
354
354
  end
355
355
  end
@@ -1,5 +1,5 @@
1
1
  module JSONAPI
2
2
  module Serializer
3
- VERSION = '2.2.0'.freeze
3
+ VERSION = '2.2.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dulead-jsonapi-serializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JSON:API Serializer Community
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-13 00:00:00.000000000 Z
11
+ date: 2022-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport