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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b18426e5723938c591f1887b74ba609196098728fd3017523047ae0129efb2c
4
- data.tar.gz: 79ed5c03d365886cb3975bf3fd29167acdfa892e5ed1c0db4eab4787e474b07b
3
+ metadata.gz: 97c525b8457906b4b5eac84728101fd1ad58f5f13198130343124792af805c7b
4
+ data.tar.gz: 2183beabf89c8f456b3a3c494854dc67057d3b667b997bcdd8099a5983696994
5
5
  SHA512:
6
- metadata.gz: e4bdb7a526c59b299701151d70457ab32b85911ab2df1a35e54a18a3b860753831982d092722c0798d413cfb4183b60a4f03fbd463eda6bbf6ac657fb3e4bd5f
7
- data.tar.gz: aafcf2d1e4146f32c4cdba0a7b8644348a4c3066075c77152844071541f394b209908f942d8817257619fc1ff3b66e9623b63319f69771801cf8403723d948ea
6
+ metadata.gz: 78769b5d615635fae1c9cbc5d0de02e32238f7f1051dc904a361cabb4e929b0a93cfc3fa19b4e11c5ce52748ed34e6835cd57b2df0fc9e2f24c500b09d191999
7
+ data.tar.gz: 69f041f1b167001db96e4cf7eee09f4c068fd46d58614c92cacbb5a1b2f42d40a477575a4786c3600d813a5473d43a9e677f63f62b7ef65ee62d8cd01c10c37a
@@ -4,22 +4,24 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "math.DivArgs" do
8
- optional :dividend, :int64, 1
9
- optional :divisor, :int64, 2
10
- end
11
- add_message "math.DivReply" do
12
- optional :quotient, :int64, 1
13
- optional :remainder, :int64, 2
14
- end
15
- add_message "math.FibArgs" do
16
- optional :limit, :int64, 1
17
- end
18
- add_message "math.Num" do
19
- optional :num, :int64, 1
20
- end
21
- add_message "math.FibReply" do
22
- optional :count, :int64, 1
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
@@ -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: GRPC::RpcServer::DEFAULT_POOL_SIZE,
220
+ pool_keep_alive: Pool::DEFAULT_KEEP_ALIVE,
221
221
  connect_md_proc: nil,
222
222
  server_args: {},
223
223
  interceptors: [])
@@ -14,5 +14,5 @@
14
14
 
15
15
  # GRPC contains the General RPC module.
16
16
  module GRPC
17
- VERSION = '1.19.0'
17
+ VERSION = '1.20.0.pre1'
18
18
  end
@@ -7,7 +7,7 @@ code to them.
7
7
  PREREQUISITES
8
8
  -------------
9
9
 
10
- The code is is generated using the protoc (> 3.0.0.alpha.1) and the
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
- add_message "grpc.health.v1.HealthCheckRequest" do
8
- optional :service, :string, 1
9
- end
10
- add_message "grpc.health.v1.HealthCheckResponse" do
11
- optional :status, :enum, 1, "grpc.health.v1.HealthCheckResponse.ServingStatus"
12
- end
13
- add_enum "grpc.health.v1.HealthCheckResponse.ServingStatus" do
14
- value :UNKNOWN, 0
15
- value :SERVING, 1
16
- value :NOT_SERVING, 2
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,7 +4,9 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "grpc.testing.Empty" do
7
+ add_file("src/proto/grpc/testing/empty.proto", :syntax => :proto3) do
8
+ add_message "grpc.testing.Empty" do
9
+ end
8
10
  end
9
11
  end
10
12
 
@@ -4,62 +4,64 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "grpc.testing.BoolValue" do
8
- optional :value, :bool, 1
9
- end
10
- add_message "grpc.testing.Payload" do
11
- optional :type, :enum, 1, "grpc.testing.PayloadType"
12
- optional :body, :bytes, 2
13
- end
14
- add_message "grpc.testing.EchoStatus" do
15
- optional :code, :int32, 1
16
- optional :message, :string, 2
17
- end
18
- add_message "grpc.testing.SimpleRequest" do
19
- optional :response_type, :enum, 1, "grpc.testing.PayloadType"
20
- optional :response_size, :int32, 2
21
- optional :payload, :message, 3, "grpc.testing.Payload"
22
- optional :fill_username, :bool, 4
23
- optional :fill_oauth_scope, :bool, 5
24
- optional :response_compressed, :message, 6, "grpc.testing.BoolValue"
25
- optional :response_status, :message, 7, "grpc.testing.EchoStatus"
26
- optional :expect_compressed, :message, 8, "grpc.testing.BoolValue"
27
- end
28
- add_message "grpc.testing.SimpleResponse" do
29
- optional :payload, :message, 1, "grpc.testing.Payload"
30
- optional :username, :string, 2
31
- optional :oauth_scope, :string, 3
32
- end
33
- add_message "grpc.testing.StreamingInputCallRequest" do
34
- optional :payload, :message, 1, "grpc.testing.Payload"
35
- optional :expect_compressed, :message, 2, "grpc.testing.BoolValue"
36
- end
37
- add_message "grpc.testing.StreamingInputCallResponse" do
38
- optional :aggregated_payload_size, :int32, 1
39
- end
40
- add_message "grpc.testing.ResponseParameters" do
41
- optional :size, :int32, 1
42
- optional :interval_us, :int32, 2
43
- optional :compressed, :message, 3, "grpc.testing.BoolValue"
44
- end
45
- add_message "grpc.testing.StreamingOutputCallRequest" do
46
- optional :response_type, :enum, 1, "grpc.testing.PayloadType"
47
- repeated :response_parameters, :message, 2, "grpc.testing.ResponseParameters"
48
- optional :payload, :message, 3, "grpc.testing.Payload"
49
- optional :response_status, :message, 7, "grpc.testing.EchoStatus"
50
- end
51
- add_message "grpc.testing.StreamingOutputCallResponse" do
52
- optional :payload, :message, 1, "grpc.testing.Payload"
53
- end
54
- add_message "grpc.testing.ReconnectParams" do
55
- optional :max_reconnect_backoff_ms, :int32, 1
56
- end
57
- add_message "grpc.testing.ReconnectInfo" do
58
- optional :passed, :bool, 1
59
- repeated :backoff_ms, :int32, 2
60
- end
61
- add_enum "grpc.testing.PayloadType" do
62
- value :COMPRESSABLE, 0
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.19.0
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-02-26 00:00:00.000000000 Z
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.1'
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.1'
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: '0'
337
+ version: 1.3.1
338
338
  requirements: []
339
- rubygems_version: 3.0.2
339
+ rubygems_version: 3.0.3
340
340
  signing_key:
341
341
  specification_version: 4
342
342
  summary: GRPC system in Ruby