grpc 1.49.0.pre1-x64-mingw-ucrt → 1.50.0.pre1-x64-mingw-ucrt
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-ucrt.ruby +0 -0
- data/src/ruby/ext/grpc/extconf.rb +1 -1
- data/src/ruby/lib/grpc/3.1/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 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 274826178b95943358459d0152e1991237f163f3d2412a540c49a6fed2ef9d24
|
4
|
+
data.tar.gz: cb1b4729e19f6faf25de273699b7d79b200ae357ee34ec27da1cbf47e4cd28dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 067cdb7d68c521dfee7c982218d015070573955a09995a47c063f3b1902a8448661f24b834dfd81c77d9c8cfbbec2f7406fa1b677627a712d2405cd84725e1c8
|
7
|
+
data.tar.gz: 1df6dfc857240229c45deac7861134adb08f135cb08ffc42c4d2a48f40a10ed50d43df2d45bfec72276e89f981f84dc285aaa2270897ecef8ec9962a7aa36fb9
|
data/grpc_c.64-ucrt.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
|
@@ -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-mingw-ucrt
|
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
|
@@ -343,7 +343,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
343
343
|
requirements:
|
344
344
|
- - ">="
|
345
345
|
- !ruby/object:Gem::Version
|
346
|
-
version: '2.
|
346
|
+
version: '2.6'
|
347
347
|
- - "<"
|
348
348
|
- !ruby/object:Gem::Version
|
349
349
|
version: 3.2.dev
|