grpc 1.41.1-x64-mingw32 → 1.42.0.pre1-x64-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: d6e57600ca300a483860e5d4a13ff1a57fe0fb3d01002152ec29719b67701ef2
4
- data.tar.gz: c21e81ace25cf8cfea8ccfa8ef239aaace01630b9e5f86cc593e9519c778ef36
3
+ metadata.gz: a0f11c4845d65b8f48a422346582db2a5d3b7f909f4f49bdeffa8deb521e521b
4
+ data.tar.gz: e0dd38a6222c9114c4286398bc7d80b85a8b6c4f1e5353f2170a76d9df8cdbd1
5
5
  SHA512:
6
- metadata.gz: e9ea7894907400a2a13e5c9dfc08f514ccc5733e300f0b2eeb65c2e47937459809eb65bbab3fd6b39d2c35ff4e94567ebd169e4c3e55234324e94eb299ffb8d4
7
- data.tar.gz: 5043377fcf8b645b7ff42a83166ecbf501535a95faf23e6826d9c33b68964b99f9df2712ed7f446320ee942f93b1264335a30fd28fa9a94ca952b3a7aa4aff56
6
+ metadata.gz: 8c34c0fec08ce33e35fb0656aae3bbce3e1b06cc82afaf5d56d718e3e671aae16c25f7fc483c73f44356d3368df5be2c885624ed4a070e7682130626d440152f
7
+ data.tar.gz: 6224131220315cbc401f436387041a7008125a4a5230af4f476bd1eefd7c3696b47b8728b8575cd435cdcc5e0f657194c1c9ed5521b7969e8174bccef8fca897
data/grpc_c.32.ruby CHANGED
Binary file
data/grpc_c.64.ruby CHANGED
Binary file
@@ -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.42.0.pre1\"" '
61
64
 
62
65
  output_dir = File.expand_path(RbConfig::CONFIG['topdir'])
63
66
  grpc_lib_dir = File.join(output_dir, 'libs', grpc_config)
@@ -75,8 +78,8 @@ end
75
78
  $CFLAGS << ' -I' + File.join(grpc_root, 'include')
76
79
 
77
80
  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/
81
+ $LDFLAGS << ' -Wl,--version-script="' + ext_export_file + '.gcc"' if linux
82
+ $LDFLAGS << ' -Wl,-exported_symbols_list,"' + ext_export_file + '.clang"' if darwin
80
83
 
81
84
  $LDFLAGS << ' ' + File.join(grpc_lib_dir, 'libgrpc.a') unless windows
82
85
  if grpc_config == 'gcov'
@@ -88,8 +91,8 @@ if grpc_config == 'dbg'
88
91
  $CFLAGS << ' -O0 -ggdb3'
89
92
  end
90
93
 
91
- $LDFLAGS << ' -Wl,-wrap,memcpy' if RUBY_PLATFORM =~ /linux/
92
- $LDFLAGS << ' -static-libgcc -static-libstdc++' if RUBY_PLATFORM =~ /linux/
94
+ $LDFLAGS << ' -Wl,-wrap,memcpy' if linux
95
+ $LDFLAGS << ' -static-libgcc -static-libstdc++' if linux
93
96
  $LDFLAGS << ' -static' if windows
94
97
 
95
98
  $CFLAGS << ' -std=c99 '
@@ -102,7 +105,7 @@ puts 'Generating Makefile for ' + output
102
105
  create_makefile(output)
103
106
 
104
107
  strip_tool = RbConfig::CONFIG['STRIP']
105
- strip_tool = 'strip -x' if RUBY_PLATFORM =~ /darwin/
108
+ strip_tool += ' -x' if darwin
106
109
 
107
110
  if grpc_config == 'opt'
108
111
  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;
@@ -184,6 +185,7 @@ grpc_tls_server_authorization_check_config_release_type grpc_tls_server_authoriz
184
185
  grpc_xds_credentials_create_type grpc_xds_credentials_create_import;
