grpc 1.30.1-x64-mingw32 → 1.30.2-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 642c6616455013275005f619a09ff045ee7b7c6366cd550ab1dbd0e1be8c084b
4
- data.tar.gz: 5f7362bfea74a552eeb4b1bb07025efc29af39e36b26e595ced36236e59d741a
3
+ metadata.gz: 35da91db3d74564a8a671c76dd790380f99e79d2c0efa85e550c758c4a5bb944
4
+ data.tar.gz: 305c241bd86216a121da861d6f57731760fbcb23c1343c6bfc6947178807d138
5
5
  SHA512:
6
- metadata.gz: 0b2c84631050a181a5679bfaec5eb8abda70bba96aa325ff7e26f8f2f79ccc7eac0f8f0b902523b8271d746da4ea176351570a841b1980a43cfa792560e9b386
7
- data.tar.gz: '094d8b7e2fb81ab2c500d173d0fd6036541115336f57f53d13d743d1f600c1d85e7ece342356fbc28d1af53ede849cd917bbbb5a1daf8c51f3e76eed2d7f538b'
6
+ metadata.gz: cd4c52bc1804f98a5385cb7afd5ef98e5fcff887e18a0db7f6420e2ea41af2065b81f9e5674377a2e0d51d321c0cf8b1bb54805081e7b75e981e66d2639259b3
7
+ data.tar.gz: 76b1ae0235b4376c73115d5cabc1430286bfe4d0fc432efe23f2f73fd0dd413b12c8d5e1abef337b4f05d0cf4a5f18566bbc4617164760dd696e638d41d82b48
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.30.1'
17
+ VERSION = '1.30.2'
18
18
  end
@@ -0,0 +1,23 @@
1
+ // Copyright 2020 gRPC authors.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package grpc.foo;
18
+
19
+ option ruby_package = "B::Other";
20
+
21
+ message Foo {
22
+ message Bar { }
23
+ }
@@ -17,6 +17,7 @@ syntax = "proto3";
17
17
  package grpc.testing;
18
18
 
19
19
  import "grpc/testing/package_options_import.proto";
20
+ import "grpc/testing/package_options_import2.proto";
20
21
 
21
22
  // For sanity checking package definitions
22
23
  option ruby_package = "RPC::Test::New::Package::Options";
@@ -34,6 +35,7 @@ message Bar {
34
35
  service AnotherTestService {
35
36
  rpc GetTest(AnotherTestRequest) returns (AnotherTestResponse) { }
36
37
  rpc OtherTest(Thing) returns (Thing) { }
38
+ rpc PackageTest(grpc.testing.Thing) returns (grpc.foo.Foo.Bar) { }
37
39
  rpc FooTest(Foo) returns (Foo) { }
38
40
  rpc NestedMessageTest(Foo) returns (Bar.Baz) { }
39
41
  }
@@ -27,7 +27,9 @@ describe 'Code Generation Options' do
27
27
  end
28
28
 
29
29
  it 'should generate and respect Ruby style package options' do
30
- with_protos(%w[grpc/testing/package_options_ruby_style.proto grpc/testing/package_options_import.proto]) do
30
+ with_protos(['grpc/testing/package_options_ruby_style.proto',
31
+ 'grpc/testing/package_options_import.proto',
32
+ 'grpc/testing/package_options_import2.proto']) do
31
33
  expect { RPC::Test::New::Package::Options::AnotherTestService::Service }.to raise_error(NameError)
32
34
  expect(require('grpc/testing/package_options_ruby_style_services_pb')).to be_truthy
33
35
  expect { RPC::Test::New::Package::Options::AnotherTestService::Service }.to_not raise_error
@@ -38,6 +40,8 @@ describe 'Code Generation Options' do
38
40
  expect(services[:GetTest].output).to eq(RPC::Test::New::Package::Options::AnotherTestResponse)
39
41
  expect(services[:OtherTest].input).to eq(A::Other::Thing)
40
42
  expect(services[:OtherTest].output).to eq(A::Other::Thing)
43
+ expect(services[:PackageTest].input).to eq(A::Other::Thing)
44
+ expect(services[:PackageTest].output).to eq(B::Other::Foo::Bar)
41
45
  expect(services[:FooTest].input).to eq(RPC::Test::New::Package::Options::Foo)
42
46
  expect(services[:FooTest].output).to eq(RPC::Test::New::Package::Options::Foo)
43
47
  expect(services[:NestedMessageTest].input).to eq(RPC::Test::New::Package::Options::Foo)
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.30.1
4
+ version: 1.30.2
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: 2020-07-08 00:00:00.000000000 Z
11
+ date: 2020-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -306,6 +306,7 @@ files:
306
306
  - src/ruby/spec/google_rpc_status_utils_spec.rb
307
307
  - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
308
308
  - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
309
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto
309
310
  - src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
310
311
  - src/ruby/spec/pb/codegen/package_option_spec.rb
311
312
  - src/ruby/spec/pb/duplicate/codegen_spec.rb
@@ -351,42 +352,43 @@ signing_key:
351
352
  specification_version: 4
352
353
  summary: GRPC system in Ruby
353
354
  test_files:
354
- - src/ruby/spec/spec_helper.rb
355
355
  - src/ruby/spec/pb/health/checker_spec.rb
356
- - src/ruby/spec/pb/duplicate/codegen_spec.rb
357
- - src/ruby/spec/pb/codegen/package_option_spec.rb
358
- - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
356
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto
359
357
  - src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
358
+ - src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
360
359
  - src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
361
- - src/ruby/spec/errors_spec.rb
362
- - src/ruby/spec/call_spec.rb
363
- - src/ruby/spec/compression_options_spec.rb
364
- - src/ruby/spec/server_credentials_spec.rb
365
- - src/ruby/spec/call_credentials_spec.rb
366
- - src/ruby/spec/client_server_spec.rb
367
- - src/ruby/spec/error_sanity_spec.rb
368
- - src/ruby/spec/channel_spec.rb
360
+ - src/ruby/spec/pb/codegen/package_option_spec.rb
361
+ - src/ruby/spec/pb/duplicate/codegen_spec.rb
362
+ - src/ruby/spec/client_auth_spec.rb
369
363
  - src/ruby/spec/server_spec.rb
370
- - src/ruby/spec/generic/client_stub_spec.rb
371
- - src/ruby/spec/generic/rpc_server_spec.rb
372
- - src/ruby/spec/generic/active_call_spec.rb
364
+ - src/ruby/spec/channel_connection_spec.rb
373
365
  - src/ruby/spec/generic/rpc_server_pool_spec.rb
374
366
  - src/ruby/spec/generic/client_interceptors_spec.rb
375
- - src/ruby/spec/generic/rpc_desc_spec.rb
367
+ - src/ruby/spec/generic/server_interceptors_spec.rb
368
+ - src/ruby/spec/generic/active_call_spec.rb
376
369
  - src/ruby/spec/generic/interceptor_registry_spec.rb
377
370
  - src/ruby/spec/generic/service_spec.rb
378
- - src/ruby/spec/generic/server_interceptors_spec.rb
379
- - src/ruby/spec/testdata/client.key
380
- - src/ruby/spec/testdata/client.pem
371
+ - src/ruby/spec/generic/rpc_server_spec.rb
372
+ - src/ruby/spec/generic/rpc_desc_spec.rb
373
+ - src/ruby/spec/generic/client_stub_spec.rb
374
+ - src/ruby/spec/spec_helper.rb
375
+ - src/ruby/spec/channel_credentials_spec.rb
376
+ - src/ruby/spec/compression_options_spec.rb
381
377
  - src/ruby/spec/testdata/ca.pem
382
- - src/ruby/spec/testdata/server1.key
383
378
  - src/ruby/spec/testdata/server1.pem
379
+ - src/ruby/spec/testdata/client.pem
384
380
  - src/ruby/spec/testdata/README
381
+ - src/ruby/spec/testdata/server1.key
382
+ - src/ruby/spec/testdata/client.key
383
+ - src/ruby/spec/google_rpc_status_utils_spec.rb
384
+ - src/ruby/spec/errors_spec.rb
385
+ - src/ruby/spec/channel_spec.rb
386
+ - src/ruby/spec/client_server_spec.rb
387
+ - src/ruby/spec/time_consts_spec.rb
385
388
  - src/ruby/spec/support/helpers.rb
386
389
  - src/ruby/spec/support/services.rb
390
+ - src/ruby/spec/error_sanity_spec.rb
391
+ - src/ruby/spec/server_credentials_spec.rb
392
+ - src/ruby/spec/call_spec.rb
387
393
  - src/ruby/spec/debug_message_spec.rb
388
- - src/ruby/spec/google_rpc_status_utils_spec.rb
389
- - src/ruby/spec/time_consts_spec.rb
390
- - src/ruby/spec/channel_credentials_spec.rb
391
- - src/ruby/spec/channel_connection_spec.rb
392
- - src/ruby/spec/client_auth_spec.rb
394
+ - src/ruby/spec/call_credentials_spec.rb