grpc 1.49.0.pre1-x86-linux → 1.50.0.pre1-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: 1da9db032eb6f032678db80a697d44602ebfc52d5868bfbd78f8ec569780a64c
4
- data.tar.gz: 628e72afb59ce09fdb05887d9c5b7c58fd688f6a74485dd0cb852c195027e4a4
3
+ metadata.gz: ac4ef650990e6143ec5c048701d6fea53f975dc9d153046d22da28c84400274f
4
+ data.tar.gz: 8dfe8b6bfe1526f9e813b50e0a9f60fc15f058b389af0c30bc35bd2030f581c7
5
5
  SHA512:
6
- metadata.gz: 0d1a69615bd1a6cc4418c240feb1c62c99a20e15f59113e14b947e7df2cc9455ad955619722a32b88e59f9da775c12ffab9c1d12fd6e7c7afd364efed48c9646
7
- data.tar.gz: ded53d6886ccb3c385bb29ddfeb579ef31ef75f553b45b93974cdb37e1cd655d981c30cf50ff5cd09e8795e034d28b56ba19079adc197e5c383f33cee7afc62c
6
+ metadata.gz: 4b3f3e2f7256b1371b6799dde8fb7743af9d22aca3e717147749f11c0385f7af54041b375319ff36e1548f6b37f692f3d340bc1ca790dc8b5f6738a06492d021
7
+ data.tar.gz: 580441d4fc779198dd0d7637c93ae4cafee035d9cc05582735677d97cb7d8c3ba7db9257e2ce52c9da701968585b0a460273f26ea750883c549258525a0f1fe7
@@ -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-linux
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