pinkman 0.9.3 → 0.9.3.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86912b8fc4f73b1b251bffafd61294c77ebfff19
|
4
|
+
data.tar.gz: 361639ee4513fb3f607403e074b9443972037cc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52f40b6d1ee439556bb77025c9b3d506829e2eab6a614cf2f668ef645927bde42cb237fb3acd42ee885c5cec34269bed189073c24ab91661455638dd12ef3669
|
7
|
+
data.tar.gz: 0454f89eb0d34fea5234952d64d79b44cbd8b47a3e163839914d370a52bff35842cb3fdb1959800445a0f4eb9035a7a8a3ba2157ef078d8329c20eb913778459
|
@@ -33,7 +33,7 @@ class window.PinkmanObject extends window.PinkmanCommon
|
|
33
33
|
a = new Object
|
34
34
|
for k,v of this
|
35
35
|
if PinkmanObject.privateAttributes.indexOf(k) == -1 and typeof v != 'function'
|
36
|
-
if v.isPink
|
36
|
+
if (v? and typeof v == 'object' and v.isPink)
|
37
37
|
a[k] = v.attributes()
|
38
38
|
else
|
39
39
|
a[k] = v
|
@@ -45,7 +45,7 @@ class window.PinkmanObject extends window.PinkmanCommon
|
|
45
45
|
a = new Object
|
46
46
|
for k,v of this
|
47
47
|
if PinkmanObject.privateAttributes.indexOf(k) == -1 and typeof v != 'function'
|
48
|
-
a[k] = if v.isPink then v.json() else v
|
48
|
+
a[k] = if (v? and typeof v == 'object' and v.isPink) then v.json() else v
|
49
49
|
return a
|
50
50
|
|
51
51
|
# Desc: returns a array of attributes keys
|
data/lib/pinkman/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pinkman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.3
|
4
|
+
version: 0.9.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Agilso Oliveira
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|