yaccl 0.0.30 → 0.0.31
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 +2 -2
- 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: 6f20ef86e59e68ffd1fd958f213106d12504f737
|
4
|
+
data.tar.gz: fa9ac2253c593e036293d7567238f2bb0e87acc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc06884af635816a9acc17a06655359cad9094a05fac7a2746f2bcfe83fb2b4814b2fa08914cbccfcbd300800200232f1694d428856007d156652f578f6644d2
|
7
|
+
data.tar.gz: 45313f35010a8286bf5a22de79bdc9082b9a32c53e8e767c618f0b91dcb9a3035d846edfac5ea7de166c8f84a34d9713040ce95d1d9af7dc7b9fb23f601c032b
|
data/lib/yaccl/model/object.rb
CHANGED
@@ -22,7 +22,7 @@ module YACCL
|
|
22
22
|
@object_id = @properties[:'cmis:objectId']
|
23
23
|
@base_type_id = @properties[:'cmis:baseTypeId']
|
24
24
|
@object_type_id = @properties[:'cmis:objectTypeId']
|
25
|
-
@secondary_object_type_ids = @properties[:'cmis:
|
25
|
+
@secondary_object_type_ids = @properties[:'cmis:secondaryObjectTypeIds']
|
26
26
|
@name = @properties[:'cmis:name']
|
27
27
|
@description = @properties[:'cmis:description']
|
28
28
|
@created_by = @properties[:'cmis:createdBy']
|
@@ -129,7 +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[:
|
132
|
+
val = v[:value].first if v[:value].is_a?(Array) and v[:cardinality] == 'single'
|
133
133
|
val = Time.at(val / 1000) if val and v[:type] == 'datetime'
|
134
134
|
h.merge(k => val)
|
135
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.31
|
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-
|
12
|
+
date: 2013-10-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|