kura 0.6.0 → 0.6.1

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
  SHA256:
3
- metadata.gz: a5b4b582e7e9867f750dced3712ac90a62c95db55ab056a5fd50fcc2d58245e6
4
- data.tar.gz: 8412a814e581e6e1eb41cede2c5118bdfea829878c332713e8452178e60d587d
3
+ metadata.gz: 431faddd3518e447e4966d6eaf19e9ede9adb9ea6d4fb9d03a8715487021689d
4
+ data.tar.gz: f64c6c2fddcc66bde5cafca6b26a9f2e023f3627d9107fb69c23f3b15dbb41e7
5
5
  SHA512:
6
- metadata.gz: be5c48bc70ea126832b9ed1a7c854772a55c034d73009d1a227f37288153872f1462542c72ce1663fc2deb8674e6ee0829989ef9cc56a91ba5b7e4a25e8e6a89
7
- data.tar.gz: 76beca3315670d9229782beac5c6ccb4af5cdd4c33c15bcd6a8a4261ae093fe305c12b49b234d2e1be2ae2719d84ea1033d1b80e307282de93547c4cb289dc58
6
+ metadata.gz: 0bac5621aa3c792ce93b67b0238aa0e82fcef2ae72d2260d163c987b9f47a267f338b13fd34c6bb689e2c69d42419551c5fc96de3f147f1632a4e21298385231
7
+ data.tar.gz: cc903378660c1a9b080210c8f339d4cf4e574b197dbfd59b135f3dd94274e152884ccf2a5545c3610c3df531c783b44ae1b13774760a512d30fd3005907635af
data/ChangeLog.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.6.1
2
+
3
+ ## Enhancements
4
+
5
+ * `job` method now accept `fields` keyword argument.
6
+
1
7
  # 0.6.0
2
8
 
3
9
  ## Changes
data/lib/kura/client.rb CHANGED
@@ -626,14 +626,14 @@ module Kura
626
626
  state_filter: state_filter)
627
627
  end
628
628
 
629
- def job(job_id, location: nil, project_id: @default_project_id, &blk)
629
+ def job(job_id, location: nil, project_id: @default_project_id, fields: nil, &blk)
630
630
  if blk
631
- @api.get_job(project_id, job_id, location: location) do |j, e|
631
+ @api.get_job(project_id, job_id, location: location, fields: fields) do |j, e|
632
632
  j.kura_api = self if j
633
633
  blk.call(j, e)
634
634
  end
635
635
  else
636
- @api.get_job(project_id, job_id, location: location).tap{|j| j.kura_api = self if j }
636
+ @api.get_job(project_id, job_id, location: location, fields: fields).tap{|j| j.kura_api = self if j }
637
637
  end
638
638
  rescue
639
639
  process_error($!)
data/lib/kura/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kura
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chikanaga Tomoyuki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-10 00:00:00.000000000 Z
11
+ date: 2021-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-bigquery_v2
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0'
150
150
  requirements: []
151
- rubygems_version: 3.1.4
151
+ rubygems_version: 3.2.15
152
152
  signing_key:
153
153
  specification_version: 4
154
154
  summary: Interface to BigQuery API v2.