grpc 1.43.1-x86-mingw32 → 1.46.2-x86-mingw32

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: 7ddbb636394fb752c60bb6f24e12439c304f7a1deb46ff1bb9780c5d8c3ad615
4
- data.tar.gz: 88fb1ca529446a2fcaae8490a89a04bb42e3f6e63259f762e1fb2ed8792af2a2
3
+ metadata.gz: 44a9b0b8a0ffc92f2562ba7a4b1f5f42d6a5bb4b3b54b6facd4da990881cab31
4
+ data.tar.gz: d5c765e74a997a86583dd258388d524ea61de6a6ac44a1d9ca8da25e8d7a9af5
5
5
  SHA512:
6
- metadata.gz: da807ed68dc53b1384b9182f4181a16e114164e18bace6c60737e2181292c83dbf98d31f78cf99a0fc4f9f8a11dbb4116cd6bc10ca2c2f81d93bd0171afedf98
7
- data.tar.gz: d623d496fe824cc9e4ff3b0acda8827ed27d33f44842bfa4671482443c15dc47ea2168984445ec3a4aad9ae4c2a58e69eae34e83af2774a6f69dc2dfb5aeed27
6
+ metadata.gz: e55c4a38e710dcd7df6dfa341f8465cffbd6236184ac4db801916fbfaf630ee0a101d23e667dd790dada3f7c37a865d7066da74f3fa8c10eb31f07957db2c73b
7
+ data.tar.gz: 563ebee7f6433e4a4db23555d337198a350b136edd91f313640784acf1811a02be64c3d5ce4cc5c50f65a6e13b1440230c9c7da936dabad3bb84cf791fb3ea44
data/grpc_c.32.ruby CHANGED
Binary file
data/grpc_c.64.ruby CHANGED
Binary file
@@ -60,7 +60,7 @@ end
60
60
 
61
61
  ENV['CPPFLAGS'] = '-DGPR_BACKWARDS_COMPATIBILITY_MODE'
62
62
  ENV['CPPFLAGS'] += ' -DGRPC_XDS_USER_AGENT_NAME_SUFFIX="\"RUBY\"" '
63
- ENV['CPPFLAGS'] += ' -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX="\"1.43.1\"" '
63
+ ENV['CPPFLAGS'] += ' -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX="\"1.46.2\"" '
64
64
 
65
65
  output_dir = File.expand_path(RbConfig::CONFIG['topdir'])
66
66
  grpc_lib_dir = File.join(output_dir, 'libs', grpc_config)
@@ -69,9 +69,16 @@ ENV['BUILDDIR'] = output_dir
69
69
  unless windows
70
70
  puts 'Building internal gRPC into ' + grpc_lib_dir
71
71
  nproc = 4
72
- nproc = Etc.nprocessors * 2 if Etc.respond_to? :nprocessors
72
+ nproc = Etc.nprocessors if Etc.respond_to? :nprocessors
73
+ nproc_override = ENV['GRPC_RUBY_BUILD_PROCS']
74
+ unless nproc_override.nil? or nproc_override.size == 0
75
+ nproc = nproc_override
76
+ puts "Overriding make parallelism to #{nproc}"
77
+ end
73
78
  make = bsd ? 'gmake' : 'make'
74
- system("#{make} -j#{nproc} -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q=")
79
+ cmd = "#{make} -j#{nproc} -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q="
80
+ puts "Building grpc native library: #{cmd}"
81
+ system(cmd)
75
82
  exit 1 unless $? == 0
76
83
  end
77
84
 
@@ -242,7 +242,10 @@ static VALUE grpc_rb_channel_init(int argc, VALUE* argv, VALUE self) {
242
242
  "bad creds symbol, want :this_channel_is_insecure");
243
243
  return Qnil;
244
244
  }
245
- ch = grpc_insecure_channel_create(target_chars, &args, NULL);
245
+ grpc_channel_credentials* insecure_creds =
246
+ grpc_insecure_credentials_create();
247
+ ch = grpc_channel_create(target_chars, insecure_creds, &args);
248
+ grpc_channel_credentials_release(insecure_creds);
246
249
  } else {
247
250
  wrapper->credentials = credentials;
248
251
  if (grpc_rb_is_channel_credentials(credentials)) {
@@ -254,7 +257,7 @@ static VALUE grpc_rb_channel_init(int argc, VALUE* argv, VALUE self) {
254
257
  "bad creds, want ChannelCredentials or XdsChannelCredentials");
255
258
  return Qnil;
256
259
  }
257
- ch = grpc_secure_channel_create(creds, target_chars, &args, NULL);
260
+ ch = grpc_channel_create(target_chars, creds, &args);
258
261
  }
259
262
 
260
263
  GPR_ASSERT(ch);
@@ -68,7 +68,9 @@ grpc_census_call_get_context_type grpc_census_call_get_context_import;
68
68
  grpc_channel_get_target_type grpc_channel_get_target_import;
69
69
  grpc_channel_get_info_type grpc_channel_get_info_import;
70
70
  grpc_channel_reset_connect_backoff_type grpc_channel_reset_connect_backoff_import;
71
- grpc_insecure_channel_create_type grpc_insecure_channel_create_import;
71
+ grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
72
+ grpc_server_credentials_release_type grpc_server_credentials_release_import;
73
+ grpc_channel_create_type grpc_channel_create_import;
72
74
  grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import;
73
75
  grpc_channel_destroy_type grpc_channel_destroy_import;
74
76
  grpc_call_cancel_type grpc_call_cancel_import;
@@ -84,7 +86,7 @@ grpc_server_register_completion_queue_type grpc_server_register_completion_queue
84
86
  grpc_server_config_fetcher_xds_create_type grpc_server_config_fetcher_xds_create_import;
85
87
  grpc_server_config_fetcher_destroy_type grpc_server_config_fetcher_destroy_import;
86
88
  grpc_server_set_config_fetcher_type grpc_server_set_config_fetcher_import;
87
- grpc_server_add_insecure_http2_port_type grpc_server_add_insecure_http2_port_import;
89
+ grpc_server_add_http2_port_type grpc_server_add_http2_port_import;
88
90
  grpc_server_start_type grpc_server_start_import;
89
91
  grpc_server_shutdown_and_notify_type grpc_server_shutdown_and_notify_import;
90
92
  grpc_server_cancel_all_calls_type grpc_server_cancel_all_calls_import;
@@ -109,8 +111,8 @@ grpc_channelz_get_channel_type grpc_channelz_get_channel_import;
109
111
  grpc_channelz_get_subchannel_type grpc_channelz_get_subchannel_import;
110
112
  grpc_channelz_get_socket_type grpc_channelz_get_socket_import;
111
113
  grpc_authorization_policy_provider_arg_vtable_type grpc_authorization_policy_provider_arg_vtable_import;
112
- grpc_insecure_channel_create_from_fd_type grpc_insecure_channel_create_from_fd_import;
113
- grpc_server_add_insecure_channel_from_fd_type grpc_server_add_insecure_channel_from_fd_import;
114
+ grpc_channel_create_from_fd_type grpc_channel_create_from_fd_import;
115
+ grpc_server_add_channel_from_fd_type grpc_server_add_channel_from_fd_import;
114
116
  grpc_auth_property_iterator_next_type grpc_auth_property_iterator_next_import;
115
117
  grpc_auth_context_property_iterator_type grpc_auth_context_property_iterator_import;
116
118
  grpc_auth_context_peer_identity_type grpc_auth_context_peer_identity_import;
@@ -126,7 +128,6 @@ grpc_ssl_session_cache_create_lru_type grpc_ssl_session_cache_create_lru_import;
126
128
  grpc_ssl_session_cache_destroy_type grpc_ssl_session_cache_destroy_import;
127
129
  grpc_ssl_session_cache_create_channel_arg_type grpc_ssl_session_cache_create_channel_arg_import;
128
130
  grpc_call_credentials_release_type grpc_call_credentials_release_import;
129
- grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
130
131
  grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import;
131
132
  grpc_set_ssl_roots_override_callback_type grpc_set_ssl_roots_override_callback_import;
132
133
  grpc_ssl_credentials_create_type grpc_ssl_credentials_create_import;
@@ -144,8 +145,6 @@ grpc_sts_credentials_create_type grpc_sts_credentials_create_import;
144
145
  grpc_auth_metadata_context_copy_type grpc_auth_metadata_context_copy_import;
145
146
  grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_import;
146
147
  grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
147
- grpc_secure_channel_create_type grpc_secure_channel_create_import;
148
- grpc_server_credentials_release_type grpc_server_credentials_release_import;
149
148
  grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import;
150
149
  grpc_ssl_server_certificate_config_destroy_type grpc_ssl_server_certificate_config_destroy_import;
151
150
  grpc_ssl_server_credentials_create_type grpc_ssl_server_credentials_create_import;
@@ -154,7 +153,6 @@ grpc_ssl_server_credentials_create_options_using_config_type grpc_ssl_server_cre
154
153
  grpc_ssl_server_credentials_create_options_using_config_fetcher_type grpc_ssl_server_credentials_create_options_using_config_fetcher_import;
155
154
  grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credentials_options_destroy_import;
156
155
  grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import;
157
- grpc_server_add_secure_http2_port_type grpc_server_add_secure_http2_port_import;
158
156
  grpc_call_set_credentials_type grpc_call_set_credentials_import;
159
157
  grpc_server_credentials_set_auth_metadata_processor_type grpc_server_credentials_set_auth_metadata_processor_import;
160
158
  grpc_alts_credentials_client_options_create_type grpc_alts_credentials_client_options_create_import;
@@ -178,13 +176,17 @@ grpc_tls_credentials_options_set_root_cert_name_type grpc_tls_credentials_option
178
176
  grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_credentials_options_watch_identity_key_cert_pairs_import;
179
177
  grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import;
180
178
  grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
179
+ grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
181
180
  grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
182
181
  grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
182
+ grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import;
183
+ grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import;
183
184
  grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
184
185
  grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import;
185
186
  grpc_authorization_policy_provider_static_data_create_type grpc_authorization_policy_provider_static_data_create_import;
186
187
  grpc_authorization_policy_provider_file_watcher_create_type grpc_authorization_policy_provider_file_watcher_create_import;
187
188
  grpc_authorization_policy_provider_release_type grpc_authorization_policy_provider_release_import;
189
+ grpc_tls_credentials_options_set_tls_session_key_log_file_path_type grpc_tls_credentials_options_set_tls_session_key_log_file_path_import;
188
190
  grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import;
189
191
  grpc_raw_compressed_byte_buffer_create_type grpc_raw_compressed_byte_buffer_create_import;
190
192
  grpc_byte_buffer_copy_type grpc_byte_buffer_copy_import;
@@ -211,7 +213,6 @@ grpc_slice_new_with_user_data_type grpc_slice_new_with_user_data_import;
211
213
  grpc_slice_new_with_len_type grpc_slice_new_with_len_import;
212
214
  grpc_slice_malloc_type grpc_slice_malloc_import;
213
215
  grpc_slice_malloc_large_type grpc_slice_malloc_large_import;
214
- grpc_slice_intern_type grpc_slice_intern_import;
215
216
  grpc_slice_from_copied_string_type grpc_slice_from_copied_string_import;
216
217
  grpc_slice_from_copied_buffer_type grpc_slice_from_copied_buffer_import;
217
218
  grpc_slice_from_static_string_type grpc_slice_from_static_string_import;
@@ -222,8 +223,6 @@ grpc_slice_split_tail_type grpc_slice_split_tail_import;
222
223
  grpc_slice_split_tail_maybe_ref_type grpc_slice_split_tail_maybe_ref_import;
223
224
  grpc_slice_split_head_type grpc_slice_split_head_import;
224
225
  grpc_empty_slice_type grpc_empty_slice_import;
225
- grpc_slice_default_hash_impl_type grpc_slice_default_hash_impl_import;
226
- grpc_slice_default_eq_impl_type grpc_slice_default_eq_impl_import;
227
226
  grpc_slice_eq_type grpc_slice_eq_import;
228
227
  grpc_slice_cmp_type grpc_slice_cmp_import;
229
228
  grpc_slice_str_cmp_type grpc_slice_str_cmp_import;
@@ -231,7 +230,6 @@ grpc_slice_buf_start_eq_type grpc_slice_buf_start_eq_import;
231
230
  grpc_slice_rchr_type grpc_slice_rchr_import;
232
231
  grpc_slice_chr_type grpc_slice_chr_import;
233
232
  grpc_slice_slice_type grpc_slice_slice_import;
234
- grpc_slice_hash_type grpc_slice_hash_import;
235
233
  grpc_slice_is_equivalent_type grpc_slice_is_equivalent_import;
236
234
  grpc_slice_dup_type grpc_slice_dup_import;
237
235
  grpc_slice_to_c_string_type grpc_slice_to_c_string_import;
