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 +4 -4
- data/ChangeLog.md +6 -0
- data/lib/kura/client.rb +7 -1
- data/lib/kura/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: 686e027106a92b44c2ecf739886c1574cd9542d0
|
4
|
+
data.tar.gz: 9533adcbc7308b0c33b80cd427d21614edb01681
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e199e1cc3feaa63cc5c37dd69a8db013243e454a4c087a4c9f819dc40e9210e93d7443c1474bed04efbe885678628da2a1260c2671c857abdc47ceb3e9913927
|
7
|
+
data.tar.gz: 0ff4ef43c9d6f30631e67faa1a576bc535c21bf228df0519bf401adc4bce2001a5bebbfc257d7bde8eef10f8d02ee7ba6f472def2ee64bbf51476db25d28f764
|
data/ChangeLog.md
CHANGED
data/lib/kura/client.rb
CHANGED
@@ -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|
|
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
|
data/lib/kura/version.rb
CHANGED
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.
|
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-
|
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
|