grpc 1.19.0-universal-darwin → 1.20.0.pre1-universal-darwin
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of grpc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/src/ruby/bin/math_pb.rb +18 -16
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +6 -0
- data/src/ruby/lib/grpc/2.2/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/2.3/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/2.4/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/2.5/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/2.6/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/generic/rpc_server.rb +1 -1
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/README.md +1 -1
- data/src/ruby/pb/grpc/health/v1/health_pb.rb +13 -10
- data/src/ruby/pb/grpc/health/v1/health_services_pb.rb +18 -0
- data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +3 -1
- data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +58 -56
- data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +2 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97c525b8457906b4b5eac84728101fd1ad58f5f13198130343124792af805c7b
|
4
|
+
data.tar.gz: 2183beabf89c8f456b3a3c494854dc67057d3b667b997bcdd8099a5983696994
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78769b5d615635fae1c9cbc5d0de02e32238f7f1051dc904a361cabb4e929b0a93cfc3fa19b4e11c5ce52748ed34e6835cd57b2df0fc9e2f24c500b09d191999
|
7
|
+
data.tar.gz: 69f041f1b167001db96e4cf7eee09f4c068fd46d58614c92cacbb5a1b2f42d40a477575a4786c3600d813a5473d43a9e677f63f62b7ef65ee62d8cd01c10c37a
|
data/src/ruby/bin/math_pb.rb
CHANGED
@@ -4,22 +4,24 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
7
|
+
add_file("math.proto", :syntax => :proto3) do
|
8
|
+
add_message "math.DivArgs" do
|
9
|
+
optional :dividend, :int64, 1
|
10
|
+
optional :divisor, :int64, 2
|
11
|
+
end
|
12
|
+
add_message "math.DivReply" do
|
13
|
+
optional :quotient, :int64, 1
|
14
|
+
optional :remainder, :int64, 2
|
15
|
+
end
|
16
|
+
add_message "math.FibArgs" do
|
17
|
+
optional :limit, :int64, 1
|
18
|
+
end
|
19
|
+
add_message "math.Num" do
|
20
|
+
optional :num, :int64, 1
|
21
|
+
end
|
22
|
+
add_message "math.FibReply" do
|
23
|
+
optional :count, :int64, 1
|
24
|
+
end
|
23
25
|
end
|
24
26
|
end
|
25
27
|
|
@@ -39,6 +39,7 @@ grpc_register_plugin_type grpc_register_plugin_import;
|
|
39
39
|
grpc_init_type grpc_init_import;
|
40
40
|
grpc_shutdown_type grpc_shutdown_import;
|
41
41
|
grpc_is_initialized_type grpc_is_initialized_import;
|
42
|
+
grpc_shutdown_blocking_type grpc_shutdown_blocking_import;
|
42
43
|
grpc_version_string_type grpc_version_string_import;
|
43
44
|
grpc_g_stands_for_type grpc_g_stands_for_import;
|
44
45
|
grpc_completion_queue_factory_lookup_type grpc_completion_queue_factory_lookup_import;
|
@@ -171,6 +172,7 @@ grpc_byte_buffer_destroy_type grpc_byte_buffer_destroy_import;
|
|
171
172
|
grpc_byte_buffer_reader_init_type grpc_byte_buffer_reader_init_import;
|
172
173
|
grpc_byte_buffer_reader_destroy_type grpc_byte_buffer_reader_destroy_import;
|
173
174
|
grpc_byte_buffer_reader_next_type grpc_byte_buffer_reader_next_import;
|
175
|
+
grpc_byte_buffer_reader_peek_type grpc_byte_buffer_reader_peek_import;
|
174
176
|
grpc_byte_buffer_reader_readall_type grpc_byte_buffer_reader_readall_import;
|
175
177
|
grpc_raw_byte_buffer_from_reader_type grpc_raw_byte_buffer_from_reader_import;
|
176
178
|
gpr_log_severity_string_type gpr_log_severity_string_import;
|
@@ -306,6 +308,7 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
306
308
|
grpc_init_import = (grpc_init_type) GetProcAddress(library, "grpc_init");
|
307
309
|
grpc_shutdown_import = (grpc_shutdown_type) GetProcAddress(library, "grpc_shutdown");
|
308
310
|
grpc_is_initialized_import = (grpc_is_initialized_type) GetProcAddress(library, "grpc_is_initialized");
|
311
|
+
grpc_shutdown_blocking_import = (grpc_shutdown_blocking_type) GetProcAddress(library, "grpc_shutdown_blocking");
|
309
312
|
grpc_version_string_import = (grpc_version_string_type) GetProcAddress(library, "grpc_version_string");
|
310
313
|
grpc_g_stands_for_import = (grpc_g_stands_for_type) GetProcAddress(library, "grpc_g_stands_for");
|
311
314
|
grpc_completion_queue_factory_lookup_import = (grpc_completion_queue_factory_lookup_type) GetProcAddress(library, "grpc_completion_queue_factory_lookup");
|
@@ -438,6 +441,7 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
438
441
|
grpc_byte_buffer_reader_init_import = (grpc_byte_buffer_reader_init_type) GetProcAddress(library, "grpc_byte_buffer_reader_init");
|
439
442
|
grpc_byte_buffer_reader_destroy_import = (grpc_byte_buffer_reader_destroy_type) GetProcAddress(library, "grpc_byte_buffer_reader_destroy");
|
440
443
|
grpc_byte_buffer_reader_next_import = (grpc_byte_buffer_reader_next_type) GetProcAddress(library, "grpc_byte_buffer_reader_next");
|
444
|
+
grpc_byte_buffer_reader_peek_import = (grpc_byte_buffer_reader_peek_type) GetProcAddress(library, "grpc_byte_buffer_reader_peek");
|
441
445
|
grpc_byte_buffer_reader_readall_import = (grpc_byte_buffer_reader_readall_type) GetProcAddress(library, "grpc_byte_buffer_reader_readall");
|
442
446
|
grpc_raw_byte_buffer_from_reader_import = (grpc_raw_byte_buffer_from_reader_type) GetProcAddress(library, "grpc_raw_byte_buffer_from_reader");
|
443
447
|
gpr_log_severity_string_import = (gpr_log_severity_string_type) GetProcAddress(library, "gpr_log_severity_string");
|
@@ -92,6 +92,9 @@ extern grpc_shutdown_type grpc_shutdown_import;
|
|
92
92
|
typedef int(*grpc_is_initialized_type)(void);
|
93
93
|
extern grpc_is_initialized_type grpc_is_initialized_import;
|
94
94
|
#define grpc_is_initialized grpc_is_initialized_import
|
95
|
+
typedef void(*grpc_shutdown_blocking_type)(void);
|
96
|
+
extern grpc_shutdown_blocking_type grpc_shutdown_blocking_import;
|
97
|
+
#define grpc_shutdown_blocking grpc_shutdown_blocking_import
|
95
98
|
typedef const char*(*grpc_version_string_type)(void);
|
96
99
|
extern grpc_version_string_type grpc_version_string_import;
|
97
100
|
#define grpc_version_string grpc_version_string_import
|
@@ -488,6 +491,9 @@ extern grpc_byte_buffer_reader_destroy_type grpc_byte_buffer_reader_destroy_impo
|
|
488
491
|
typedef int(*grpc_byte_buffer_reader_next_type)(grpc_byte_buffer_reader* reader, grpc_slice* slice);
|
489
492
|
extern grpc_byte_buffer_reader_next_type grpc_byte_buffer_reader_next_import;
|
490
493
|
#define grpc_byte_buffer_reader_next grpc_byte_buffer_reader_next_import
|
494
|
+
typedef int(*grpc_byte_buffer_reader_peek_type)(grpc_byte_buffer_reader* reader, grpc_slice** slice);
|
495
|
+
extern grpc_byte_buffer_reader_peek_type grpc_byte_buffer_reader_peek_import;
|
496
|
+
#define grpc_byte_buffer_reader_peek grpc_byte_buffer_reader_peek_import
|
491
497
|
typedef grpc_slice(*grpc_byte_buffer_reader_readall_type)(grpc_byte_buffer_reader* reader);
|
492
498
|
extern grpc_byte_buffer_reader_readall_type grpc_byte_buffer_reader_readall_import;
|
493
499
|
#define grpc_byte_buffer_reader_readall grpc_byte_buffer_reader_readall_import
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -217,7 +217,7 @@ module GRPC
|
|
217
217
|
def initialize(pool_size: DEFAULT_POOL_SIZE,
|
218
218
|
max_waiting_requests: DEFAULT_MAX_WAITING_REQUESTS,
|
219
219
|
poll_period: DEFAULT_POLL_PERIOD,
|
220
|
-
pool_keep_alive:
|
220
|
+
pool_keep_alive: Pool::DEFAULT_KEEP_ALIVE,
|
221
221
|
connect_md_proc: nil,
|
222
222
|
server_args: {},
|
223
223
|
interceptors: [])
|
data/src/ruby/pb/README.md
CHANGED
@@ -7,7 +7,7 @@ code to them.
|
|
7
7
|
PREREQUISITES
|
8
8
|
-------------
|
9
9
|
|
10
|
-
The code is
|
10
|
+
The code is generated using the protoc (> 3.0.0.alpha.1) and the
|
11
11
|
grpc_ruby_plugin. These must be installed to regenerate the IDL defined
|
12
12
|
classes, but that's not necessary just to use them.
|
13
13
|
|
@@ -4,16 +4,19 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
7
|
+
add_file("grpc/health/v1/health.proto", :syntax => :proto3) do
|
8
|
+
add_message "grpc.health.v1.HealthCheckRequest" do
|
9
|
+
optional :service, :string, 1
|
10
|
+
end
|
11
|
+
add_message "grpc.health.v1.HealthCheckResponse" do
|
12
|
+
optional :status, :enum, 1, "grpc.health.v1.HealthCheckResponse.ServingStatus"
|
13
|
+
end
|
14
|
+
add_enum "grpc.health.v1.HealthCheckResponse.ServingStatus" do
|
15
|
+
value :UNKNOWN, 0
|
16
|
+
value :SERVING, 1
|
17
|
+
value :NOT_SERVING, 2
|
18
|
+
value :SERVICE_UNKNOWN, 3
|
19
|
+
end
|
17
20
|
end
|
18
21
|
end
|
19
22
|
|
@@ -34,7 +34,25 @@ module Grpc
|
|
34
34
|
self.unmarshal_class_method = :decode
|
35
35
|
self.service_name = 'grpc.health.v1.Health'
|
36
36
|
|
37
|
+
# If the requested service is unknown, the call will fail with status
|
38
|
+
# NOT_FOUND.
|
37
39
|
rpc :Check, HealthCheckRequest, HealthCheckResponse
|
40
|
+
# Performs a watch for the serving status of the requested service.
|
41
|
+
# The server will immediately send back a message indicating the current
|
42
|
+
# serving status. It will then subsequently send a new message whenever
|
43
|
+
# the service's serving status changes.
|
44
|
+
#
|
45
|
+
# If the requested service is unknown when the call is received, the
|
46
|
+
# server will send a message setting the serving status to
|
47
|
+
# SERVICE_UNKNOWN but will *not* terminate the call. If at some
|
48
|
+
# future point, the serving status of the service becomes known, the
|
49
|
+
# server will send a new message with the service's serving status.
|
50
|
+
#
|
51
|
+
# If the call terminates with status UNIMPLEMENTED, then clients
|
52
|
+
# should assume this method is not supported and should not retry the
|
53
|
+
# call. If the call terminates with any other status (including OK),
|
54
|
+
# clients should retry the call with appropriate exponential backoff.
|
55
|
+
rpc :Watch, HealthCheckRequest, stream(HealthCheckResponse)
|
38
56
|
end
|
39
57
|
|
40
58
|
Stub = Service.rpc_stub_class
|
@@ -4,62 +4,64 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
7
|
+
add_file("src/proto/grpc/testing/messages.proto", :syntax => :proto3) do
|
8
|
+
add_message "grpc.testing.BoolValue" do
|
9
|
+
optional :value, :bool, 1
|
10
|
+
end
|
11
|
+
add_message "grpc.testing.Payload" do
|
12
|
+
optional :type, :enum, 1, "grpc.testing.PayloadType"
|
13
|
+
optional :body, :bytes, 2
|
14
|
+
end
|
15
|
+
add_message "grpc.testing.EchoStatus" do
|
16
|
+
optional :code, :int32, 1
|
17
|
+
optional :message, :string, 2
|
18
|
+
end
|
19
|
+
add_message "grpc.testing.SimpleRequest" do
|
20
|
+
optional :response_type, :enum, 1, "grpc.testing.PayloadType"
|
21
|
+
optional :response_size, :int32, 2
|
22
|
+
optional :payload, :message, 3, "grpc.testing.Payload"
|
23
|
+
optional :fill_username, :bool, 4
|
24
|
+
optional :fill_oauth_scope, :bool, 5
|
25
|
+
optional :response_compressed, :message, 6, "grpc.testing.BoolValue"
|
26
|
+
optional :response_status, :message, 7, "grpc.testing.EchoStatus"
|
27
|
+
optional :expect_compressed, :message, 8, "grpc.testing.BoolValue"
|
28
|
+
end
|
29
|
+
add_message "grpc.testing.SimpleResponse" do
|
30
|
+
optional :payload, :message, 1, "grpc.testing.Payload"
|
31
|
+
optional :username, :string, 2
|
32
|
+
optional :oauth_scope, :string, 3
|
33
|
+
end
|
34
|
+
add_message "grpc.testing.StreamingInputCallRequest" do
|
35
|
+
optional :payload, :message, 1, "grpc.testing.Payload"
|
36
|
+
optional :expect_compressed, :message, 2, "grpc.testing.BoolValue"
|
37
|
+
end
|
38
|
+
add_message "grpc.testing.StreamingInputCallResponse" do
|
39
|
+
optional :aggregated_payload_size, :int32, 1
|
40
|
+
end
|
41
|
+
add_message "grpc.testing.ResponseParameters" do
|
42
|
+
optional :size, :int32, 1
|
43
|
+
optional :interval_us, :int32, 2
|
44
|
+
optional :compressed, :message, 3, "grpc.testing.BoolValue"
|
45
|
+
end
|
46
|
+
add_message "grpc.testing.StreamingOutputCallRequest" do
|
47
|
+
optional :response_type, :enum, 1, "grpc.testing.PayloadType"
|
48
|
+
repeated :response_parameters, :message, 2, "grpc.testing.ResponseParameters"
|
49
|
+
optional :payload, :message, 3, "grpc.testing.Payload"
|
50
|
+
optional :response_status, :message, 7, "grpc.testing.EchoStatus"
|
51
|
+
end
|
52
|
+
add_message "grpc.testing.StreamingOutputCallResponse" do
|
53
|
+
optional :payload, :message, 1, "grpc.testing.Payload"
|
54
|
+
end
|
55
|
+
add_message "grpc.testing.ReconnectParams" do
|
56
|
+
optional :max_reconnect_backoff_ms, :int32, 1
|
57
|
+
end
|
58
|
+
add_message "grpc.testing.ReconnectInfo" do
|
59
|
+
optional :passed, :bool, 1
|
60
|
+
repeated :backoff_ms, :int32, 2
|
61
|
+
end
|
62
|
+
add_enum "grpc.testing.PayloadType" do
|
63
|
+
value :COMPRESSABLE, 0
|
64
|
+
end
|
63
65
|
end
|
64
66
|
end
|
65
67
|
|
@@ -6,6 +6,8 @@ require 'google/protobuf'
|
|
6
6
|
require 'src/proto/grpc/testing/empty_pb'
|
7
7
|
require 'src/proto/grpc/testing/messages_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("src/proto/grpc/testing/test.proto", :syntax => :proto3) do
|
10
|
+
end
|
9
11
|
end
|
10
12
|
|
11
13
|
module Grpc
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.20.0.pre1
|
5
5
|
platform: universal-darwin
|
6
6
|
authors:
|
7
7
|
- gRPC Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: src/ruby/bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.7'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '3.
|
26
|
+
version: '3.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: googleapis-common-protos-types
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -332,11 +332,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
332
332
|
version: 2.7.dev
|
333
333
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
334
334
|
requirements:
|
335
|
-
- - "
|
335
|
+
- - ">"
|
336
336
|
- !ruby/object:Gem::Version
|
337
|
-
version:
|
337
|
+
version: 1.3.1
|
338
338
|
requirements: []
|
339
|
-
rubygems_version: 3.0.
|
339
|
+
rubygems_version: 3.0.3
|
340
340
|
signing_key:
|
341
341
|
specification_version: 4
|
342
342
|
summary: GRPC system in Ruby
|