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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39afa3833f7344bc28ab082c6f330aebea202971
4
- data.tar.gz: 585ffb7f96d766bfe83501bbc6a36170e72a19ee
3
+ metadata.gz: e880d9f98480cc82dc05ef63ea399db3864b31b1
4
+ data.tar.gz: 474b6eed69b649d6c18801187123f427ae8045a1
5
5
  SHA512:
6
- metadata.gz: fdb86aee90707a966d3abf68ab181ed5ea85540752f635218df2bd7e8a3b73220761333b56899c53f032a1882eea05120bbc4c9b1b9772fd6a534e4b6d8fe3f9
7
- data.tar.gz: 1b4f936fe3b7e04ed2547c25339d9ec2ece2cb78215feacd672d1875a1da89e1d2e0367d12cd27b5d146889bc1ec04035be60964e2ca0371ce4d6850530337d9
6
+ metadata.gz: 1efed0fbe239bbf3e44f9b42670b3d8a507422ebdd7c963a1fa8bc6006019b742c3ee11f6aec3a21b70c11e1ef0b3e84d05f4b11b7d28e737adf0e1b5988505d
7
+ data.tar.gz: 26cea3e1ff4c596605fc125eaaab83f0671fed9c166793949a4f88da580b97a856c7d675baf383f02f9874e8431d36b31fd0248cc580ab61c16085ae97b1f25c
@@ -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
@@ -1,3 +1,3 @@
1
1
  module YACCL
2
- VERSION = '0.0.29'
2
+ VERSION = '0.0.30'
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.29
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-23 00:00:00.000000000 Z
12
+ date: 2013-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty