grpc 1.49.0.pre1-x86-mingw32 → 1.50.0.pre1-x86-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: '04993cfda6343dc3c1480c9881096f5b0e78e532a1e339f184d0faa9165363ab'
4
- data.tar.gz: bc87152f1a1b2935f9f7c163fd70c65032a49ae494068a5e7d643a86dbb62d8f
3
+ metadata.gz: b0509e12a05c79a1189243a2c10a5ac0bcc7da0cd2772427f41aedbe537ec8a4
4
+ data.tar.gz: b1008029c677976c902759311f5e02b0442fe76cda95630d821db313160a4ef6
5
5
  SHA512:
6
- metadata.gz: 31d6fa39580a09cd99927441fa3f0f550bce1a3aefc4fb439fd1f2d6fb9550545b2b4d9baf160ebfe9b5fb418ed0f7dbcdfd9b7b2c1c6c4571f9e49b0fede3b4
7
- data.tar.gz: 8502bbb25771f7c380ea82ad34a93d5cca000589eb057437269d7ebf6a5098c2a3264342322b812195a520c5862cda8521c0244106cbe613b2da47ad8364f4a5
6
+ metadata.gz: 0ae68589d43ed1aec0bf64dda8c31e399f61bb4f6f6117713774a72d11f7b4cb34fb7265cce1315847875407ecd05d0b57c989ba97551b6af9eb5e072f36ee7c
7
+ data.tar.gz: '078b7008d4b49432fd0bf592632a6b278c4b8deeba92dfa52dea8a42da572f666623cff3a4e5895d5231d8bdb360fbc2324e37b4f0ca236056c6c9580de3ef13'
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
Binary file
@@ -14,5 +14,5 @@
14
14
 
15
15
  # GRPC contains the General RPC module.
16
16
  module GRPC
17
- VERSION = '1.49.0.pre1'
17
+ VERSION = '1.50.0.pre1'
18
18
  end
@@ -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.49.0.pre1
4
+ version: 1.50.0.pre1
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - gRPC Authors
8
8
  autorequire:
9
9
  bindir: src/ruby/bin
10
10
  cert_chain: []
11
- date: 2022-08-18 00:00:00.000000000 Z
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
@@ -347,7 +346,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
347
346
  requirements:
348
347
  - - ">="
349
348
  - !ruby/object:Gem::Version
350
- version: '2.5'
349
+ version: '2.6'
351
350
  - - "<"
352
351
  - !ruby/object:Gem::Version
353
352
  version: 3.2.dev
Binary file