grpc 1.45.0-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: 2a1da9f66af6cba84f9ae845d82f30c7b3568d370650603a1a3286d78d54f8d6
4
- data.tar.gz: ef06cd82b523aee3b58618c1c81467151e4203af252900bc592b0f118084caa3
3
+ metadata.gz: 44a9b0b8a0ffc92f2562ba7a4b1f5f42d6a5bb4b3b54b6facd4da990881cab31
4
+ data.tar.gz: d5c765e74a997a86583dd258388d524ea61de6a6ac44a1d9ca8da25e8d7a9af5
5
5
  SHA512:
6
- metadata.gz: 588c2642abb7dd1cca3473232e08bfe9355cd3e006a54a304a421a785a864e675cad3b21dcfa81e85856611db026347c9eddcff7ccdfce91c418692b9bce90c8
7
- data.tar.gz: 749a63a9655609d0c4e79d131fce43a0c276d8f3bfd9a95413e8a4159c21ea03b1d49d4e0b1c17a50e12f197b487e047ed55aca193b88fe0b46853a633357a78
6
+ metadata.gz: e55c4a38e710dcd7df6dfa341f8465cffbd6236184ac4db801916fbfaf630ee0a101d23e667dd790dada3f7c37a865d7066da74f3fa8c10eb31f07957db2c73b
7
+ data.tar.gz: 563ebee7f6433e4a4db23555d337198a350b136edd91f313640784acf1811a02be64c3d5ce4cc5c50f65a6e13b1440230c9c7da936dabad3bb84cf791fb3ea44
data/grpc_c.32.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.45.0\"" '
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)
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.45.0'
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 \
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.45.0
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-03-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
@@ -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.9
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
364
+ - src/ruby/spec/channel_connection_spec.rb
365
+ - src/ruby/spec/channel_credentials_spec.rb
361
366
  - src/ruby/spec/channel_spec.rb
362
- - src/ruby/spec/time_consts_spec.rb
367
+ - src/ruby/spec/client_auth_spec.rb
368
+ - src/ruby/spec/client_server_spec.rb
369
+ - src/ruby/spec/compression_options_spec.rb
363
370
  - src/ruby/spec/debug_message_spec.rb
364
- - src/ruby/spec/generic/service_spec.rb
365
- - src/ruby/spec/generic/interceptor_registry_spec.rb
371
+ - src/ruby/spec/error_sanity_spec.rb
372
+ - src/ruby/spec/errors_spec.rb
366
373
  - src/ruby/spec/generic/active_call_spec.rb
367
374
  - src/ruby/spec/generic/client_interceptors_spec.rb
375
+ - src/ruby/spec/generic/client_stub_spec.rb
376
+ - src/ruby/spec/generic/interceptor_registry_spec.rb
368
377
  - src/ruby/spec/generic/rpc_desc_spec.rb
369
- - src/ruby/spec/generic/server_interceptors_spec.rb
370
378
  - src/ruby/spec/generic/rpc_server_pool_spec.rb
371
- - src/ruby/spec/generic/client_stub_spec.rb
372
379
  - src/ruby/spec/generic/rpc_server_spec.rb
373
- - src/ruby/spec/server_spec.rb
374
- - src/ruby/spec/spec_helper.rb
375
- - src/ruby/spec/client_server_spec.rb
376
- - src/ruby/spec/error_sanity_spec.rb
377
- - src/ruby/spec/testdata/ca.pem
378
- - src/ruby/spec/testdata/server1.key
379
- - src/ruby/spec/testdata/client.pem
380
- - src/ruby/spec/testdata/README
381
- - src/ruby/spec/testdata/server1.pem
382
- - src/ruby/spec/testdata/client.key
383
- - src/ruby/spec/channel_credentials_spec.rb
380
+ - src/ruby/spec/generic/server_interceptors_spec.rb
381
+ - src/ruby/spec/generic/service_spec.rb
384
382
  - src/ruby/spec/google_rpc_status_utils_spec.rb
385
- - src/ruby/spec/compression_options_spec.rb
386
- - src/ruby/spec/errors_spec.rb
387
- - src/ruby/spec/call_credentials_spec.rb
388
- - src/ruby/spec/pb/duplicate/codegen_spec.rb
389
- - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
390
383
  - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
384
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
391
385
  - src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto
392
- - src/ruby/spec/pb/codegen/grpc/testing/same_package_service_name.proto
393
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
394
388
  - src/ruby/spec/pb/codegen/grpc/testing/same_ruby_package_service_name.proto
395
389
  - src/ruby/spec/pb/codegen/package_option_spec.rb
390
+ - src/ruby/spec/pb/duplicate/codegen_spec.rb
396
391
  - src/ruby/spec/pb/health/checker_spec.rb
397
- - src/ruby/spec/user_agent_spec.rb
398
- - src/ruby/spec/client_auth_spec.rb
392
+ - src/ruby/spec/server_credentials_spec.rb
393
+ - src/ruby/spec/server_spec.rb
394
+ - src/ruby/spec/spec_helper.rb
399
395
  - src/ruby/spec/support/helpers.rb
400
396
  - src/ruby/spec/support/services.rb
401
- - src/ruby/spec/channel_connection_spec.rb
402
- - src/ruby/spec/server_credentials_spec.rb
403
- - src/ruby/spec/call_spec.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