grpc 1.45.0-x86-linux → 1.47.0-x86-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: d7e46bbb306d61fe93d7263277d3409a22c6f88943e54db2abd0d0240d3ef551
4
- data.tar.gz: 786cd045e6068515160554231964ceaca5d74b6e01487754822ea3727baf4d76
3
+ metadata.gz: 8f00e8d92bd5a162892ffcd45f4f64ed87a4909a507fc370b578436a42b8bb23
4
+ data.tar.gz: 34d7a2de017432db648c709f9d17d774844ab7a2a2d13431c5e84b9808b831bc
5
5
  SHA512:
6
- metadata.gz: 45827e42b85c5fe789bc67d4c21ceb02ab7dc1dcdfd493e04974610884106de1a4d5b4815bdee655b0d1bbed43b330afff1382ab57b6cb95a927cdeca05a01c9
7
- data.tar.gz: b14778fbc6d526b533a2915ec78a0c60aa313287e6d9943797394af8cbf0acb76e9ccc119c904f6c8d31c35311ecfed11804a774dff46ab0e08738ac2ae22a36
6
+ metadata.gz: a5472b0022ac700527befe34dc88f0fb958bdee7ffd8ce6acb57bd6b85a4961b0349bdf968dd5a73f46665315677db60e5e53a218c52887195d2ca05a05a5abc
7
+ data.tar.gz: f7d7e0bd2a1733270e2bc483c35113f05b8d915d33533588f5138ed7865ad64968311b0081021c21b4e337dc93c796c31c7adab9019a143729ede44edd8551c8
File without changes
@@ -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.47.0\"" '
64
64
 
65
65
  output_dir = File.expand_path(RbConfig::CONFIG['topdir'])
66
66
  grpc_lib_dir = File.join(output_dir, 'libs', grpc_config)
@@ -102,7 +102,7 @@ $LDFLAGS << ' -Wl,-wrap,memcpy' if linux
102
102
  $LDFLAGS << ' -static-libgcc -static-libstdc++' if linux
103
103
  $LDFLAGS << ' -static' if windows
104
104
 
105
- $CFLAGS << ' -std=c99 '
105
+ $CFLAGS << ' -std=c11 '
106
106
  $CFLAGS << ' -Wall '
107
107
  $CFLAGS << ' -Wextra '
108
108
  $CFLAGS << ' -pedantic '
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.47.0'
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.47.0
5
5
  platform: x86-linux
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-06-21 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
@@ -206,6 +206,7 @@ extra_rdoc_files: []
206
206
  files:
207
207
  - etc/roots.pem
208
208
  - grpc_c.32.ruby
209
+ - grpc_c.64-ucrt.ruby
209
210
  - grpc_c.64.ruby
210
211
  - src/ruby/bin/math_client.rb
211
212
  - src/ruby/bin/math_pb.rb
@@ -254,6 +255,7 @@ files:
254
255
  - src/ruby/lib/grpc/2.6/grpc_c.so
255
256
  - src/ruby/lib/grpc/2.7/grpc_c.so
256
257
  - src/ruby/lib/grpc/3.0/grpc_c.so
258
+ - src/ruby/lib/grpc/3.1/grpc_c.so
257
259
  - src/ruby/lib/grpc/core/status_codes.rb
258
260
  - src/ruby/lib/grpc/core/time_consts.rb
259
261
  - src/ruby/lib/grpc/errors.rb
@@ -333,7 +335,7 @@ homepage: https://github.com/google/grpc/tree/master/src/ruby
333
335
  licenses:
334
336
  - Apache-2.0
335
337
  metadata: {}
336
- post_install_message:
338
+ post_install_message:
337
339
  rdoc_options: []
338
340
  require_paths:
339
341
  - src/ruby/lib
@@ -346,58 +348,61 @@ required_ruby_version: !ruby/object:Gem::Requirement
346
348
  version: '2.5'
347
349
  - - "<"
348
350
  - !ruby/object:Gem::Version
349
- version: 3.1.dev
351
+ version: 3.2.dev
350
352
  required_rubygems_version: !ruby/object:Gem::Requirement
351
353
  requirements:
352
354
  - - ">="
353
355
  - !ruby/object:Gem::Version
354
356
  version: '0'
355
357
  requirements: []
356
- rubygems_version: 3.3.9
357
- signing_key:
358
+ rubygems_version: 3.3.4
359
+ signing_key:
358
360
  specification_version: 4
359
361
  summary: GRPC system in Ruby
360
362
  test_files:
363
+ - src/ruby/spec/call_credentials_spec.rb
364
+ - src/ruby/spec/call_spec.rb
365
+ - src/ruby/spec/channel_connection_spec.rb
366
+ - src/ruby/spec/channel_credentials_spec.rb
361
367
  - src/ruby/spec/channel_spec.rb
362
- - src/ruby/spec/time_consts_spec.rb
368
+ - src/ruby/spec/client_auth_spec.rb
369
+ - src/ruby/spec/client_server_spec.rb
370
+ - src/ruby/spec/compression_options_spec.rb
363
371
  - src/ruby/spec/debug_message_spec.rb
364
- - src/ruby/spec/generic/service_spec.rb
365
- - src/ruby/spec/generic/interceptor_registry_spec.rb
372
+ - src/ruby/spec/error_sanity_spec.rb
373
+ - src/ruby/spec/errors_spec.rb
366
374
  - src/ruby/spec/generic/active_call_spec.rb
367
375
  - src/ruby/spec/generic/client_interceptors_spec.rb
376
+ - src/ruby/spec/generic/client_stub_spec.rb
377
+ - src/ruby/spec/generic/interceptor_registry_spec.rb
368
378
  - src/ruby/spec/generic/rpc_desc_spec.rb
369
- - src/ruby/spec/generic/server_interceptors_spec.rb
370
379
  - src/ruby/spec/generic/rpc_server_pool_spec.rb
371
- - src/ruby/spec/generic/client_stub_spec.rb
372
380
  - 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
381
+ - src/ruby/spec/generic/server_interceptors_spec.rb
382
+ - src/ruby/spec/generic/service_spec.rb
384
383
  - 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
384
  - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
385
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
391
386
  - 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
387
  - src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
388
+ - src/ruby/spec/pb/codegen/grpc/testing/same_package_service_name.proto
394
389
  - src/ruby/spec/pb/codegen/grpc/testing/same_ruby_package_service_name.proto
395
390
  - src/ruby/spec/pb/codegen/package_option_spec.rb
391
+ - src/ruby/spec/pb/duplicate/codegen_spec.rb
396
392
  - src/ruby/spec/pb/health/checker_spec.rb
397
- - src/ruby/spec/user_agent_spec.rb
398
- - src/ruby/spec/client_auth_spec.rb
393
+ - src/ruby/spec/server_credentials_spec.rb
394
+ - src/ruby/spec/server_spec.rb
395
+ - src/ruby/spec/spec_helper.rb
399
396
  - src/ruby/spec/support/helpers.rb
400
397
  - 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
398
+ - src/ruby/spec/testdata/README
399
+ - src/ruby/spec/testdata/ca.pem
400
+ - src/ruby/spec/testdata/client.key
401
+ - src/ruby/spec/testdata/client.pem
402
+ - src/ruby/spec/testdata/server1.key
403
+ - src/ruby/spec/testdata/server1.pem
404
+ - src/ruby/spec/time_consts_spec.rb
405
+ - src/ruby/spec/user_agent_spec.rb
406
+ - src/ruby/pb/test/client.rb
407
+ - src/ruby/pb/test/server.rb
408
+ - src/ruby/pb/test/xds_client.rb