yaccl 0.0.29 → 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yaccl/model/object.rb +1 -0
- data/lib/yaccl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e880d9f98480cc82dc05ef63ea399db3864b31b1
|
4
|
+
data.tar.gz: 474b6eed69b649d6c18801187123f427ae8045a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1efed0fbe239bbf3e44f9b42670b3d8a507422ebdd7c963a1fa8bc6006019b742c3ee11f6aec3a21b70c11e1ef0b3e84d05f4b11b7d28e737adf0e1b5988505d
|
7
|
+
data.tar.gz: 26cea3e1ff4c596605fc125eaaab83f0671fed9c166793949a4f88da580b97a856c7d675baf383f02f9874e8431d36b31fd0248cc580ab61c16085ae97b1f25c
|
data/lib/yaccl/model/object.rb
CHANGED
@@ -129,6 +129,7 @@ module YACCL
|
|
129
129
|
elsif raw[:properties]
|
130
130
|
result = raw[:properties].reduce({}) do |h, (k, v)|
|
131
131
|
val = v[:value]
|
132
|
+
val = v[:value].first if v[:value].is_a?(Array) and v[:value].size == 1
|
132
133
|
val = Time.at(val / 1000) if val and v[:type] == 'datetime'
|
133
134
|
h.merge(k => val)
|
134
135
|
end
|
data/lib/yaccl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaccl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenneth Geerts
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-09-
|
12
|
+
date: 2013-09-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|