kura 0.2.18 → 0.2.19

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: d4cf6a3d18c63557a9aa7527c586ba3eead6a31b
4
- data.tar.gz: 843aacb78c56a3f4a85b28baeedb8935ed8186ba
3
+ metadata.gz: 686e027106a92b44c2ecf739886c1574cd9542d0
4
+ data.tar.gz: 9533adcbc7308b0c33b80cd427d21614edb01681
5
5
  SHA512:
6
- metadata.gz: 1e285cc35b795d85cd83897ee50a0a137fd2615f07377fa3e1f485b633170b1ec6d0a8b57134ec995f1718423001438ec5a29aa12c219b9cb4a1c46aaaab3a3c
7
- data.tar.gz: ae4f02b64eec12c67db794c7c664a357f08fd54f38e35850f530200f24bb3becd119cd57c6a4466ce1fd280a4fdc3c34124a5e1be6ed1c4c373288ae5a690a50
6
+ metadata.gz: e199e1cc3feaa63cc5c37dd69a8db013243e454a4c087a4c9f819dc40e9210e93d7443c1474bed04efbe885678628da2a1260c2671c857abdc47ceb3e9913927
7
+ data.tar.gz: 0ff4ef43c9d6f30631e67faa1a576bc535c21bf228df0519bf401adc4bce2001a5bebbfc257d7bde8eef10f8d02ee7ba6f472def2ee64bbf51476db25d28f764
@@ -1,3 +1,9 @@
1
+ # 0.2.19
2
+
3
+ ## Fixes
4
+
5
+ * `list_tabledata` can now handle REPEATED fields.
6
+
1
7
  # 0.2.18
2
8
 
3
9
  ## Fixes
@@ -229,7 +229,13 @@ module Kura
229
229
  total_rows: r.total_rows.to_i,
230
230
  next_token: r.page_token,
231
231
  rows: (r.rows || []).map do |row|
232
- row.f.zip(field_names).each_with_object({}) do |(v, fn), tbl| tbl[fn] = v.v end
232
+ row.f.zip(field_names).each_with_object({}) do |(v, fn), tbl|
233
+ if v.v.is_a?(Array)
234
+ tbl[fn] = v.v.map{|c| c["v"] }
235
+ else
236
+ tbl[fn] = v.v
237
+ end
238
+ end
233
239
  end
234
240
  }
235
241
  end
@@ -1,3 +1,3 @@
1
1
  module Kura
2
- VERSION = "0.2.18"
2
+ VERSION = "0.2.19"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kura
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.18
4
+ version: 0.2.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chikanaga Tomoyuki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-06 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-api-client