grpc 1.45.0-x86-mingw32 → 1.46.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of grpc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/grpc_c.32.ruby +0 -0
- data/src/ruby/ext/grpc/extconf.rb +1 -1
- data/src/ruby/lib/grpc/2.5/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.6/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.7/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/3.0/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/3.1/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/generic/active_call.rb +7 -1
- data/src/ruby/lib/grpc/grpc.rb +1 -1
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/generate_proto_ruby.sh +1 -0
- metadata +40 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44a9b0b8a0ffc92f2562ba7a4b1f5f42d6a5bb4b3b54b6facd4da990881cab31
|
4
|
+
data.tar.gz: d5c765e74a997a86583dd258388d524ea61de6a6ac44a1d9ca8da25e8d7a9af5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
-
|
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
|
data/src/ruby/lib/grpc/grpc.rb
CHANGED
@@ -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
|
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'
|
@@ -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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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/
|
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/
|
365
|
-
- src/ruby/spec/
|
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/
|
374
|
-
- src/ruby/spec/
|
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/
|
398
|
-
- src/ruby/spec/
|
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/
|
402
|
-
- src/ruby/spec/
|
403
|
-
- src/ruby/spec/
|
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
|