grpc 1.49.0.pre1-x64-mingw32 → 1.50.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 +4 -4
- data/grpc_c.64-msvcrt.ruby +0 -0
- data/src/ruby/ext/grpc/extconf.rb +1 -1
- 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/version.rb +1 -1
- data/src/ruby/spec/channel_spec.rb +5 -0
- data/src/ruby/spec/generic/server_interceptors_spec.rb +1 -1
- data/src/ruby/spec/user_agent_spec.rb +1 -1
- metadata +3 -4
- data/src/ruby/lib/grpc/2.5/grpc_c.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0615fe3bf9a188cacc9041f444b22ba6302e3a985af0b2ef99852e3545208392
|
4
|
+
data.tar.gz: 953e83a5ba886a3faa5c94122dce1d29f2d75a592a72b6e60cb9b789c6527a31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 559194dbb09c4172c11711a482bea8e7b0da58cd77f2b0311422c6415610cc07911d584ed879ba83476c6fb08460ffb3377cacab0972afdd929940ea195c0edd
|
7
|
+
data.tar.gz: 28c7aa3943b84db30f134e542995f07d3f4d4d3e94bc77ffd6ebbf78e2b842589eadfb0c9096c72c1acce3ab0b094834a5551684694f4195faf2883461d17214
|
data/grpc_c.64-msvcrt.ruby
CHANGED
Binary file
|
@@ -86,7 +86,6 @@ end
|
|
86
86
|
|
87
87
|
env_append 'CPPFLAGS', '-DGPR_BACKWARDS_COMPATIBILITY_MODE'
|
88
88
|
env_append 'CPPFLAGS', '-DGRPC_XDS_USER_AGENT_NAME_SUFFIX="\"RUBY\""'
|
89
|
-
env_append 'CPPFLAGS', '-DGRPC_RUBY_WINDOWS_UCRT' if windows_ucrt
|
90
89
|
|
91
90
|
require_relative '../../lib/grpc/version'
|
92
91
|
env_append 'CPPFLAGS', '-DGRPC_XDS_USER_AGENT_VERSION_SUFFIX="\"' + GRPC::VERSION + '\""'
|
@@ -111,6 +110,7 @@ unless windows
|
|
111
110
|
exit 1 unless $? == 0
|
112
111
|
end
|
113
112
|
|
113
|
+
$CFLAGS << ' -DGRPC_RUBY_WINDOWS_UCRT' if windows_ucrt
|
114
114
|
$CFLAGS << ' -I' + File.join(grpc_root, 'include')
|
115
115
|
|
116
116
|
ext_export_file = File.join(grpc_root, 'src', 'ruby', 'ext', 'grpc', 'ext-export')
|
Binary file
|
Binary file
|
Binary file
|
@@ -154,14 +154,19 @@ describe GRPC::Core::Channel do
|
|
154
154
|
end
|
155
155
|
|
156
156
|
it 'raises an error if called on a closed channel' do
|
157
|
+
STDERR.puts "#{Time.now}: begin: raises an error if called on a closed channel"
|
157
158
|
ch = GRPC::Core::Channel.new(fake_host, nil, :this_channel_is_insecure)
|
159
|
+
STDERR.puts "#{Time.now}: created channel"
|
158
160
|
ch.close
|
161
|
+
STDERR.puts "#{Time.now}: closed channel"
|
159
162
|
|
160
163
|
deadline = Time.now + 5
|
161
164
|
blk = proc do
|
162
165
|
ch.create_call(nil, nil, 'phony_method', nil, deadline)
|
166
|
+
STDERR.puts "#{Time.now}: created call"
|
163
167
|
end
|
164
168
|
expect(&blk).to raise_error(RuntimeError)
|
169
|
+
STDERR.puts "#{Time.now}: finished: raises an error if called on a closed channel"
|
165
170
|
end
|
166
171
|
|
167
172
|
it 'raises if grpc was initialized in another process' do
|
@@ -17,7 +17,7 @@ describe 'Server Interceptors' do
|
|
17
17
|
let(:interceptor) { TestServerInterceptor.new }
|
18
18
|
let(:request) { EchoMsg.new }
|
19
19
|
let(:trailing_metadata) { {} }
|
20
|
-
let(:service) { EchoService.new(trailing_metadata) }
|
20
|
+
let(:service) { EchoService.new(**trailing_metadata) }
|
21
21
|
let(:interceptors) { [] }
|
22
22
|
|
23
23
|
before(:each) do
|
@@ -49,7 +49,7 @@ describe 'user agent' do
|
|
49
49
|
it 'client sends expected user agent' do
|
50
50
|
stub = UserAgentEchoServiceStub.new("localhost:#{@port}",
|
51
51
|
:this_channel_is_insecure,
|
52
|
-
{})
|
52
|
+
channel_args: {})
|
53
53
|
response = stub.an_rpc(EchoMsg.new)
|
54
54
|
expected_user_agent_prefix = "grpc-ruby/#{GRPC::VERSION}"
|
55
55
|
expect(response.msg.start_with?(expected_user_agent_prefix)).to be true
|
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.50.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: 2022-
|
11
|
+
date: 2022-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -253,7 +253,6 @@ files:
|
|
253
253
|
- src/ruby/ext/grpc/rb_xds_server_credentials.c
|
254
254
|
- src/ruby/ext/grpc/rb_xds_server_credentials.h
|
255
255
|
- src/ruby/lib/grpc.rb
|
256
|
-
- src/ruby/lib/grpc/2.5/grpc_c.so
|
257
256
|
- src/ruby/lib/grpc/2.6/grpc_c.so
|
258
257
|
- src/ruby/lib/grpc/2.7/grpc_c.so
|
259
258
|
- src/ruby/lib/grpc/3.0/grpc_c.so
|
@@ -346,7 +345,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
346
345
|
requirements:
|
347
346
|
- - ">="
|
348
347
|
- !ruby/object:Gem::Version
|
349
|
-
version: '2.
|
348
|
+
version: '2.6'
|
350
349
|
- - "<"
|
351
350
|
- !ruby/object:Gem::Version
|
352
351
|
version: 3.2.dev
|
Binary file
|