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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e880d9f98480cc82dc05ef63ea399db3864b31b1
4
- data.tar.gz: 474b6eed69b649d6c18801187123f427ae8045a1
3
+ metadata.gz: 6f20ef86e59e68ffd1fd958f213106d12504f737
4
+ data.tar.gz: fa9ac2253c593e036293d7567238f2bb0e87acc1
5
5
  SHA512:
6
- metadata.gz: 1efed0fbe239bbf3e44f9b42670b3d8a507422ebdd7c963a1fa8bc6006019b742c3ee11f6aec3a21b70c11e1ef0b3e84d05f4b11b7d28e737adf0e1b5988505d
7
- data.tar.gz: 26cea3e1ff4c596605fc125eaaab83f0671fed9c166793949a4f88da580b97a856c7d675baf383f02f9874e8431d36b31fd0248cc580ab61c16085ae97b1f25c
6
+ metadata.gz: cc06884af635816a9acc17a06655359cad9094a05fac7a2746f2bcfe83fb2b4814b2fa08914cbccfcbd300800200232f1694d428856007d156652f578f6644d2
7
+ data.tar.gz: 45313f35010a8286bf5a22de79bdc9082b9a32c53e8e767c618f0b91dcb9a3035d846edfac5ea7de166c8f84a34d9713040ce95d1d9af7dc7b9fb23f601c032b
@@ -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:secondaryObjectTypeId']
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[:value].size == 1
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
@@ -1,3 +1,3 @@
1
1
  module YACCL
2
- VERSION = '0.0.30'
2
+ VERSION = '0.0.31'
3
3
  end
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.30
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-09-30 00:00:00.000000000 Z
12
+ date: 2013-10-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty