grpc 1.41.1-x86_64-linux → 1.44.0.pre2-x86_64-linux

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: f8f7b0f92867f75ca9d0c3bd015691c40f81084ac5c31c7f935fd782e6a5eb4b
4
- data.tar.gz: 1828b6e2dce20a72f6bfa31eb65e60fc9c556464418c98ed28d88e7ecf9aa88a
3
+ metadata.gz: dfa8098f40fdb8ffda3f2bb9bf65f833966a8ff477d0cf8e69ca5e9147f690f5
4
+ data.tar.gz: 9351154a60e01949c161e736294da36f5341220148d092bd6ea6f2581807b4a1
5
5
  SHA512:
6
- metadata.gz: 7df923fb7060b81826dfd3abce88dfabef056d218bb18ecaa477f6c89c0167a7fcb800c0b623dc01dc41564dd70f7a2922b29719089f11d50f09045ec139f89d
7
- data.tar.gz: f83d042d6365515ab88c496381ebd55775b8888521fd353b4bdc817d5f0a43d8636a46a4aa085abaab16c5eedbd2e00e8fbbe60233227ee17f7e7471ac0ab846
6
+ metadata.gz: 4979ef694dc40f1f1f5511305e55a357276482802e541a68aee3051418c08d63bed726c701ceb17a4713202b232741f1d868fba2154f1ac3cf4d5f6e520590cb
7
+ data.tar.gz: 35d6094496b045041a7a557050b45bdda4af239b8f16e623cdfa8882e1a4a09da2cc0552cec70342b95b5da9819d570ef00fff1d5cff093d9955a5db7411cd74
@@ -17,6 +17,9 @@ require 'mkmf'
17
17
 
18
18
  windows = RUBY_PLATFORM =~ /mingw|mswin/
19
19
  bsd = RUBY_PLATFORM =~ /bsd/
20
+ darwin = RUBY_PLATFORM =~ /darwin/
21
+ linux = RUBY_PLATFORM =~ /linux/
22
+ cross_compiling = ENV['RCD_HOST_RUBY_VERSION'] # set by rake-compiler-dock in build containers
20
23
 
21
24
  grpc_root = File.expand_path(File.join(File.dirname(__FILE__), '../../../..'))
22
25
 
@@ -37,17 +40,17 @@ if ENV['LD'].nil? || ENV['LD'].size == 0
37
40
  ENV['LD'] = ENV['CC']
38
41
  end
39
42
 
40
- if RUBY_PLATFORM =~ /darwin/
43
+ if darwin && !cross_compiling
41
44
  ENV['AR'] = 'libtool'
42
45
  ENV['ARFLAGS'] = '-o'
43
- end
46
+ end
44
47
 
45
48
  ENV['EMBED_OPENSSL'] = 'true'
46
49
  ENV['EMBED_ZLIB'] = 'true'
47
50
  ENV['EMBED_CARES'] = 'true'
48
51
 
49
52
  ENV['ARCH_FLAGS'] = RbConfig::CONFIG['ARCH_FLAG']
50
- if RUBY_PLATFORM =~ /darwin/
53
+ if darwin && !cross_compiling
51
54
  if RUBY_PLATFORM =~ /arm64/
52
55
  ENV['ARCH_FLAGS'] = '-arch arm64'
53
56
  else
@@ -57,7 +60,7 @@ end
57
60
 
58
61
  ENV['CPPFLAGS'] = '-DGPR_BACKWARDS_COMPATIBILITY_MODE'
59
62
  ENV['CPPFLAGS'] += ' -DGRPC_XDS_USER_AGENT_NAME_SUFFIX="\"RUBY\"" '
60
- ENV['CPPFLAGS'] += ' -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX="\"1.41.1\"" '
63
+ ENV['CPPFLAGS'] += ' -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX="\"1.44.0.pre2\"" '
61
64
 
62
65
  output_dir = File.expand_path(RbConfig::CONFIG['topdir'])
63
66
  grpc_lib_dir = File.join(output_dir, 'libs', grpc_config)
