grpc 1.45.0-x64-mingw32 → 1.46.2-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: da8012cc5b249cc33f1faf94460cdd8ffb37a356545f4e9e96072875768e2701
4
- data.tar.gz: 0236a289d65e1cd740c7d28e7b07a616679ec27d4d2ae683df74e0550627621e
3
+ metadata.gz: 0b963ed0057d97781ba5389ae6556c8ea33d28911cf9f9433c3987026c94b75d
4
+ data.tar.gz: ef2a7e9bcd71283455159395f280ed6e476399e1ef21f11665d4596682c63acc
5
5
  SHA512:
6
- metadata.gz: 5f256c6513adba9f09ec70c971c297f5e1d780d74bad6c11c6ae504bb0e97eefccb2d6586394aad292d762b5cef0944800ff578750c8dd76bedee338baee186f
7
- data.tar.gz: 745571d0459c5bf27008f24345d46b9927d33bff222b37af3e1923f7a3dae9877f687c6d4583149075fa7ecf7ac41f89c54262a6e5244ce01ef50176f4e04c51
6
+ metadata.gz: 4e164ed4540c52373a6ca6b5d7d88cd1ec986c8bff3021a2e6d8d58395ab453e562fead9c99990aa15a73e2a32d47a411634614b3f7a385f59210cf33000b04b
7
+ data.tar.gz: 596a0ef4a9fb40ffc636284e5f7fda0d7475d357d8b5275ddf062aef370a97f81a9d8df03c7fb7884fa0ad7e944327580c08c059c356ffc7e1be9a856fb06c31
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.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
@@ -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: x64-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
@@ -333,7 +333,7 @@ homepage: https://github.com/google/grpc/tree/master/src/ruby
333
333
  licenses:
334
334
  - Apache-2.0
335
335
  metadata: {}
336
- post_install_message:
336
+ post_install_message:
337
337
  rdoc_options: []
338
338
  require_paths:
339
339
  - src/ruby/lib
@@ -346,58 +346,61 @@ required_ruby_version: !ruby/object:Gem::Requirement
346
346
  version: '2.5'
347
347
  - - "<"
348
348
  - !ruby/object:Gem::Version
349
- version: 3.1.dev
349
+ version: 3.2.dev
350
350
  required_rubygems_version: !ruby/object:Gem::Requirement
351
351
  requirements:
352
352
  - - ">="
353
353
  - !ruby/object:Gem::Version
354
354
  version: '0'
355
355
  requirements: []
356
- rubygems_version: 3.3.9
357
- signing_key:
356
+ rubygems_version: 3.3.4
357
+ signing_key:
358
358
  specification_version: 4
359
359
  summary: GRPC system in Ruby
360
360
  test_files:
361
+ - src/ruby/spec/call_credentials_spec.rb
362
+ - src/ruby/spec/call_spec.rb
363
+ - src/ruby/spec/channel_connection_spec.rb
364
+ - src/ruby/spec/channel_credentials_spec.rb
361
365
  - src/ruby/spec/channel_spec.rb
362
- - src/ruby/spec/time_consts_spec.rb
366
+ - src/ruby/spec/client_auth_spec.rb
367
+ - src/ruby/spec/client_server_spec.rb
368
+ - src/ruby/spec/compression_options_spec.rb
363
369
  - src/ruby/spec/debug_message_spec.rb
364
- - src/ruby/spec/generic/service_spec.rb
365
- - src/ruby/spec/generic/interceptor_registry_spec.rb
370
+ - src/ruby/spec/error_sanity_spec.rb
371
+ - src/ruby/spec/errors_spec.rb
366
372
  - src/ruby/spec/generic/active_call_spec.rb
367
373
  - src/ruby/spec/generic/client_interceptors_spec.rb
374
+ - src/ruby/spec/generic/client_stub_spec.rb
375
+ - src/ruby/spec/generic/interceptor_registry_spec.rb
368
376
  - src/ruby/spec/generic/rpc_desc_spec.rb
369
- - src/ruby/spec/generic/server_interceptors_spec.rb
370
377
  - src/ruby/spec/generic/rpc_server_pool_spec.rb
371
- - src/ruby/spec/generic/client_stub_spec.rb
372
378
  - 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
379
+ - src/ruby/spec/generic/server_interceptors_spec.rb
380
+ - src/ruby/spec/generic/service_spec.rb
384
381
  - 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
382
  - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
383
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
391
384
  - 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
385
  - src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
386
+ - src/ruby/spec/pb/codegen/grpc/testing/same_package_service_name.proto
394
387
  - src/ruby/spec/pb/codegen/grpc/testing/same_ruby_package_service_name.proto
395
388
  - src/ruby/spec/pb/codegen/package_option_spec.rb
389
+ - src/ruby/spec/pb/duplicate/codegen_spec.rb
396
390
  - src/ruby/spec/pb/health/checker_spec.rb
397
- - src/ruby/spec/user_agent_spec.rb
398
- - src/ruby/spec/client_auth_spec.rb
391
+ - src/ruby/spec/server_credentials_spec.rb
392
+ - src/ruby/spec/server_spec.rb
393
+ - src/ruby/spec/spec_helper.rb
399
394
  - src/ruby/spec/support/helpers.rb
400
395
  - 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
396
+ - src/ruby/spec/testdata/README
397
+ - src/ruby/spec/testdata/ca.pem
398
+ - src/ruby/spec/testdata/client.key
399
+ - src/ruby/spec/testdata/client.pem
400
+ - src/ruby/spec/testdata/server1.key
401
+ - src/ruby/spec/testdata/server1.pem
402
+ - src/ruby/spec/time_consts_spec.rb
403
+ - src/ruby/spec/user_agent_spec.rb
404
+ - src/ruby/pb/test/client.rb
405
+ - src/ruby/pb/test/server.rb
406
+ - src/ruby/pb/test/xds_client.rb