simple-json-api-serializer 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8a2441e4b7b8d8da666d09dc73d5d0ab8e48547
4
- data.tar.gz: 1ac1659218af6fa49cf2565bfdbfe8143fa0f0db
3
+ metadata.gz: 758aebd8cc9ce84b619c16ed1220e93295df13bf
4
+ data.tar.gz: f84419b4131425f313aa670837d0d881280c1e3a
5
5
  SHA512:
6
- metadata.gz: 03fca810906d647b3b45faa57409a7d8c0a16254cdc6171d3887924c1bb6ceee110b7b8f4a20ad58763e10e6ba1c3970a7192eab2d64edb595d42252b7f35c65
7
- data.tar.gz: d69bac89c8161bb884e7a427efc122e11bbf278a71306cfada89ae5e8fa15fdbd94b90739c743b1c0a6c20754051138940691d7ff7ed3423de202c03c3178b48
6
+ metadata.gz: 8604ad53287585f75ecb63ba3028c0f3a589cabc9f3e5f9313d828e7141ae73e97f102dce867cecb1fe94f72324e7fa723a03e685e36e59bad038c52bd912e0d
7
+ data.tar.gz: 68df922c805573cfe53f58bc2f151323a50d118ff4fa4da776e05e94f69e150721618f37601901fa25d3565d501ae97c42a1a570d0f807eccab634e3e7235a77
@@ -48,7 +48,7 @@ module JSONApi
48
48
  type: type_for(object, options)
49
49
  }
50
50
 
51
- unless options[:new_record]
51
+ unless options[:new_record] == true
52
52
  resource_identifier[:id] = id_for(object, options)
53
53
  end
54
54
 
@@ -1,3 +1,3 @@
1
1
  module JSONApi
2
- VERSION = '0.5.1'
2
+ VERSION = '0.5.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-json-api-serializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Schilstra
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-29 00:00:00.000000000 Z
11
+ date: 2015-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport