kura 0.2.26 → 0.2.27

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: 1be4036720f171ba2682185849a9c62405a85a68
4
- data.tar.gz: f9e6789cdb16441f1695cba61b959a1130ed13eb
3
+ metadata.gz: bda4d9e854a55228e0f55b2dc76a552d331a263c
4
+ data.tar.gz: ef75a46a4bd8b1e17f17e729ac8fea12bd247e44
5
5
  SHA512:
6
- metadata.gz: 73655319e7e4a27cfbcb09019e0a0004eb4f9d071222f3172732ec2753627ee846938df87695275a4970a86bdc6feef7c907c8ca397df8dab57581781026b12a
7
- data.tar.gz: fa67a86b9fb1d9be7e55e599eb81e31d4937e050c0c72c3ff90210e246d278d24cad2e74e36501b85d438bcf4b49dafdeb66f15b99073e3a907dba9ad0e4fd02
6
+ metadata.gz: cb9a1ea8bd15b3927a95fb486cbca66fe82a629e4299b131d386bf3c329c0c6df8276c3860fe82cd02bc3273caa18b8e02613361fe8405c029d5a46afec42ce5
7
+ data.tar.gz: 74ac1b00126c71c12da8cd5c68214d6569b1081d1dc6e693cb78c94c5870048a0f5a5cd3316364dcba71055cde59fae41a790e1e829dc726d27da644f860dd82
data/ChangeLog.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.2.27
2
+
3
+ ## Fixes
4
+
5
+ * Fix NoMethodError in `cancel_job` inside batch request.
6
+
1
7
  # 0.2.26
2
8
 
3
9
  ## Changes
data/lib/kura/client.rb CHANGED
@@ -580,8 +580,9 @@ module Kura
580
580
  end
581
581
  if blk
582
582
  @api.cancel_job(project_id, jobid) do |r, e|
583
- r.job.kura_api = self if r.job
584
- blk.call(r.job, e)
583
+ j = (r && r.job)
584
+ j.kura_api = self if j
585
+ blk.call(j, e)
585
586
  end
586
587
  else
587
588
  @api.cancel_job(project_id, jobid).job.tap{|j| j.kura_api = self if j }
data/lib/kura/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kura
2
- VERSION = "0.2.26"
2
+ VERSION = "0.2.27"
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.26
4
+ version: 0.2.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chikanaga Tomoyuki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-26 00:00:00.000000000 Z
11
+ date: 2017-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-api-client