@@ -356,7 +354,9 @@ void grpc_rb_load_imports(HMODULE library) {
356
354
  grpc_channel_get_target_import = (grpc_channel_get_target_type) GetProcAddress(library, "grpc_channel_get_target");
357
355
  grpc_channel_get_info_import = (grpc_channel_get_info_type) GetProcAddress(library, "grpc_channel_get_info");
358
356
  grpc_channel_reset_connect_backoff_import = (grpc_channel_reset_connect_backoff_type) GetProcAddress(library, "grpc_channel_reset_connect_backoff");
359
- grpc_insecure_channel_create_import = (grpc_insecure_channel_create_type) GetProcAddress(library, "grpc_insecure_channel_create");
357
+ grpc_channel_credentials_release_import = (grpc_channel_credentials_release_type) GetProcAddress(library, "grpc_channel_credentials_release");
358
+ grpc_server_credentials_release_import = (grpc_server_credentials_release_type) GetProcAddress(library, "grpc_server_credentials_release");
359
+ grpc_channel_create_import = (grpc_channel_create_type) GetProcAddress(library, "grpc_channel_create");
360
360
  grpc_lame_client_channel_create_import = (grpc_lame_client_channel_create_type) GetProcAddress(library, "grpc_lame_client_channel_create");
361
361
  grpc_channel_destroy_import = (grpc_channel_destroy_type) GetProcAddress(library, "grpc_channel_destroy");
362
362
  grpc_call_cancel_import = (grpc_call_cancel_type) GetProcAddress(library, "grpc_call_cancel");
@@ -372,7 +372,7 @@ void grpc_rb_load_imports(HMODULE library) {
372
372
  grpc_server_config_fetcher_xds_create_import = (grpc_server_config_fetcher_xds_create_type) GetProcAddress(library, "grpc_server_config_fetcher_xds_create");
373
373
  grpc_server_config_fetcher_destroy_import = (grpc_server_config_fetcher_destroy_type) GetProcAddress(library, "grpc_server_config_fetcher_destroy");
374
374
  grpc_server_set_config_fetcher_import = (grpc_server_set_config_fetcher_type) GetProcAddress(library, "grpc_server_set_config_fetcher");
375
- grpc_server_add_insecure_http2_port_import = (grpc_server_add_insecure_http2_port_type) GetProcAddress(library, "grpc_server_add_insecure_http2_port");
375
+ grpc_server_add_http2_port_import = (grpc_server_add_http2_port_type) GetProcAddress(library, "grpc_server_add_http2_port");
376
376
  grpc_server_start_import = (grpc_server_start_type) GetProcAddress(library, "grpc_server_start");
377
377
  grpc_server_shutdown_and_notify_import = (grpc_server_shutdown_and_notify_type) GetProcAddress(library, "grpc_server_shutdown_and_notify");
378
378
  grpc_server_cancel_all_calls_import = (grpc_server_cancel_all_calls_type) GetProcAddress(library, "grpc_server_cancel_all_calls");
@@ -397,8 +397,8 @@ void grpc_rb_load_imports(HMODULE library) {
397
397
  grpc_channelz_get_subchannel_import = (grpc_channelz_get_subchannel_type) GetProcAddress(library, "grpc_channelz_get_subchannel");
398
398
  grpc_channelz_get_socket_import = (grpc_channelz_get_socket_type) GetProcAddress(library, "grpc_channelz_get_socket");
399
399
  grpc_authorization_policy_provider_arg_vtable_import = (grpc_authorization_policy_provider_arg_vtable_type) GetProcAddress(library, "grpc_authorization_policy_provider_arg_vtable");
400
- grpc_insecure_channel_create_from_fd_import = (grpc_insecure_channel_create_from_fd_type) GetProcAddress(library, "grpc_insecure_channel_create_from_fd");
401
- grpc_server_add_insecure_channel_from_fd_import = (grpc_server_add_insecure_channel_from_fd_type) GetProcAddress(library, "grpc_server_add_insecure_channel_from_fd");
400
+ grpc_channel_create_from_fd_import = (grpc_channel_create_from_fd_type) GetProcAddress(library, "grpc_channel_create_from_fd");
401
+ grpc_server_add_channel_from_fd_import = (grpc_server_add_channel_from_fd_type) GetProcAddress(library, "grpc_server_add_channel_from_fd");
402
402
  grpc_auth_property_iterator_next_import = (grpc_auth_property_iterator_next_type) GetProcAddress(library, "grpc_auth_property_iterator_next");
403
403
  grpc_auth_context_property_iterator_import = (grpc_auth_context_property_iterator_type) GetProcAddress(library, "grpc_auth_context_property_iterator");
404
404
  grpc_auth_context_peer_identity_import = (grpc_auth_context_peer_identity_type) GetProcAddress(library, "grpc_auth_context_peer_identity");
@@ -414,7 +414,6 @@ void grpc_rb_load_imports(HMODULE library) {
414
414
  grpc_ssl_session_cache_destroy_import = (grpc_ssl_session_cache_destroy_type) GetProcAddress(library, "grpc_ssl_session_cache_destroy");
415
415
  grpc_ssl_session_cache_create_channel_arg_import = (grpc_ssl_session_cache_create_channel_arg_type) GetProcAddress(library, "grpc_ssl_session_cache_create_channel_arg");
416
416
  grpc_call_credentials_release_import = (grpc_call_credentials_release_type) GetProcAddress(library, "grpc_call_credentials_release");
417
- grpc_channel_credentials_release_import = (grpc_channel_credentials_release_type) GetProcAddress(library, "grpc_channel_credentials_release");
418
417
  grpc_google_default_credentials_create_import = (grpc_google_default_credentials_create_type) GetProcAddress(library, "grpc_google_default_credentials_create");
419
418
  grpc_set_ssl_roots_override_callback_import = (grpc_set_ssl_roots_override_callback_type) GetProcAddress(library, "grpc_set_ssl_roots_override_callback");
420
419
  grpc_ssl_credentials_create_import = (grpc_ssl_credentials_create_type) GetProcAddress(library, "grpc_ssl_credentials_create");
@@ -432,8 +431,6 @@ void grpc_rb_load_imports(HMODULE library) {
432
431
  grpc_auth_metadata_context_copy_import = (grpc_auth_metadata_context_copy_type) GetProcAddress(library, "grpc_auth_metadata_context_copy");
433
432
  grpc_auth_metadata_context_reset_import = (grpc_auth_metadata_context_reset_type) GetProcAddress(library, "grpc_auth_metadata_context_reset");
434
433
  grpc_metadata_credentials_create_from_plugin_import = (grpc_metadata_credentials_create_from_plugin_type) GetProcAddress(library, "grpc_metadata_credentials_create_from_plugin");
435
- grpc_secure_channel_create_import = (grpc_secure_channel_create_type) GetProcAddress(library, "grpc_secure_channel_create");
436
- grpc_server_credentials_release_import = (grpc_server_credentials_release_type) GetProcAddress(library, "grpc_server_credentials_release");
437
434
  grpc_ssl_server_certificate_config_create_import = (grpc_ssl_server_certificate_config_create_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_create");
438
435
  grpc_ssl_server_certificate_config_destroy_import = (grpc_ssl_server_certificate_config_destroy_type) GetProcAddress(library, "grpc_ssl_server_certificate_config_destroy");
439
436
  grpc_ssl_server_credentials_create_import = (grpc_ssl_server_credentials_create_type) GetProcAddress(library, "grpc_ssl_server_credentials_create");
@@ -442,7 +439,6 @@ void grpc_rb_load_imports(HMODULE library) {
442
439
  grpc_ssl_server_credentials_create_options_using_config_fetcher_import = (grpc_ssl_server_credentials_create_options_using_config_fetcher_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_options_using_config_fetcher");
443
440
  grpc_ssl_server_credentials_options_destroy_import = (grpc_ssl_server_credentials_options_destroy_type) GetProcAddress(library, "grpc_ssl_server_credentials_options_destroy");
444
441
  grpc_ssl_server_credentials_create_with_options_import = (grpc_ssl_server_credentials_create_with_options_type) GetProcAddress(library, "grpc_ssl_server_credentials_create_with_options");
445
- grpc_server_add_secure_http2_port_import = (grpc_server_add_secure_http2_port_type) GetProcAddress(library, "grpc_server_add_secure_http2_port");
446
442
  grpc_call_set_credentials_import = (grpc_call_set_credentials_type) GetProcAddress(library, "grpc_call_set_credentials");
447
443
  grpc_server_credentials_set_auth_metadata_processor_import = (grpc_server_credentials_set_auth_metadata_processor_type) GetProcAddress(library, "grpc_server_credentials_set_auth_metadata_processor");
448
444
  grpc_alts_credentials_client_options_create_import = (grpc_alts_credentials_client_options_create_type) GetProcAddress(library, "grpc_alts_credentials_client_options_create");
@@ -466,13 +462,17 @@ void grpc_rb_load_imports(HMODULE library) {
466
462
  grpc_tls_credentials_options_watch_identity_key_cert_pairs_import = (grpc_tls_credentials_options_watch_identity_key_cert_pairs_type) GetProcAddress(library, "grpc_tls_credentials_options_watch_identity_key_cert_pairs");
467
463
  grpc_tls_credentials_options_set_identity_cert_name_import = (grpc_tls_credentials_options_set_identity_cert_name_type) GetProcAddress(library, "grpc_tls_credentials_options_set_identity_cert_name");
468
464
  grpc_tls_credentials_options_set_cert_request_type_import = (grpc_tls_credentials_options_set_cert_request_type_type) GetProcAddress(library, "grpc_tls_credentials_options_set_cert_request_type");
465
+ grpc_tls_credentials_options_set_crl_directory_import = (grpc_tls_credentials_options_set_crl_directory_type) GetProcAddress(library, "grpc_tls_credentials_options_set_crl_directory");
469
466
  grpc_tls_credentials_options_set_verify_server_cert_import = (grpc_tls_credentials_options_set_verify_server_cert_type) GetProcAddress(library, "grpc_tls_credentials_options_set_verify_server_cert");
470
467
  grpc_tls_credentials_options_set_check_call_host_import = (grpc_tls_credentials_options_set_check_call_host_type) GetProcAddress(library, "grpc_tls_credentials_options_set_check_call_host");
468
+ grpc_insecure_credentials_create_import = (grpc_insecure_credentials_create_type) GetProcAddress(library, "grpc_insecure_credentials_create");
469
+ grpc_insecure_server_credentials_create_import = (grpc_insecure_server_credentials_create_type) GetProcAddress(library, "grpc_insecure_server_credentials_create");
471
470
  grpc_xds_credentials_create_import = (grpc_xds_credentials_create_type) GetProcAddress(library, "grpc_xds_credentials_create");
472
471
  grpc_xds_server_credentials_create_import = (grpc_xds_server_credentials_create_type) GetProcAddress(library, "grpc_xds_server_credentials_create");
473
472
  grpc_authorization_policy_provider_static_data_create_import = (grpc_authorization_policy_provider_static_data_create_type) GetProcAddress(library, "grpc_authorization_policy_provider_static_data_create");
474
473
  grpc_authorization_policy_provider_file_watcher_create_import = (grpc_authorization_policy_provider_file_watcher_create_type) GetProcAddress(library, "grpc_authorization_policy_provider_file_watcher_create");
475
474
  grpc_authorization_policy_provider_release_import = (grpc_authorization_policy_provider_release_type) GetProcAddress(library, "grpc_authorization_policy_provider_release");
475
+ grpc_tls_credentials_options_set_tls_session_key_log_file_path_import = (grpc_tls_credentials_options_set_tls_session_key_log_file_path_type) GetProcAddress(library, "grpc_tls_credentials_options_set_tls_session_key_log_file_path");
476
476
  grpc_raw_byte_buffer_create_import = (grpc_raw_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_byte_buffer_create");
477
477
  grpc_raw_compressed_byte_buffer_create_import = (grpc_raw_compressed_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_compressed_byte_buffer_create");
478
478
  grpc_byte_buffer_copy_import = (grpc_byte_buffer_copy_type) GetProcAddress(library, "grpc_byte_buffer_copy");
@@ -499,7 +499,6 @@ void grpc_rb_load_imports(HMODULE library) {
499
499
  grpc_slice_new_with_len_import = (grpc_slice_new_with_len_type) GetProcAddress(library, "grpc_slice_new_with_len");
500
500
  grpc_slice_malloc_import = (grpc_slice_malloc_type) GetProcAddress(library, "grpc_slice_malloc");
501
501
  grpc_slice_malloc_large_import = (grpc_slice_malloc_large_type) GetProcAddress(library, "grpc_slice_malloc_large");
502
- grpc_slice_intern_import = (grpc_slice_intern_type) GetProcAddress(library, "grpc_slice_intern");
503
502
  grpc_slice_from_copied_string_import = (grpc_slice_from_copied_string_type) GetProcAddress(library, "grpc_slice_from_copied_string");
504
503
  grpc_slice_from_copied_buffer_import = (grpc_slice_from_copied_buffer_type) GetProcAddress(library, "grpc_slice_from_copied_buffer");
505
504
  grpc_slice_from_static_string_import = (grpc_slice_from_static_string_type) GetProcAddress(library, "grpc_slice_from_static_string");
@@ -510,8 +509,6 @@ void grpc_rb_load_imports(HMODULE library) {
510
509
  grpc_slice_split_tail_maybe_ref_import = (grpc_slice_split_tail_maybe_ref_type) GetProcAddress(library, "grpc_slice_split_tail_maybe_ref");
511
510
  grpc_slice_split_head_import = (grpc_slice_split_head_type) GetProcAddress(library, "grpc_slice_split_head");
512
511
  grpc_empty_slice_import = (grpc_empty_slice_type) GetProcAddress(library, "grpc_empty_slice");
513
- grpc_slice_default_hash_impl_import = (grpc_slice_default_hash_impl_type) GetProcAddress(library, "grpc_slice_default_hash_impl");
514
- grpc_slice_default_eq_impl_import = (grpc_slice_default_eq_impl_type) GetProcAddress(library, "grpc_slice_default_eq_impl");
515
512
  grpc_slice_eq_import = (grpc_slice_eq_type) GetProcAddress(library, "grpc_slice_eq");
516
513
  grpc_slice_cmp_import = (grpc_slice_cmp_type) GetProcAddress(library, "grpc_slice_cmp");
517
514
  grpc_slice_str_cmp_import = (grpc_slice_str_cmp_type) GetProcAddress(library, "grpc_slice_str_cmp");
@@ -519,7 +516,6 @@ void grpc_rb_load_imports(HMODULE library) {
519
516
  grpc_slice_rchr_import = (grpc_slice_rchr_type) GetProcAddress(library, "grpc_slice_rchr");
520
517
  grpc_slice_chr_import = (grpc_slice_chr_type) GetProcAddress(library, "grpc_slice_chr");
521
518
  grpc_slice_slice_import = (grpc_slice_slice_type) GetProcAddress(library, "grpc_slice_slice");
522
- grpc_slice_hash_import = (grpc_slice_hash_type) GetProcAddress(library, "grpc_slice_hash");
523
519
  grpc_slice_is_equivalent_import = (grpc_slice_is_equivalent_type) GetProcAddress(library, "grpc_slice_is_equivalent");
524
520
  grpc_slice_dup_import = (grpc_slice_dup_type) GetProcAddress(library, "grpc_slice_dup");
525
521
  grpc_slice_to_c_string_import = (grpc_slice_to_c_string_type) GetProcAddress(library, "grpc_slice_to_c_string");
@@ -179,9 +179,15 @@ extern grpc_channel_get_info_type grpc_channel_get_info_import;
179
179
  typedef void(*grpc_channel_reset_connect_backoff_type)(grpc_channel* channel);
180
180
  extern grpc_channel_reset_connect_backoff_type grpc_channel_reset_connect_backoff_import;
181
181
  #define grpc_channel_reset_connect_backoff grpc_channel_reset_connect_backoff_import
182
- typedef grpc_channel*(*grpc_insecure_channel_create_type)(const char* target, const grpc_channel_args* args, void* reserved);
183
- extern grpc_insecure_channel_create_type grpc_insecure_channel_create_import;
184
- #define grpc_insecure_channel_create grpc_insecure_channel_create_import
182
+ typedef void(*grpc_channel_credentials_release_type)(grpc_channel_credentials* creds);
183
+ extern grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
184
+ #define grpc_channel_credentials_release grpc_channel_credentials_release_import
185
+ typedef void(*grpc_server_credentials_release_type)(grpc_server_credentials* creds);
186
+ extern grpc_server_credentials_release_type grpc_server_credentials_release_import;
187
+ #define grpc_server_credentials_release grpc_server_credentials_release_import
188
+ typedef grpc_channel*(*grpc_channel_create_type)(const char* target, grpc_channel_credentials* creds, const grpc_channel_args* args);
189
+ extern grpc_channel_create_type grpc_channel_create_import;
190
+ #define grpc_channel_create grpc_channel_create_import
185
191
  typedef grpc_channel*(*grpc_lame_client_channel_create_type)(const char* target, grpc_status_code error_code, const char* error_message);
186
192
  extern grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import;
187
193
  #define grpc_lame_client_channel_create grpc_lame_client_channel_create_import
@@ -227,9 +233,9 @@ extern grpc_server_config_fetcher_destroy_type grpc_server_config_fetcher_destro
227
233
  typedef void(*grpc_server_set_config_fetcher_type)(grpc_server* server, grpc_server_config_fetcher* config_fetcher);
228
234
  extern grpc_server_set_config_fetcher_type grpc_server_set_config_fetcher_import;
229
235
  #define grpc_server_set_config_fetcher grpc_server_set_config_fetcher_import
230
- typedef int(*grpc_server_add_insecure_http2_port_type)(grpc_server* server, const char* addr);
231
- extern grpc_server_add_insecure_http2_port_type grpc_server_add_insecure_http2_port_import;
232
- #define grpc_server_add_insecure_http2_port grpc_server_add_insecure_http2_port_import
236
+ typedef int(*grpc_server_add_http2_port_type)(grpc_server* server, const char* addr, grpc_server_credentials* creds);
237
+ extern grpc_server_add_http2_port_type grpc_server_add_http2_port_import;
238
+ #define grpc_server_add_http2_port grpc_server_add_http2_port_import
233
239
  typedef void(*grpc_server_start_type)(grpc_server* server);
234
240
  extern grpc_server_start_type grpc_server_start_import;
235
241
  #define grpc_server_start grpc_server_start_import
@@ -302,12 +308,12 @@ extern grpc_channelz_get_socket_type grpc_channelz_get_socket_import;
302
308
  typedef const grpc_arg_pointer_vtable*(*grpc_authorization_policy_provider_arg_vtable_type)(void);
303
309
  extern grpc_authorization_policy_provider_arg_vtable_type grpc_authorization_policy_provider_arg_vtable_import;
304
310
  #define grpc_authorization_policy_provider_arg_vtable grpc_authorization_policy_provider_arg_vtable_import
305
- typedef grpc_channel*(*grpc_insecure_channel_create_from_fd_type)(const char* target, int fd, const grpc_channel_args* args);
306
- extern grpc_insecure_channel_create_from_fd_type grpc_insecure_channel_create_from_fd_import;
307
- #define grpc_insecure_channel_create_from_fd grpc_insecure_channel_create_from_fd_import
308
- typedef void(*grpc_server_add_insecure_channel_from_fd_type)(grpc_server* server, void* reserved, int fd);
309
- extern grpc_server_add_insecure_channel_from_fd_type grpc_server_add_insecure_channel_from_fd_import;
310
- #define grpc_server_add_insecure_channel_from_fd grpc_server_add_insecure_channel_from_fd_import
311
+ typedef grpc_channel*(*grpc_channel_create_from_fd_type)(const char* target, int fd, grpc_channel_credentials* creds, const grpc_channel_args* args);
312
+ extern grpc_channel_create_from_fd_type grpc_channel_create_from_fd_import;
313
+ #define grpc_channel_create_from_fd grpc_channel_create_from_fd_import
314
+ typedef void(*grpc_server_add_channel_from_fd_type)(grpc_server* server, int fd, grpc_server_credentials* creds);
315
+ extern grpc_server_add_channel_from_fd_type grpc_server_add_channel_from_fd_import;
316
+ #define grpc_server_add_channel_from_fd grpc_server_add_channel_from_fd_import
311
317
  typedef const grpc_auth_property*(*grpc_auth_property_iterator_next_type)(grpc_auth_property_iterator* it);
312
318
  extern grpc_auth_property_iterator_next_type grpc_auth_property_iterator_next_import;
313
319
  #define grpc_auth_property_iterator_next grpc_auth_property_iterator_next_import
@@ -353,9 +359,6 @@ extern grpc_ssl_session_cache_create_channel_arg_type grpc_ssl_session_cache_cre
353
359
  typedef void(*grpc_call_credentials_release_type)(grpc_call_credentials* creds);
354
360
  extern grpc_call_credentials_release_type grpc_call_credentials_release_import;
355
361
  #define grpc_call_credentials_release grpc_call_credentials_release_import
356
- typedef void(*grpc_channel_credentials_release_type)(grpc_channel_credentials* creds);
357
- extern grpc_channel_credentials_release_type grpc_channel_credentials_release_import;
358
- #define grpc_channel_credentials_release grpc_channel_credentials_release_import
359
362
  typedef grpc_channel_credentials*(*grpc_google_default_credentials_create_type)(grpc_call_credentials* call_credentials);
360
363
  extern grpc_google_default_credentials_create_type grpc_google_default_credentials_create_import;
361
364
  #define grpc_google_default_credentials_create grpc_google_default_credentials_create_import
@@ -407,12 +410,6 @@ extern grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_im
407
410
  typedef grpc_call_credentials*(*grpc_metadata_credentials_create_from_plugin_type)(grpc_metadata_credentials_plugin plugin, grpc_security_level min_security_level, void* reserved);
408
411
  extern grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
409
412
  #define grpc_metadata_credentials_create_from_plugin grpc_metadata_credentials_create_from_plugin_import
410
- typedef grpc_channel*(*grpc_secure_channel_create_type)(grpc_channel_credentials* creds, const char* target, const grpc_channel_args* args, void* reserved);
411
- extern grpc_secure_channel_create_type grpc_secure_channel_create_import;
412
- #define grpc_secure_channel_create grpc_secure_channel_create_import
413
- typedef void(*grpc_server_credentials_release_type)(grpc_server_credentials* creds);
414
- extern grpc_server_credentials_release_type grpc_server_credentials_release_import;
415
- #define grpc_server_credentials_release grpc_server_credentials_release_import
416
413
  typedef grpc_ssl_server_certificate_config*(*grpc_ssl_server_certificate_config_create_type)(const char* pem_root_certs, const grpc_ssl_pem_key_cert_pair* pem_key_cert_pairs, size_t num_key_cert_pairs);
417
414
  extern grpc_ssl_server_certificate_config_create_type grpc_ssl_server_certificate_config_create_import;
418
415
  #define grpc_ssl_server_certificate_config_create grpc_ssl_server_certificate_config_create_import
@@ -437,9 +434,6 @@ extern grpc_ssl_server_credentials_options_destroy_type grpc_ssl_server_credenti
437
434
  typedef grpc_server_credentials*(*grpc_ssl_server_credentials_create_with_options_type)(grpc_ssl_server_credentials_options* options);
438
435
  extern grpc_ssl_server_credentials_create_with_options_type grpc_ssl_server_credentials_create_with_options_import;
439
436
  #define grpc_ssl_server_credentials_create_with_options grpc_ssl_server_credentials_create_with_options_import
440
- typedef int(*grpc_server_add_secure_http2_port_type)(grpc_server* server, const char* addr, grpc_server_credentials* creds);
441
- extern grpc_server_add_secure_http2_port_type grpc_server_add_secure_http2_port_import;
442
- #define grpc_server_add_secure_http2_port grpc_server_add_secure_http2_port_import
443
437
  typedef grpc_call_error(*grpc_call_set_credentials_type)(grpc_call* call, grpc_call_credentials* creds);
444
438
  extern grpc_call_set_credentials_type grpc_call_set_credentials_import;
445
439
  #define grpc_call_set_credentials grpc_call_set_credentials_import
@@ -509,12 +503,21 @@ extern grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credent
509
503
  typedef void(*grpc_tls_credentials_options_set_cert_request_type_type)(grpc_tls_credentials_options* options, grpc_ssl_client_certificate_request_type type);
510
504
  extern grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
511
505
  #define grpc_tls_credentials_options_set_cert_request_type grpc_tls_credentials_options_set_cert_request_type_import
506
+ typedef void(*grpc_tls_credentials_options_set_crl_directory_type)(grpc_tls_credentials_options* options, const char* crl_directory);
507
+ extern grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
508
+ #define grpc_tls_credentials_options_set_crl_directory grpc_tls_credentials_options_set_crl_directory_import
512
509
  typedef void(*grpc_tls_credentials_options_set_verify_server_cert_type)(grpc_tls_credentials_options* options, int verify_server_cert);
513
510
  extern grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
514
511
  #define grpc_tls_credentials_options_set_verify_server_cert grpc_tls_credentials_options_set_verify_server_cert_import
515
512
  typedef void(*grpc_tls_credentials_options_set_check_call_host_type)(grpc_tls_credentials_options* options, int check_call_host);
516
513
  extern grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
517
514
  #define grpc_tls_credentials_options_set_check_call_host grpc_tls_credentials_options_set_check_call_host_import
515
+ typedef grpc_channel_credentials*(*grpc_insecure_credentials_create_type)();
516
+ extern grpc_insecure_credentials_create_type grpc_insecure_credentials_create_import;
517
+ #define grpc_insecure_credentials_create grpc_insecure_credentials_create_import
518
+ typedef grpc_server_credentials*(*grpc_insecure_server_credentials_create_type)();
519
+ extern grpc_insecure_server_credentials_create_type grpc_insecure_server_credentials_create_import;
520
+ #define grpc_insecure_server_credentials_create grpc_insecure_server_credentials_create_import
518
521
  typedef grpc_channel_credentials*(*grpc_xds_credentials_create_type)(grpc_channel_credentials* fallback_credentials);
519
522
  extern grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
520
523
  #define grpc_xds_credentials_create grpc_xds_credentials_create_import
@@ -530,6 +533,9 @@ extern grpc_authorization_policy_provider_file_watcher_create_type grpc_authoriz
530
533
  typedef void(*grpc_authorization_policy_provider_release_type)(grpc_authorization_policy_provider* provider);
531
534
  extern grpc_authorization_policy_provider_release_type grpc_authorization_policy_provider_release_import;
532
535
  #define grpc_authorization_policy_provider_release grpc_authorization_policy_provider_release_import
536
+ typedef void(*grpc_tls_credentials_options_set_tls_session_key_log_file_path_type)(grpc_tls_credentials_options* options, const char* path);
537
+ extern grpc_tls_credentials_options_set_tls_session_key_log_file_path_type grpc_tls_credentials_options_set_tls_session_key_log_file_path_import;
538
+ #define grpc_tls_credentials_options_set_tls_session_key_log_file_path grpc_tls_credentials_options_set_tls_session_key_log_file_path_import
533
539
  typedef grpc_byte_buffer*(*grpc_raw_byte_buffer_create_type)(grpc_slice* slices, size_t nslices);
534
540
  extern grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import;
535
541
  #define grpc_raw_byte_buffer_create grpc_raw_byte_buffer_create_import
@@ -608,9 +614,6 @@ extern grpc_slice_malloc_type grpc_slice_malloc_import;
608
614
  typedef grpc_slice(*grpc_slice_malloc_large_type)(size_t length);
609
615
  extern grpc_slice_malloc_large_type grpc_slice_malloc_large_import;
610
616
  #define grpc_slice_malloc_large grpc_slice_malloc_large_import
611
- typedef grpc_slice(*grpc_slice_intern_type)(grpc_slice slice);
612
- extern grpc_slice_intern_type grpc_slice_intern_import;
613
- #define grpc_slice_intern grpc_slice_intern_import
614
617
  typedef grpc_slice(*grpc_slice_from_copied_string_type)(const char* source);
615
618
  extern grpc_slice_from_copied_string_type grpc_slice_from_copied_string_import;
616
619
  #define grpc_slice_from_copied_string grpc_slice_from_copied_string_import
@@ -641,12 +644,6 @@ extern grpc_slice_split_head_type grpc_slice_split_head_import;
641
644
  typedef grpc_slice(*grpc_empty_slice_type)(void);
642
645
  extern grpc_empty_slice_type grpc_empty_slice_import;
643
646
  #define grpc_empty_slice grpc_empty_slice_import
644
- typedef uint32_t(*grpc_slice_default_hash_impl_type)(grpc_slice s);
645
- extern grpc_slice_default_hash_impl_type grpc_slice_default_hash_impl_import;
646
- #define grpc_slice_default_hash_impl grpc_slice_default_hash_impl_import
647
- typedef int(*grpc_slice_default_eq_impl_type)(grpc_slice a, grpc_slice b);
648
- extern grpc_slice_default_eq_impl_type grpc_slice_default_eq_impl_import;
649
- #define grpc_slice_default_eq_impl grpc_slice_default_eq_impl_import
650
647
  typedef int(*grpc_slice_eq_type)(grpc_slice a, grpc_slice b);
651
648
  extern grpc_slice_eq_type grpc_slice_eq_import;
652
649
  #define grpc_slice_eq grpc_slice_eq_import
@@ -668,9 +665,6 @@ extern grpc_slice_chr_type grpc_slice_chr_import;
668
665
  typedef int(*grpc_slice_slice_type)(grpc_slice haystack, grpc_slice needle);
669
666
  extern grpc_slice_slice_type grpc_slice_slice_import;
670
667
  #define grpc_slice_slice grpc_slice_slice_import
671
- typedef uint32_t(*grpc_slice_hash_type)(grpc_slice s);
672
- extern grpc_slice_hash_type grpc_slice_hash_import;
673
- #define grpc_slice_hash grpc_slice_hash_import
674
668
  typedef int(*grpc_slice_is_equivalent_type)(grpc_slice a, grpc_slice b);
675
669
  extern grpc_slice_is_equivalent_type grpc_slice_is_equivalent_import;
676
670
  #define grpc_slice_is_equivalent grpc_slice_is_equivalent_import
@@ -320,8 +320,11 @@ static VALUE grpc_rb_server_add_http2_port(VALUE self, VALUE port,
320
320
  rb_raise(rb_eTypeError, "bad creds symbol, want :this_port_is_insecure");
321
321
  return Qnil;
322
322
  }
323
- recvd_port =
324
- grpc_server_add_insecure_http2_port(s->wrapped, StringValueCStr(port));
323
+ grpc_server_credentials* insecure_creds =
324
+ grpc_insecure_server_credentials_create();
325
+ recvd_port = grpc_server_add_http2_port(s->wrapped, StringValueCStr(port),
326
+ insecure_creds);
327
+ grpc_server_credentials_release(insecure_creds);
325
328
  if (recvd_port == 0) {
326
329
  rb_raise(rb_eRuntimeError,
327
330
  "could not add port %s to server, not sure why",
@@ -340,8 +343,8 @@ static VALUE grpc_rb_server_add_http2_port(VALUE self, VALUE port,
340
343
  "failed to create server because credentials parameter has an "
341
344
  "invalid type, want ServerCredentials or XdsServerCredentials");
342
345
  }
343
- recvd_port = grpc_server_add_secure_http2_port(
344
- s->wrapped, StringValueCStr(port), creds);
346
+ recvd_port =
347
+ grpc_server_add_http2_port(s->wrapped, StringValueCStr(port), creds);
345
348
  if (recvd_port == 0) {
346
349
  rb_raise(rb_eRuntimeError,
347
350
  "could not add secure port %s to server, not sure why",
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -164,7 +164,13 @@ module GRPC
164
164
  end
165
165
 
166
166
  def receive_and_check_status
167
- batch_result = @call.run_batch(RECV_STATUS_ON_CLIENT => nil)
167
+ ops = { RECV_STATUS_ON_CLIENT => nil }
168
+ ops[RECV_INITIAL_METADATA] = nil unless @metadata_received
169
+ batch_result = @call.run_batch(ops)
170
+ unless @metadata_received
171
+ @call.metadata = batch_result.metadata
172
+ @metadata_received = true
173
+ end
168
174
  set_input_stream_done
169
175
  attach_status_results_and_complete_call(batch_result)
170
176
  end
@@ -16,7 +16,7 @@ begin
16
16
  ruby_version_dirname = /(\d+\.\d+)/.match(RUBY_VERSION).to_s
17
17
  distrib_lib_dir = File.expand_path(ruby_version_dirname,
18
18
  File.dirname(__FILE__))
19
- if File.directory?(distrib_lib_dir)
19
+ if !Dir.glob("#{distrib_lib_dir}/grpc_c*").empty?
20
20
  require "#{distrib_lib_dir}/grpc_c"
21
21
  else
22
22
  require 'grpc/grpc_c'
@@ -14,5 +14,5 @@
14
14
 
15
15
  # GRPC contains the General RPC module.
16
16
  module GRPC
17
- VERSION = '1.43.1'
17
+ VERSION = '1.46.2'
18
18
  end
@@ -40,6 +40,7 @@ $PROTOC -I . \
40
40
  --plugin=$PLUGIN
41
41
 
42
42
  $PROTOC -I . \
43
+ -I third_party/protobuf/src \
43
44
  src/proto/grpc/testing/{messages,payloads,stats,benchmark_service,report_qps_scenario_service,worker_service,control}.proto \
44
45
  --grpc_out=src/ruby/qps \
45
46
  --ruby_out=src/ruby/qps \
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: src/proto/grpc/testing/test.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'src/proto/grpc/testing/empty_pb'
5
7
  require 'src/proto/grpc/testing/messages_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("src/proto/grpc/testing/test.proto", :syntax => :proto3) do
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.43.1
4
+ version: 1.46.2
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - gRPC Authors
8
- autorequire:
8
+ autorequire:
9
9
  bindir: src/ruby/bin
10
10
  cert_chain: []
11
- date: 2022-01-18 00:00:00.000000000 Z
11
+ date: 2022-05-12 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.18'
19
+ version: '3.19'
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.18'
26
+ version: '3.19'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: googleapis-common-protos-types
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -112,14 +112,14 @@ dependencies:
112
112
  name: rake-compiler
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '='
115
+ - - "<="
116
116
  - !ruby/object:Gem::Version
117
117
  version: 1.1.1
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '='
122
+ - - "<="
123
123
  - !ruby/object:Gem::Version
124
124
  version: 1.1.1
125
125
  - !ruby/object:Gem::Dependency
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '1.1'
131
+ version: '1.2'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '1.1'
138
+ version: '1.2'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rspec
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -254,6 +254,7 @@ files:
254
254
  - src/ruby/lib/grpc/2.6/grpc_c.so
255
255
  - src/ruby/lib/grpc/2.7/grpc_c.so
256
256
  - src/ruby/lib/grpc/3.0/grpc_c.so
257
+ - src/ruby/lib/grpc/3.1/grpc_c.so
257
258
  - src/ruby/lib/grpc/core/status_codes.rb
258
259
  - src/ruby/lib/grpc/core/time_consts.rb
259
260
  - src/ruby/lib/grpc/errors.rb
@@ -333,7 +334,7 @@ homepage: https://github.com/google/grpc/tree/master/src/ruby
333
334
  licenses:
334
335
  - Apache-2.0
335
336
  metadata: {}
336
- post_install_message:
337
+ post_install_message:
337
338
  rdoc_options: []
338
339
  require_paths:
339
340
  - src/ruby/lib
@@ -346,58 +347,61 @@ required_ruby_version: !ruby/object:Gem::Requirement
346
347
  version: '2.5'
347
348
  - - "<"
348
349
  - !ruby/object:Gem::Version
349
- version: 3.1.dev
350
+ version: 3.2.dev
350
351
  required_rubygems_version: !ruby/object:Gem::Requirement
351
352
  requirements:
352
353
  - - ">="
353
354
  - !ruby/object:Gem::Version
354
355
  version: '0'
355
356
  requirements: []
356
- rubygems_version: 3.3.5
357
- signing_key:
357
+ rubygems_version: 3.3.4
358
+ signing_key:
358
359
  specification_version: 4
359
360
  summary: GRPC system in Ruby
360
361
  test_files:
362
+ - src/ruby/spec/call_credentials_spec.rb
363
+ - src/ruby/spec/call_spec.rb
361
364
  - src/ruby/spec/channel_connection_spec.rb
365
+ - src/ruby/spec/channel_credentials_spec.rb
366
+ - src/ruby/spec/channel_spec.rb
367
+ - src/ruby/spec/client_auth_spec.rb
362
368
  - src/ruby/spec/client_server_spec.rb
363
369
  - src/ruby/spec/compression_options_spec.rb
364
- - src/ruby/spec/google_rpc_status_utils_spec.rb
365
- - src/ruby/spec/error_sanity_spec.rb
366
- - src/ruby/spec/user_agent_spec.rb
367
370
  - src/ruby/spec/debug_message_spec.rb
371
+ - src/ruby/spec/error_sanity_spec.rb
368
372
  - src/ruby/spec/errors_spec.rb
369
- - src/ruby/spec/testdata/ca.pem
370
- - src/ruby/spec/testdata/server1.key
371
- - src/ruby/spec/testdata/server1.pem
372
- - src/ruby/spec/testdata/client.key
373
- - src/ruby/spec/testdata/README
374
- - src/ruby/spec/testdata/client.pem
375
- - src/ruby/spec/channel_spec.rb
376
- - src/ruby/spec/generic/rpc_server_pool_spec.rb
377
- - src/ruby/spec/generic/client_interceptors_spec.rb
378
- - src/ruby/spec/generic/service_spec.rb
379
373
  - src/ruby/spec/generic/active_call_spec.rb
380
- - src/ruby/spec/generic/interceptor_registry_spec.rb
374
+ - src/ruby/spec/generic/client_interceptors_spec.rb
381
375
  - src/ruby/spec/generic/client_stub_spec.rb
376
+ - src/ruby/spec/generic/interceptor_registry_spec.rb
377
+ - src/ruby/spec/generic/rpc_desc_spec.rb
378
+ - src/ruby/spec/generic/rpc_server_pool_spec.rb
382
379
  - src/ruby/spec/generic/rpc_server_spec.rb
383
380
  - src/ruby/spec/generic/server_interceptors_spec.rb
384
- - src/ruby/spec/generic/rpc_desc_spec.rb
385
- - src/ruby/spec/channel_credentials_spec.rb
386
- - src/ruby/spec/server_spec.rb
387
- - src/ruby/spec/time_consts_spec.rb
388
- - src/ruby/spec/call_credentials_spec.rb
389
- - src/ruby/spec/support/services.rb
390
- - src/ruby/spec/support/helpers.rb
391
- - src/ruby/spec/spec_helper.rb
392
- - src/ruby/spec/server_credentials_spec.rb
393
- - src/ruby/spec/call_spec.rb
394
- - src/ruby/spec/client_auth_spec.rb
395
- - src/ruby/spec/pb/codegen/package_option_spec.rb
396
- - src/ruby/spec/pb/codegen/grpc/testing/same_package_service_name.proto
381
+ - src/ruby/spec/generic/service_spec.rb
382
+ - src/ruby/spec/google_rpc_status_utils_spec.rb
383
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
397
384
  - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
398
- - src/ruby/spec/pb/codegen/grpc/testing/same_ruby_package_service_name.proto
399
- - src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
400
385
  - src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto
401
- - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
386
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
387
+ - src/ruby/spec/pb/codegen/grpc/testing/same_package_service_name.proto
388
+ - src/ruby/spec/pb/codegen/grpc/testing/same_ruby_package_service_name.proto
389
+ - src/ruby/spec/pb/codegen/package_option_spec.rb
402
390
  - src/ruby/spec/pb/duplicate/codegen_spec.rb
403
391
  - src/ruby/spec/pb/health/checker_spec.rb
392
+ - src/ruby/spec/server_credentials_spec.rb
393
+ - src/ruby/spec/server_spec.rb
394
+ - src/ruby/spec/spec_helper.rb
395
+ - src/ruby/spec/support/helpers.rb
396
+ - src/ruby/spec/support/services.rb
397
+ - src/ruby/spec/testdata/README
398
+ - src/ruby/spec/testdata/ca.pem
399
+ - src/ruby/spec/testdata/client.key
400
+ - src/ruby/spec/testdata/client.pem
401
+ - src/ruby/spec/testdata/server1.key
402
+ - src/ruby/spec/testdata/server1.pem
403
+ - src/ruby/spec/time_consts_spec.rb
404
+ - src/ruby/spec/user_agent_spec.rb
405
+ - src/ruby/pb/test/client.rb
406
+ - src/ruby/pb/test/server.rb
407
+ - src/ruby/pb/test/xds_client.rb