kura 0.2.23 → 0.2.24

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: 8144b9d7469828bcb90ab4a4991f3aa1a85b0fae
4
- data.tar.gz: 9ba84dbdc80baf7e1f7411763f13f1f1b20dbfdb
3
+ metadata.gz: 463e89c9692059ccb299e8eafd2ada9c12e41add
4
+ data.tar.gz: ce52cba62de2859367b0f47bb550a1bdbf3ae842
5
5
  SHA512:
6
- metadata.gz: b31601cb0cd87d8e65657e921c39867a9f4b23209ff0352cbe2e9572fe2408e432ad8f8ad44c969c030358e74ffc4a562ac74d37058caeb30a2ad853f09135ce
7
- data.tar.gz: 224ff16206b174b29159cb353e8627a9ddaec7b84d870b077288a35e30e50576f6ab76d5f73d6ae33fd8e5b413bc47178bfd9c4aa23ac9b65d7419afdb725cff
6
+ metadata.gz: 0ac3e9c63ac16d69b6a49e76389b3d376f9ada68f8e07d9b74b8c0b5c7631f2ab65cc0349556950bc82c1334f26a631961977a3d559507e27a1443d80070cb00
7
+ data.tar.gz: 9009830f5ebae2cda5cca6ef02070e295fed8f781192e45b8fc348b9185672b7db749244941c0b6648f20d6cc1978bd7e76fcc76fac679152eaf0e4a799d2a1e
@@ -1,3 +1,9 @@
1
+ # 0.2.24
2
+
3
+ ## Enhancements
4
+
5
+ * Add keyword argument `page_token` to `tables`.
6
+
1
7
  # 0.2.23
2
8
 
3
9
  ## Enhancements
@@ -147,14 +147,14 @@ module Kura
147
147
  process_error($!)
148
148
  end
149
149
 
150
- def tables(dataset_id, project_id: @default_project_id, limit: 1000, &blk)
150
+ def tables(dataset_id, project_id: @default_project_id, limit: 1000, page_token: nil, &blk)
151
151
  if blk
152
- @api.list_tables(project_id, dataset_id, max_results: limit) do |result, err|
152
+ @api.list_tables(project_id, dataset_id, max_results: limit, page_token: page_token) do |result, err|
153
153
  result &&= (result.tables || [])
154
154
  blk.call(result, err)
155
155
  end
156
156
  else
157
- result = @api.list_tables(project_id, dataset_id, max_results: limit)
157
+ result = @api.list_tables(project_id, dataset_id, max_results: limit, page_token: page_token)
158
158
  result.tables || []
159
159
  end
160
160
  rescue
@@ -1,3 +1,3 @@
1
1
  module Kura
2
- VERSION = "0.2.23"
2
+ VERSION = "0.2.24"
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.23
4
+ version: 0.2.24
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-12-22 00:00:00.000000000 Z
11
+ date: 2016-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-api-client