google-gax 0.8.0 → 0.8.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 435fe4bf9a8b930fa00aab341991956ee2e7ef95
|
4
|
+
data.tar.gz: 089dc8943ceaf963086e53ae23c9908a6be0ed8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d746f2a27a2bb5704998857fe19211dce290aa076cd2bb301f824bc4340f0cc04071e8c3f5176b7f35b1bc599fb9627d069ac3ce0c4c611d4d1eed2712f6a6d7
|
7
|
+
data.tar.gz: f22d575c235a8571ae3f8da832cfbdb86d43463381496ab721ddb305b311533fb22782acb85ae63e4768b00b05ef375fba38edca3ff1a98b8ef424cb1c8c974f
|
data/lib/google/gax/version.rb
CHANGED
@@ -51,8 +51,6 @@ module Google
|
|
51
51
|
# The default port of the service.
|
52
52
|
DEFAULT_SERVICE_PORT = 443
|
53
53
|
|
54
|
-
CODE_GEN_NAME_VERSION = "gapic/0.1.0".freeze
|
55
|
-
|
56
54
|
DEFAULT_TIMEOUT = 30
|
57
55
|
|
58
56
|
PAGE_DESCRIPTORS = {
|
@@ -84,10 +82,6 @@ module Google
|
|
84
82
|
# or the specified config is missing data points.
|
85
83
|
# @param timeout [Numeric]
|
86
84
|
# The default timeout, in seconds, for calls made through this client.
|
87
|
-
# @param app_name [String]
|
88
|
-
# The codename of the calling service.
|
89
|
-
# @param app_version [String]
|
90
|
-
# The version of the calling service.
|
91
85
|
def initialize \
|
92
86
|
service_path: SERVICE_ADDRESS,
|
93
87
|
port: DEFAULT_SERVICE_PORT,
|
@@ -96,17 +90,27 @@ module Google
|
|
96
90
|
scopes: ALL_SCOPES,
|
97
91
|
client_config: {},
|
98
92
|
timeout: DEFAULT_TIMEOUT,
|
99
|
-
app_name:
|
100
|
-
app_version:
|
93
|
+
app_name: nil,
|
94
|
+
app_version: nil,
|
95
|
+
lib_name: nil,
|
96
|
+
lib_version: ""
|
101
97
|
# These require statements are intentionally placed here to initialize
|
102
98
|
# the gRPC module only when it's required.
|
103
99
|
# See https://github.com/googleapis/toolkit/issues/446
|
104
100
|
require "google/gax/grpc"
|
105
101
|
require "google/longrunning/operations_services_pb"
|
106
102
|
|
107
|
-
|
108
|
-
|
109
|
-
"
|
103
|
+
|
104
|
+
if app_name || app_version
|
105
|
+
warn "`app_name` and `app_version` are no longer being used in the request headers."
|
106
|
+
end
|
107
|
+
|
108
|
+
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
109
|
+
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
110
|
+
google_api_client << " gapic/ gax/#{Google::Gax::VERSION}"
|
111
|
+
google_api_client << " grpc/#{GRPC::VERSION}"
|
112
|
+
google_api_client.freeze
|
113
|
+
|
110
114
|
headers = { :"x-goog-api-client" => google_api_client }
|
111
115
|
client_config_file = Pathname.new(__dir__).join(
|
112
116
|
"operations_client_config.json"
|
@@ -2,13 +2,11 @@
|
|
2
2
|
"interfaces": {
|
3
3
|
"google.longrunning.Operations": {
|
4
4
|
"retry_codes": {
|
5
|
-
"
|
6
|
-
"
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
"non_idempotent": []
|
11
|
-
}
|
5
|
+
"idempotent": [
|
6
|
+
"DEADLINE_EXCEEDED",
|
7
|
+
"UNAVAILABLE"
|
8
|
+
],
|
9
|
+
"non_idempotent": []
|
12
10
|
},
|
13
11
|
"retry_params": {
|
14
12
|
"default": {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-gax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google API Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: googleauth
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
196
|
version: '0'
|
197
197
|
requirements: []
|
198
198
|
rubyforge_project:
|
199
|
-
rubygems_version: 2.
|
199
|
+
rubygems_version: 2.4.8
|
200
200
|
signing_key:
|
201
201
|
specification_version: 4
|
202
202
|
summary: Aids the development of APIs for clients and servers based on GRPC and Google
|