kura 0.2.14 → 0.2.15
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 +4 -4
- data/lib/kura/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65eac9d5648067091ac0044cef32de3380d8f62e
|
4
|
+
data.tar.gz: f1dcd2bb07fc74dcda07a498a384a1235d56f397
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec490d8df898142805100a9c886bdcb16c9a50ced0164d6c06262b0068dabeb9902c5612faa2fe7b2625c1c7f9456d641be91ed6fa68309860b408e569eab872
|
7
|
+
data.tar.gz: 3be96f485e2c5255380ba18d1c15cd80e38ce0d0f94714ddee508f85d41710f8977de31f90e2e38e76adf8090262ef55654da05458bb7fc3f7d223e0b5fd18cd
|
data/ChangeLog.md
CHANGED
data/lib/kura/client.rb
CHANGED
@@ -510,11 +510,11 @@ module Kura
|
|
510
510
|
def job(job_id, project_id: @default_project_id, &blk)
|
511
511
|
if blk
|
512
512
|
@api.get_job(project_id, job_id) do |j, e|
|
513
|
-
j.kura_api = self
|
513
|
+
j.kura_api = self if j
|
514
514
|
blk.call(j, e)
|
515
515
|
end
|
516
516
|
else
|
517
|
-
@api.get_job(project_id, job_id).tap{|j| j.kura_api = self}
|
517
|
+
@api.get_job(project_id, job_id).tap{|j| j.kura_api = self if j }
|
518
518
|
end
|
519
519
|
rescue
|
520
520
|
process_error($!)
|
@@ -532,11 +532,11 @@ module Kura
|
|
532
532
|
end
|
533
533
|
if blk
|
534
534
|
@api.cancel_job(project_id, jobid) do |r, e|
|
535
|
-
r.job.kura_api = self
|
535
|
+
r.job.kura_api = self if r.job
|
536
536
|
blk.call(r.job, e)
|
537
537
|
end
|
538
538
|
else
|
539
|
-
@api.cancel_job(project_id, jobid).job.tap{|j| j.kura_api = self}
|
539
|
+
@api.cancel_job(project_id, jobid).job.tap{|j| j.kura_api = self if j }
|
540
540
|
end
|
541
541
|
end
|
542
542
|
|
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.15
|
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-
|
11
|
+
date: 2016-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-api-client
|
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
151
|
rubyforge_project:
|
152
|
-
rubygems_version: 2.
|
152
|
+
rubygems_version: 2.5.1
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: Interface to BigQuery API v2.
|