kura 0.2.27 → 0.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ChangeLog.md +7 -1
- data/kura.gemspec +1 -1
- data/lib/kura/client.rb +10 -1
- data/lib/kura/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a240da9b6055e243acdf0e3a4b378a4f50d065f0
|
|
4
|
+
data.tar.gz: f7fb5960d60ed159be85f222e384a6b1d6a37fec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b24d4bf6845db149d227eb6ad6e8518407431f35b284afd180b82fbfb383fd90c5f1164a038938e3097e6b1a83e542c3b5707210e212884ce953b71bee6d904
|
|
7
|
+
data.tar.gz: 7e46e7ef094b5198afe03ed88c6add6c487320f5be98a4bf298268d1fb08a016dfd7f44f05b8cb784eb245441342afc2b8ed884c6f2e03ed7a4affa726dc720b
|
data/ChangeLog.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# 0.2.28
|
|
2
|
+
|
|
3
|
+
## Enhancements
|
|
4
|
+
|
|
5
|
+
* Support google-api-client.gem v0.11.x series.
|
|
6
|
+
|
|
1
7
|
# 0.2.27
|
|
2
8
|
|
|
3
9
|
## Fixes
|
|
@@ -8,7 +14,7 @@
|
|
|
8
14
|
|
|
9
15
|
## Changes
|
|
10
16
|
|
|
11
|
-
* Relax version dependency of google-api-client.gem. kura works
|
|
17
|
+
* Relax version dependency of google-api-client.gem. kura works fine with 0.10.x series.
|
|
12
18
|
|
|
13
19
|
# 0.2.25
|
|
14
20
|
|
data/kura.gemspec
CHANGED
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
|
|
23
23
|
spec.required_ruby_version = '>= 2.1'
|
|
24
24
|
|
|
25
|
-
spec.add_runtime_dependency "google-api-client", [">= 0.9.11", "< 0.
|
|
25
|
+
spec.add_runtime_dependency "google-api-client", [">= 0.9.11", "< 0.12.0"]
|
|
26
26
|
|
|
27
27
|
spec.add_development_dependency "bundler", "~> 1.10"
|
|
28
28
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/kura/client.rb
CHANGED
|
@@ -28,7 +28,16 @@ module Kura
|
|
|
28
28
|
auth.fetch_access_token!
|
|
29
29
|
end
|
|
30
30
|
Google::Apis::RequestOptions.default.retries = default_retries
|
|
31
|
-
|
|
31
|
+
# to support google-api-client.gem both 0.10.x and 0.11.x
|
|
32
|
+
# see https://github.com/google/google-api-ruby-client/blob/master/MIGRATING.md
|
|
33
|
+
if Google::Apis::ClientOptions.default.respond_to?(:open_timeout_sec)
|
|
34
|
+
Google::Apis::ClientOptions.default.open_timeout_sec = http_options[:timeout]
|
|
35
|
+
Google::Apis::ClientOptions.default.read_timeout_sec = http_options[:timeout]
|
|
36
|
+
Google::Apis::ClientOptions.default.send_timeout_sec = http_options[:timeout]
|
|
37
|
+
else
|
|
38
|
+
Google::Apis::RequestOptions.default.open_timeout_sec = http_options[:timeout]
|
|
39
|
+
Google::Apis::RequestOptions.default.timeout_sec = http_options[:timeout]
|
|
40
|
+
end
|
|
32
41
|
@api = Google::Apis::BigqueryV2::BigqueryService.new
|
|
33
42
|
@api.authorization = auth
|
|
34
43
|
|
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.28
|
|
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-
|
|
11
|
+
date: 2017-07-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-api-client
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: 0.9.11
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 0.
|
|
22
|
+
version: 0.12.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: 0.9.11
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 0.
|
|
32
|
+
version: 0.12.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: bundler
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|