@@ -66,17 +69,24 @@ ENV['BUILDDIR'] = output_dir
66
69
  unless windows
67
70
  puts 'Building internal gRPC into ' + grpc_lib_dir
68
71
  nproc = 4
69
- 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
70
78
  make = bsd ? 'gmake' : 'make'
71
- 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)
72
82
  exit 1 unless $? == 0
73
83
  end
74
84
 
75
85
  $CFLAGS << ' -I' + File.join(grpc_root, 'include')
76
86
 
77
87
  ext_export_file = File.join(grpc_root, 'src', 'ruby', 'ext', 'grpc', 'ext-export')
78
- $LDFLAGS << ' -Wl,--version-script="' + ext_export_file + '.gcc"' if RUBY_PLATFORM =~ /linux/
79
- $LDFLAGS << ' -Wl,-exported_symbols_list,"' + ext_export_file + '.clang"' if RUBY_PLATFORM =~ /darwin/
88
+ $LDFLAGS << ' -Wl,--version-script="' + ext_export_file + '.gcc"' if linux
89
+ $LDFLAGS << ' -Wl,-exported_symbols_list,"' + ext_export_file + '.clang"' if darwin
80
90
 
81
91
  $LDFLAGS << ' ' + File.join(grpc_lib_dir, 'libgrpc.a') unless windows
82
92
  if grpc_config == 'gcov'
@@ -88,8 +98,8 @@ if grpc_config == 'dbg'
88
98
  $CFLAGS << ' -O0 -ggdb3'
89
99
  end
90
100
 
91
- $LDFLAGS << ' -Wl,-wrap,memcpy' if RUBY_PLATFORM =~ /linux/
92
- $LDFLAGS << ' -static-libgcc -static-libstdc++' if RUBY_PLATFORM =~ /linux/
101
+ $LDFLAGS << ' -Wl,-wrap,memcpy' if linux
102
+ $LDFLAGS << ' -static-libgcc -static-libstdc++' if linux
93
103
  $LDFLAGS << ' -static' if windows
94
104
 
95
105
  $CFLAGS << ' -std=c99 '
@@ -102,7 +112,7 @@ puts 'Generating Makefile for ' + output
102
112
  create_makefile(output)
103
113
 
104
114
  strip_tool = RbConfig::CONFIG['STRIP']
105
- strip_tool = 'strip -x' if RUBY_PLATFORM =~ /darwin/
115
+ strip_tool += ' -x' if darwin
106
116
 
107
117
  if grpc_config == 'opt'
108
118
  File.open('Makefile.new', 'w') do |o|
@@ -73,6 +73,7 @@ grpc_lame_client_channel_create_type grpc_lame_client_channel_create_import;
73
73
  grpc_channel_destroy_type grpc_channel_destroy_import;
74
74
  grpc_call_cancel_type grpc_call_cancel_import;
75
75
  grpc_call_cancel_with_status_type grpc_call_cancel_with_status_import;
76
+ grpc_call_failed_before_recv_message_type grpc_call_failed_before_recv_message_import;
76
77
  grpc_call_ref_type grpc_call_ref_import;
77
78
  grpc_call_unref_type grpc_call_unref_import;
78
79
  grpc_server_request_call_type grpc_server_request_call_import;
@@ -171,19 +172,19 @@ grpc_tls_certificate_provider_static_data_create_type grpc_tls_certificate_provi
171
172
  grpc_tls_certificate_provider_file_watcher_create_type grpc_tls_certificate_provider_file_watcher_create_import;
172
173
  grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_release_import;
173
174
  grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import;
174
- grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
175
- grpc_tls_credentials_options_set_server_verification_option_type grpc_tls_credentials_options_set_server_verification_option_import;
176
175
  grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import;
177
176
  grpc_tls_credentials_options_watch_root_certs_type grpc_tls_credentials_options_watch_root_certs_import;
178
177
  grpc_tls_credentials_options_set_root_cert_name_type grpc_tls_credentials_options_set_root_cert_name_import;
