primalize-jsonapi 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/primalize/jsonapi.rb +0 -2
- data/lib/primalize/jsonapi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aaf1df730a3a2162e2d191d8da4b49de7697ff7ef4809f986cf4e99d837b4a3b
|
4
|
+
data.tar.gz: 5baafec6c85e5f380a74abf920d7b1a22cde35d6f1e4d00c803bbe4370767b8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55ba3bfb9406b4850851bf233076a99426b809c56455c1621d6c122c1d6bdd44680451af8eea8a7f7f82ed2814d661529d8b018ab98354f68154f81387f6eaea
|
7
|
+
data.tar.gz: 4dd22697d9105583e7474208d33ecb847c81ff0b803db59fe08fc225267149f9723cbd777d4acadfa8590cf2564dc87103d7d7a4f2ffb5bde2712212870517cf
|
data/lib/primalize/jsonapi.rb
CHANGED
@@ -100,9 +100,7 @@ module Primalize
|
|
100
100
|
def initialize
|
101
101
|
# Three-layer cache: metadata/serialization, class, and id
|
102
102
|
@cache = Hash.new do |h, k|
|
103
|
-
puts "Creating type hash: #{k}"
|
104
103
|
h[k] = Hash.new do |h, k|
|
105
|
-
puts "Creating model hash: #{k}"
|
106
104
|
h[k] = {}
|
107
105
|
end
|
108
106
|
end
|