kura 1.0.1 → 1.0.2

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: e1aa656b398dff0f7b0275a11205472120d90ec289af14ccafb1102fecb2f198
4
- data.tar.gz: '039fdf19cbcda9415af67396d3f800d3309d0c508f9bb9fcdbabbb3ab6ac2100'
3
+ metadata.gz: 3921d79646b029137c7639d074c6893ba650ffae8e7829e4e8c838d883a059a2
4
+ data.tar.gz: 91beea19c74492ab7d89e5aa627e726c289760aa775b5321c67220ed416aa1a8
5
5
  SHA512:
6
- metadata.gz: 67b64f845e5badd762d5363c0f19373fa44186ba501205d9ea1ab088f699867b42c6d1b10ccb8b368b730435cf9c4aa89ad0c1b33a1eab7215a68fa4e6bc62a7
7
- data.tar.gz: f52f6bcd3512beafac9088d795719ef492eeb3b0d51de40855cb4c5857dcea443bb1db46c637c3aa5d73fdc41af690e97974dd8134cc6831bba7c93227f666ed
6
+ metadata.gz: cfbb6eafee56b5652faf98b6b72bf13d174267a28ed0525087e90f48db663a2f602749b32583cdec12e27a3a778fcb180cd6a312d44281e31d74122b623cc8f2
7
+ data.tar.gz: 688dbf51ffc9a472b070f73ba79f6c2efbd42ad84f62b22815a02fa7303191a65d3a724fc40bfb5816a7d2730ce1b48a98709dbff4391368b0e31aff60e21687
data/ChangeLog.md CHANGED
@@ -1,4 +1,10 @@
1
- # 1.0.0
1
+ # 1.0.2
2
+
3
+ ## Changes
4
+
5
+ * Handle SystemCallError and OpenSSL::SSL::SSLError as Kura::ApiError.
6
+
7
+ # 1.0.1
2
8
 
3
9
  ## Enhancements
4
10
 
data/lib/kura/client.rb CHANGED
@@ -68,6 +68,8 @@ module Kura
68
68
  errors = "HTTP Status: #{err.status_code}\nHeaders: #{err.header.inspect}\nBody:\n#{err.body}"
69
69
  end
70
70
  raise Kura::ApiError.new(reason, errors)
71
+ elsif err.is_a?(SystemCallError) or err.is_a?(OpenSSL::SSL::SSLError)
72
+ raise Kura::ApiError.new("internalError", err.message)
71
73
  else
72
74
  raise err
73
75
  end
data/lib/kura/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kura
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
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: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chikanaga Tomoyuki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-20 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-bigquery_v2