179
178
  grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_credentials_options_watch_identity_key_cert_pairs_import;
180
179
  grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import;
181
- grpc_tls_credentials_options_set_server_authorization_check_config_type grpc_tls_credentials_options_set_server_authorization_check_config_import;
182
- grpc_tls_server_authorization_check_config_create_type grpc_tls_server_authorization_check_config_create_import;
183
- grpc_tls_server_authorization_check_config_release_type grpc_tls_server_authorization_check_config_release_import;
180
+ grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
181
+ grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
182
+ grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
183
+ grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
184
184
  grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
185
185
  grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import;
186
186
  grpc_authorization_policy_provider_static_data_create_type grpc_authorization_policy_provider_static_data_create_import;
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;
188
189
  grpc_raw_byte_buffer_create_type grpc_raw_byte_buffer_create_import;
189
190
  grpc_raw_compressed_byte_buffer_create_type grpc_raw_compressed_byte_buffer_create_import;
@@ -361,6 +362,7 @@ void grpc_rb_load_imports(HMODULE library) {
361
362
  grpc_channel_destroy_import = (grpc_channel_destroy_type) GetProcAddress(library, "grpc_channel_destroy");
362
363
  grpc_call_cancel_import = (grpc_call_cancel_type) GetProcAddress(library, "grpc_call_cancel");
363
364
  grpc_call_cancel_with_status_import = (grpc_call_cancel_with_status_type) GetProcAddress(library, "grpc_call_cancel_with_status");
365
+ grpc_call_failed_before_recv_message_import = (grpc_call_failed_before_recv_message_type) GetProcAddress(library, "grpc_call_failed_before_recv_message");
364
366
  grpc_call_ref_import = (grpc_call_ref_type) GetProcAddress(library, "grpc_call_ref");
365
367
  grpc_call_unref_import = (grpc_call_unref_type) GetProcAddress(library, "grpc_call_unref");
366
368
  grpc_server_request_call_import = (grpc_server_request_call_type) GetProcAddress(library, "grpc_server_request_call");
@@ -459,19 +461,19 @@ void grpc_rb_load_imports(HMODULE library) {
459
461
  grpc_tls_certificate_provider_file_watcher_create_import = (grpc_tls_certificate_provider_file_watcher_create_type) GetProcAddress(library, "grpc_tls_certificate_provider_file_watcher_create");
460
462
  grpc_tls_certificate_provider_release_import = (grpc_tls_certificate_provider_release_type) GetProcAddress(library, "grpc_tls_certificate_provider_release");
461
463
  grpc_tls_credentials_options_create_import = (grpc_tls_credentials_options_create_type) GetProcAddress(library, "grpc_tls_credentials_options_create");
462
- 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");
463
- grpc_tls_credentials_options_set_server_verification_option_import = (grpc_tls_credentials_options_set_server_verification_option_type) GetProcAddress(library, "grpc_tls_credentials_options_set_server_verification_option");
464
464
  grpc_tls_credentials_options_set_certificate_provider_import = (grpc_tls_credentials_options_set_certificate_provider_type) GetProcAddress(library, "grpc_tls_credentials_options_set_certificate_provider");
465
465
  grpc_tls_credentials_options_watch_root_certs_import = (grpc_tls_credentials_options_watch_root_certs_type) GetProcAddress(library, "grpc_tls_credentials_options_watch_root_certs");
466
466
  grpc_tls_credentials_options_set_root_cert_name_import = (grpc_tls_credentials_options_set_root_cert_name_type) GetProcAddress(library, "grpc_tls_credentials_options_set_root_cert_name");
467
467
  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");
468
468
  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");
469
- grpc_tls_credentials_options_set_server_authorization_check_config_import = (grpc_tls_credentials_options_set_server_authorization_check_config_type) GetProcAddress(library, "grpc_tls_credentials_options_set_server_authorization_check_config");
470
- grpc_tls_server_authorization_check_config_create_import = (grpc_tls_server_authorization_check_config_create_type) GetProcAddress(library, "grpc_tls_server_authorization_check_config_create");
471
- grpc_tls_server_authorization_check_config_release_import = (grpc_tls_server_authorization_check_config_release_type) GetProcAddress(library, "grpc_tls_server_authorization_check_config_release");
469
+ 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");
470
+ 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");
471
+ 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");
472
+ 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");
472
473
  grpc_xds_credentials_create_import = (grpc_xds_credentials_create_type) GetProcAddress(library, "grpc_xds_credentials_create");
473
474
  grpc_xds_server_credentials_create_import = (grpc_xds_server_credentials_create_type) GetProcAddress(library, "grpc_xds_server_credentials_create");
474
475
  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");
476
+ 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
477
  grpc_authorization_policy_provider_release_import = (grpc_authorization_policy_provider_release_type) GetProcAddress(library, "grpc_authorization_policy_provider_release");
476
478
  grpc_raw_byte_buffer_create_import = (grpc_raw_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_byte_buffer_create");
477
479
  grpc_raw_compressed_byte_buffer_create_import = (grpc_raw_compressed_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_compressed_byte_buffer_create");
@@ -194,6 +194,9 @@ extern grpc_call_cancel_type grpc_call_cancel_import;
194
194
  typedef grpc_call_error(*grpc_call_cancel_with_status_type)(grpc_call* call, grpc_status_code status, const char* description, void* reserved);
195
195
  extern grpc_call_cancel_with_status_type grpc_call_cancel_with_status_import;
196
196
  #define grpc_call_cancel_with_status grpc_call_cancel_with_status_import
197
+ typedef int(*grpc_call_failed_before_recv_message_type)(const grpc_call* c);
198
+ extern grpc_call_failed_before_recv_message_type grpc_call_failed_before_recv_message_import;
199
+ #define grpc_call_failed_before_recv_message grpc_call_failed_before_recv_message_import
197
200
  typedef void(*grpc_call_ref_type)(grpc_call* call);
198
201
  extern grpc_call_ref_type grpc_call_ref_import;
199
202
  #define grpc_call_ref grpc_call_ref_import
@@ -488,12 +491,6 @@ extern grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_
488
491
  typedef grpc_tls_credentials_options*(*grpc_tls_credentials_options_create_type)(void);
489
492
  extern grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import;
490
493
  #define grpc_tls_credentials_options_create grpc_tls_credentials_options_create_import
491
- typedef void(*grpc_tls_credentials_options_set_cert_request_type_type)(grpc_tls_credentials_options* options, grpc_ssl_client_certificate_request_type type);
492
- extern grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
493
- #define grpc_tls_credentials_options_set_cert_request_type grpc_tls_credentials_options_set_cert_request_type_import
494
- typedef void(*grpc_tls_credentials_options_set_server_verification_option_type)(grpc_tls_credentials_options* options, grpc_tls_server_verification_option server_verification_option);
495
- extern grpc_tls_credentials_options_set_server_verification_option_type grpc_tls_credentials_options_set_server_verification_option_import;
496
- #define grpc_tls_credentials_options_set_server_verification_option grpc_tls_credentials_options_set_server_verification_option_import
497
494
  typedef void(*grpc_tls_credentials_options_set_certificate_provider_type)(grpc_tls_credentials_options* options, grpc_tls_certificate_provider* provider);
498
495
  extern grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import;
499
496
  #define grpc_tls_credentials_options_set_certificate_provider grpc_tls_credentials_options_set_certificate_provider_import
@@ -509,15 +506,18 @@ extern grpc_tls_credentials_options_watch_identity_key_cert_pairs_type grpc_tls_
509
506
  typedef void(*grpc_tls_credentials_options_set_identity_cert_name_type)(grpc_tls_credentials_options* options, const char* identity_cert_name);
510
507
  extern grpc_tls_credentials_options_set_identity_cert_name_type grpc_tls_credentials_options_set_identity_cert_name_import;
511
508
  #define grpc_tls_credentials_options_set_identity_cert_name grpc_tls_credentials_options_set_identity_cert_name_import
512
- typedef void(*grpc_tls_credentials_options_set_server_authorization_check_config_type)(grpc_tls_credentials_options* options, grpc_tls_server_authorization_check_config* config);
513
- extern grpc_tls_credentials_options_set_server_authorization_check_config_type grpc_tls_credentials_options_set_server_authorization_check_config_import;
514
- #define grpc_tls_credentials_options_set_server_authorization_check_config grpc_tls_credentials_options_set_server_authorization_check_config_import
515
- typedef grpc_tls_server_authorization_check_config*(*grpc_tls_server_authorization_check_config_create_type)(const void* config_user_data, int (*schedule)(void* config_user_data, grpc_tls_server_authorization_check_arg* arg), void (*cancel)(void* config_user_data, grpc_tls_server_authorization_check_arg* arg), void (*destruct)(void* config_user_data));
516
- extern grpc_tls_server_authorization_check_config_create_type grpc_tls_server_authorization_check_config_create_import;
517
- #define grpc_tls_server_authorization_check_config_create grpc_tls_server_authorization_check_config_create_import
518
- typedef void(*grpc_tls_server_authorization_check_config_release_type)(grpc_tls_server_authorization_check_config* config);
519
- extern grpc_tls_server_authorization_check_config_release_type grpc_tls_server_authorization_check_config_release_import;
520
- #define grpc_tls_server_authorization_check_config_release grpc_tls_server_authorization_check_config_release_import
509
+ typedef void(*grpc_tls_credentials_options_set_cert_request_type_type)(grpc_tls_credentials_options* options, grpc_ssl_client_certificate_request_type type);
510
+ extern grpc_tls_credentials_options_set_cert_request_type_type grpc_tls_credentials_options_set_cert_request_type_import;
511
+ #define grpc_tls_credentials_options_set_cert_request_type grpc_tls_credentials_options_set_cert_request_type_import
512
+ typedef void(*grpc_tls_credentials_options_set_crl_directory_type)(grpc_tls_credentials_options* options, const char* crl_directory);
513
+ extern grpc_tls_credentials_options_set_crl_directory_type grpc_tls_credentials_options_set_crl_directory_import;
514
+ #define grpc_tls_credentials_options_set_crl_directory grpc_tls_credentials_options_set_crl_directory_import
515
+ typedef void(*grpc_tls_credentials_options_set_verify_server_cert_type)(grpc_tls_credentials_options* options, int verify_server_cert);
516
+ extern grpc_tls_credentials_options_set_verify_server_cert_type grpc_tls_credentials_options_set_verify_server_cert_import;
517
+ #define grpc_tls_credentials_options_set_verify_server_cert grpc_tls_credentials_options_set_verify_server_cert_import
518
+ typedef void(*grpc_tls_credentials_options_set_check_call_host_type)(grpc_tls_credentials_options* options, int check_call_host);
519
+ extern grpc_tls_credentials_options_set_check_call_host_type grpc_tls_credentials_options_set_check_call_host_import;
520
+ #define grpc_tls_credentials_options_set_check_call_host grpc_tls_credentials_options_set_check_call_host_import
521
521
  typedef grpc_channel_credentials*(*grpc_xds_credentials_create_type)(grpc_channel_credentials* fallback_credentials);
522
522
  extern grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
523
523
  #define grpc_xds_credentials_create grpc_xds_credentials_create_import
@@ -527,6 +527,9 @@ extern grpc_xds_server_credentials_create_type grpc_xds_server_credentials_creat
527
527
  typedef grpc_authorization_policy_provider*(*grpc_authorization_policy_provider_static_data_create_type)(const char* authz_policy, grpc_status_code* code, const char** error_details);
528
528
  extern grpc_authorization_policy_provider_static_data_create_type grpc_authorization_policy_provider_static_data_create_import;
529
529
  #define grpc_authorization_policy_provider_static_data_create grpc_authorization_policy_provider_static_data_create_import
530
+ typedef grpc_authorization_policy_provider*(*grpc_authorization_policy_provider_file_watcher_create_type)(const char* authz_policy_path, unsigned int refresh_interval_sec, grpc_status_code* code, const char** error_details);
531
+ extern grpc_authorization_policy_provider_file_watcher_create_type grpc_authorization_policy_provider_file_watcher_create_import;
532
+ #define grpc_authorization_policy_provider_file_watcher_create grpc_authorization_policy_provider_file_watcher_create_import
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
Binary file
Binary file
Binary file
Binary file
@@ -14,5 +14,5 @@
14
14
 
15
15
  # GRPC contains the General RPC module.
16
16
  module GRPC
17
- VERSION = '1.41.1'
17
+ VERSION = '1.44.0.pre2'
18
18
  end
@@ -5,6 +5,7 @@ require 'google/protobuf'
5
5
 
6
6
  require 'src/proto/grpc/testing/empty_pb'
7
7
  require 'src/proto/grpc/testing/messages_pb'
8
+
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("src/proto/grpc/testing/test.proto", :syntax => :proto3) do
10
11
  end
@@ -311,7 +311,7 @@ shared_examples 'basic GRPC message delivery is OK' do
311
311
 
312
312
  it 'clients can cancel a call on the server' do
313
313
  expected_code = StatusCodes::CANCELLED
314
- expected_details = 'Cancelled'
314
+ expected_details = 'CANCELLED'
315
315
  cancel_proc = proc { |call| call.cancel }
316
316
  client_cancel_test(cancel_proc, expected_code, expected_details)
317
317
  end
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.41.1
4
+ version: 1.44.0.pre2
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - gRPC Authors
8
8
  autorequire:
9
9
  bindir: src/ruby/bin
10
10
  cert_chain: []
11
- date: 2021-10-19 00:00:00.000000000 Z
11
+ date: 2022-01-27 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.17'
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.17'
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,30 +112,30 @@ 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
- version: '1.1'
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
- version: '1.1'
124
+ version: 1.1.1
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rake-compiler-dock
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '1.0'
131
+ version: '1.1'
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.0'
138
+ version: '1.1'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rspec
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -250,7 +250,6 @@ files:
250
250
  - src/ruby/ext/grpc/rb_xds_server_credentials.c
251
251
  - src/ruby/ext/grpc/rb_xds_server_credentials.h
252
252
  - src/ruby/lib/grpc.rb
253
- - src/ruby/lib/grpc/2.4/grpc_c.so
254
253
  - src/ruby/lib/grpc/2.5/grpc_c.so
255
254
  - src/ruby/lib/grpc/2.6/grpc_c.so
256
255
  - src/ruby/lib/grpc/2.7/grpc_c.so
@@ -344,61 +343,61 @@ required_ruby_version: !ruby/object:Gem::Requirement
344
343
  requirements:
345
344
  - - ">="
346
345
  - !ruby/object:Gem::Version
347
- version: '2.4'
346
+ version: '2.5'
348
347
  - - "<"
349
348
  - !ruby/object:Gem::Version
350
349
  version: 3.1.dev
351
350
  required_rubygems_version: !ruby/object:Gem::Requirement
352
351
  requirements:
353
- - - ">="
352
+ - - ">"
354
353
  - !ruby/object:Gem::Version
355
- version: '0'
354
+ version: 1.3.1
356
355
  requirements: []
357
- rubygems_version: 3.2.29
356
+ rubygems_version: 3.3.6
358
357
  signing_key:
359
358
  specification_version: 4
360
359
  summary: GRPC system in Ruby
361
360
  test_files:
362
- - src/ruby/spec/client_server_spec.rb
363
- - src/ruby/spec/errors_spec.rb
364
361
  - src/ruby/spec/support/services.rb
365
362
  - src/ruby/spec/support/helpers.rb
366
- - src/ruby/spec/compression_options_spec.rb
367
- - src/ruby/spec/time_consts_spec.rb
368
- - src/ruby/spec/spec_helper.rb
369
- - src/ruby/spec/channel_connection_spec.rb
370
- - src/ruby/spec/debug_message_spec.rb
363
+ - src/ruby/spec/call_spec.rb
364
+ - src/ruby/spec/channel_credentials_spec.rb
371
365
  - src/ruby/spec/call_credentials_spec.rb
372
- - src/ruby/spec/generic/interceptor_registry_spec.rb
366
+ - src/ruby/spec/google_rpc_status_utils_spec.rb
367
+ - src/ruby/spec/client_auth_spec.rb
368
+ - src/ruby/spec/debug_message_spec.rb
369
+ - src/ruby/spec/time_consts_spec.rb
370
+ - src/ruby/spec/channel_spec.rb
373
371
  - src/ruby/spec/generic/rpc_desc_spec.rb
374
- - src/ruby/spec/generic/service_spec.rb
372
+ - src/ruby/spec/generic/rpc_server_spec.rb
373
+ - src/ruby/spec/generic/active_call_spec.rb
374
+ - src/ruby/spec/generic/rpc_server_pool_spec.rb
375
375
  - src/ruby/spec/generic/server_interceptors_spec.rb
376
+ - src/ruby/spec/generic/interceptor_registry_spec.rb
376
377
  - src/ruby/spec/generic/client_stub_spec.rb
377
- - src/ruby/spec/generic/rpc_server_pool_spec.rb
378
- - src/ruby/spec/generic/active_call_spec.rb
379
- - src/ruby/spec/generic/rpc_server_spec.rb
378
+ - src/ruby/spec/generic/service_spec.rb
380
379
  - src/ruby/spec/generic/client_interceptors_spec.rb
381
- - src/ruby/spec/google_rpc_status_utils_spec.rb
382
- - src/ruby/spec/pb/duplicate/codegen_spec.rb
383
- - src/ruby/spec/pb/codegen/package_option_spec.rb
384
- - src/ruby/spec/pb/codegen/grpc/testing/same_ruby_package_service_name.proto
385
- - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
386
- - src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto
387
- - src/ruby/spec/pb/codegen/grpc/testing/same_package_service_name.proto
388
- - src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
389
- - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
390
- - src/ruby/spec/pb/health/checker_spec.rb
391
- - src/ruby/spec/channel_spec.rb
392
- - src/ruby/spec/user_agent_spec.rb
393
- - src/ruby/spec/server_credentials_spec.rb
380
+ - src/ruby/spec/spec_helper.rb
394
381
  - src/ruby/spec/error_sanity_spec.rb
395
- - src/ruby/spec/channel_credentials_spec.rb
396
- - src/ruby/spec/client_auth_spec.rb
382
+ - src/ruby/spec/channel_connection_spec.rb
383
+ - src/ruby/spec/client_server_spec.rb
384
+ - src/ruby/spec/compression_options_spec.rb
397
385
  - src/ruby/spec/server_spec.rb
398
- - src/ruby/spec/call_spec.rb
399
- - src/ruby/spec/testdata/README
400
- - src/ruby/spec/testdata/server1.pem
401
- - src/ruby/spec/testdata/server1.key
386
+ - src/ruby/spec/errors_spec.rb
402
387
  - src/ruby/spec/testdata/client.pem
403
388
  - src/ruby/spec/testdata/ca.pem
404
389
  - src/ruby/spec/testdata/client.key
390
+ - src/ruby/spec/testdata/README
391
+ - src/ruby/spec/testdata/server1.pem
392
+ - src/ruby/spec/testdata/server1.key
393
+ - src/ruby/spec/user_agent_spec.rb
394
+ - src/ruby/spec/pb/health/checker_spec.rb
395
+ - src/ruby/spec/pb/codegen/package_option_spec.rb
396
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
397
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
398
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
399
+ - src/ruby/spec/pb/codegen/grpc/testing/same_package_service_name.proto
400
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto
401
+ - src/ruby/spec/pb/codegen/grpc/testing/same_ruby_package_service_name.proto
402
+ - src/ruby/spec/pb/duplicate/codegen_spec.rb
403
+ - src/ruby/spec/server_credentials_spec.rb
Binary file