185
186
  grpc_xds_server_credentials_create_type grpc_xds_server_credentials_create_import;
186
187
  grpc_authorization_policy_provider_static_data_create_type grpc_authorization_policy_provider_static_data_create_import;
188
+ grpc_authorization_policy_provider_file_watcher_create_type grpc_authorization_policy_provider_file_watcher_create_import;
187
189
  grpc_authorization_policy_provider_release_type grpc_authorization_policy_provider_release_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;
@@ -361,6 +363,7 @@ void grpc_rb_load_imports(HMODULE library) {
361
363
  grpc_channel_destroy_import = (grpc_channel_destroy_type) GetProcAddress(library, "grpc_channel_destroy");
362
364
  grpc_call_cancel_import = (grpc_call_cancel_type) GetProcAddress(library, "grpc_call_cancel");
363
365
  grpc_call_cancel_with_status_import = (grpc_call_cancel_with_status_type) GetProcAddress(library, "grpc_call_cancel_with_status");
366
+ grpc_call_failed_before_recv_message_import = (grpc_call_failed_before_recv_message_type) GetProcAddress(library, "grpc_call_failed_before_recv_message");
364
367
  grpc_call_ref_import = (grpc_call_ref_type) GetProcAddress(library, "grpc_call_ref");
365
368
  grpc_call_unref_import = (grpc_call_unref_type) GetProcAddress(library, "grpc_call_unref");
366
369
  grpc_server_request_call_import = (grpc_server_request_call_type) GetProcAddress(library, "grpc_server_request_call");
@@ -472,6 +475,7 @@ void grpc_rb_load_imports(HMODULE library) {
472
475
  grpc_xds_credentials_create_import = (grpc_xds_credentials_create_type) GetProcAddress(library, "grpc_xds_credentials_create");
473
476
  grpc_xds_server_credentials_create_import = (grpc_xds_server_credentials_create_type) GetProcAddress(library, "grpc_xds_server_credentials_create");
474
477
  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");
478
+ 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
479
  grpc_authorization_policy_provider_release_import = (grpc_authorization_policy_provider_release_type) GetProcAddress(library, "grpc_authorization_policy_provider_release");
476
480
  grpc_raw_byte_buffer_create_import = (grpc_raw_byte_buffer_create_type) GetProcAddress(library, "grpc_raw_byte_buffer_create");
477
481
  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
@@ -527,6 +530,9 @@ extern grpc_xds_server_credentials_create_type grpc_xds_server_credentials_creat
527
530
  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
531
  extern grpc_authorization_policy_provider_static_data_create_type grpc_authorization_policy_provider_static_data_create_import;
529
532
  #define grpc_authorization_policy_provider_static_data_create grpc_authorization_policy_provider_static_data_create_import
533
+ 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);
534
+ extern grpc_authorization_policy_provider_file_watcher_create_type grpc_authorization_policy_provider_file_watcher_create_import;
535
+ #define grpc_authorization_policy_provider_file_watcher_create grpc_authorization_policy_provider_file_watcher_create_import
530
536
  typedef void(*grpc_authorization_policy_provider_release_type)(grpc_authorization_policy_provider* provider);
531
537
  extern grpc_authorization_policy_provider_release_type grpc_authorization_policy_provider_release_import;
532
538
  #define grpc_authorization_policy_provider_release grpc_authorization_policy_provider_release_import
Binary file
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.42.0.pre1'
18
18
  end
@@ -1,10 +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
-
6
4
  require 'src/proto/grpc/testing/empty_pb'
7
5
  require 'src/proto/grpc/testing/messages_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("src/proto/grpc/testing/test.proto", :syntax => :proto3) do
10
10
  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.42.0.pre1
5
5
  platform: x64-mingw32
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: 2021-11-05 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.18'
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.18'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: googleapis-common-protos-types
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
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
@@ -350,55 +350,55 @@ required_ruby_version: !ruby/object:Gem::Requirement
350
350
  version: 3.1.dev
351
351
  required_rubygems_version: !ruby/object:Gem::Requirement
352
352
  requirements:
353
- - - ">="
353
+ - - ">"
354
354
  - !ruby/object:Gem::Version
355
- version: '0'
355
+ version: 1.3.1
356
356
  requirements: []
357
- rubygems_version: 3.2.29
357
+ rubygems_version: 3.2.30
358
358
  signing_key:
359
359
  specification_version: 4
360
360
  summary: GRPC system in Ruby
361
361
  test_files:
362
- - src/ruby/spec/client_server_spec.rb
363
- - src/ruby/spec/errors_spec.rb
364
- - src/ruby/spec/support/services.rb
365
- - 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
371
362
  - src/ruby/spec/call_credentials_spec.rb
372
- - src/ruby/spec/generic/interceptor_registry_spec.rb
373
- - src/ruby/spec/generic/rpc_desc_spec.rb
374
- - src/ruby/spec/generic/service_spec.rb
375
- - src/ruby/spec/generic/server_interceptors_spec.rb
376
- - src/ruby/spec/generic/client_stub_spec.rb
377
- - src/ruby/spec/generic/rpc_server_pool_spec.rb
378
363
  - src/ruby/spec/generic/active_call_spec.rb
379
- - src/ruby/spec/generic/rpc_server_spec.rb
380
364
  - 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
365
+ - src/ruby/spec/generic/rpc_server_pool_spec.rb
366
+ - src/ruby/spec/generic/rpc_server_spec.rb
367
+ - src/ruby/spec/generic/client_stub_spec.rb
368
+ - src/ruby/spec/generic/rpc_desc_spec.rb
369
+ - src/ruby/spec/generic/server_interceptors_spec.rb
370
+ - src/ruby/spec/generic/service_spec.rb
371
+ - src/ruby/spec/generic/interceptor_registry_spec.rb
372
+ - src/ruby/spec/call_spec.rb
373
+ - src/ruby/spec/spec_helper.rb
374
+ - src/ruby/spec/testdata/ca.pem
375
+ - src/ruby/spec/testdata/client.key
376
+ - src/ruby/spec/testdata/server1.pem
377
+ - src/ruby/spec/testdata/client.pem
378
+ - src/ruby/spec/testdata/README
379
+ - src/ruby/spec/testdata/server1.key
380
+ - src/ruby/spec/debug_message_spec.rb
383
381
  - src/ruby/spec/pb/codegen/package_option_spec.rb
382
+ - src/ruby/spec/pb/codegen/grpc/testing/same_package_service_name.proto
384
383
  - 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
384
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
386
385
  - 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
386
  - src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
389
- - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
387
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
388
+ - src/ruby/spec/pb/duplicate/codegen_spec.rb
390
389
  - src/ruby/spec/pb/health/checker_spec.rb
390
+ - src/ruby/spec/time_consts_spec.rb
391
+ - src/ruby/spec/client_auth_spec.rb
391
392
  - src/ruby/spec/channel_spec.rb
393
+ - src/ruby/spec/errors_spec.rb
392
394
  - src/ruby/spec/user_agent_spec.rb
393
- - src/ruby/spec/server_credentials_spec.rb
395
+ - src/ruby/spec/google_rpc_status_utils_spec.rb
394
396
  - src/ruby/spec/error_sanity_spec.rb
395
- - src/ruby/spec/channel_credentials_spec.rb
396
- - src/ruby/spec/client_auth_spec.rb
397
+ - src/ruby/spec/client_server_spec.rb
398
+ - src/ruby/spec/compression_options_spec.rb
399
+ - src/ruby/spec/channel_connection_spec.rb
400
+ - src/ruby/spec/server_credentials_spec.rb
401
+ - src/ruby/spec/support/helpers.rb
402
+ - src/ruby/spec/support/services.rb
397
403
  - 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
402
- - src/ruby/spec/testdata/client.pem
403
- - src/ruby/spec/testdata/ca.pem
404
- - src/ruby/spec/testdata/client.key
404
+ - src/ruby/spec/channel_credentials_spec.rb