grpc 1.30.1 → 1.30.2
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/Makefile +17 -17
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto +23 -0
- data/src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto +2 -0
- data/src/ruby/spec/pb/codegen/package_option_spec.rb +5 -1
- metadata +29 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cdfe6f81d65a1a71fcd3f1beb4423f25debb19862812c0bda8d2a0f4c8ca607
|
4
|
+
data.tar.gz: 5584a0136669095aa9ad1343fba27c6c886a1200b76f08eaaa0fa78805ce1245
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e223316330bd4d2b2e9a03acd87e6ac5e62de1345a2c1af4ffef99dd0cea6aeb86a3c104626c96f1b88e1dd2e53dddc15209cfc50400a5ced84f7ca3490547e4
|
7
|
+
data.tar.gz: 0e5f3851754e2386e4f7eb0bef1fdc3eb9a0bf0b56c3b8c3030b9b3b714f71225038e8ffb9c6b39f6a916ce45cb98a0d4cf72b83df0233dc4a4e58e07b92b68b
|
data/Makefile
CHANGED
@@ -470,8 +470,8 @@ Q = @
|
|
470
470
|
endif
|
471
471
|
|
472
472
|
CORE_VERSION = 10.0.0
|
473
|
-
CPP_VERSION = 1.30.
|
474
|
-
CSHARP_VERSION = 2.30.
|
473
|
+
CPP_VERSION = 1.30.2
|
474
|
+
CSHARP_VERSION = 2.30.2
|
475
475
|
|
476
476
|
CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
|
477
477
|
CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
|
@@ -4076,18 +4076,18 @@ endif
|
|
4076
4076
|
|
4077
4077
|
|
4078
4078
|
ifeq ($(SYSTEM),MINGW32)
|
4079
|
-
$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/
|
4079
|
+
$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(OPENSSL_DEP)
|
4080
4080
|
$(E) "[LD] Linking $@"
|
4081
4081
|
$(Q) mkdir -p `dirname $@`
|
4082
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(
|
4082
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4083
4083
|
else
|
4084
|
-
$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgpr
|
4084
|
+
$(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(OPENSSL_DEP)
|
4085
4085
|
$(E) "[LD] Linking $@"
|
4086
4086
|
$(Q) mkdir -p `dirname $@`
|
4087
4087
|
ifeq ($(SYSTEM),Darwin)
|
4088
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4088
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4089
4089
|
else
|
4090
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.10 -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4090
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.10 -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4091
4091
|
$(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so.10
|
4092
4092
|
$(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so
|
4093
4093
|
endif
|
@@ -4133,18 +4133,18 @@ endif
|
|
4133
4133
|
|
4134
4134
|
|
4135
4135
|
ifeq ($(SYSTEM),MINGW32)
|
4136
|
-
$(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_CSHARP_EXT_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/
|
4136
|
+
$(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_CSHARP_EXT_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(OPENSSL_DEP)
|
4137
4137
|
$(E) "[LD] Linking $@"
|
4138
4138
|
$(Q) mkdir -p `dirname $@`
|
4139
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(
|
4139
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4140
4140
|
else
|
4141
|
-
$(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_CSHARP_EXT_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgrpc
|
4141
|
+
$(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_CSHARP_EXT_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(OPENSSL_DEP)
|
4142
4142
|
$(E) "[LD] Linking $@"
|
4143
4143
|
$(Q) mkdir -p `dirname $@`
|
4144
4144
|
ifeq ($(SYSTEM),Darwin)
|
4145
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4145
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4146
4146
|
else
|
4147
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_csharp_ext.so.10 -o $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4147
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_csharp_ext.so.10 -o $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_CSHARP_EXT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4148
4148
|
$(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).so.10
|
4149
4149
|
$(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_csharp_ext$(SHARED_VERSION_CORE).so
|
4150
4150
|
endif
|
@@ -4634,18 +4634,18 @@ endif
|
|
4634
4634
|
|
4635
4635
|
|
4636
4636
|
ifeq ($(SYSTEM),MINGW32)
|
4637
|
-
$(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/
|
4637
|
+
$(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a
|
4638
4638
|
$(E) "[LD] Linking $@"
|
4639
4639
|
$(Q) mkdir -p `dirname $@`
|
4640
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(
|
4640
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=$(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).def -Wl,--out-implib=$(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE)-dll.a -o $(LIBDIR)/$(CONFIG)/grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4641
4641
|
else
|
4642
|
-
$(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgpr
|
4642
|
+
$(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE): $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(UPB_DEP) $(GRPC_ABSEIL_DEP) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a
|
4643
4643
|
$(E) "[LD] Linking $@"
|
4644
4644
|
$(Q) mkdir -p `dirname $@`
|
4645
4645
|
ifeq ($(SYSTEM),Darwin)
|
4646
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4646
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4647
4647
|
else
|
4648
|
-
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.10 -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4648
|
+
$(Q) $(LDXX) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc_unsecure.so.10 -o $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_UNSECURE_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libaddress_sorting.a $(LIBDIR)/$(CONFIG)/libupb.a $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(ADDRESS_SORTING_MERGE_LIBS) $(UPB_MERGE_LIBS) $(GRPC_ABSEIL_MERGE_LIBS) $(LDLIBS)
|
4649
4649
|
$(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so.10
|
4650
4650
|
$(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc_unsecure$(SHARED_VERSION_CORE).so
|
4651
4651
|
endif
|
@@ -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(
|
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.
|
4
|
+
version: 1.30.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gRPC Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: src/ruby/bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -1206,6 +1206,7 @@ files:
|
|
1206
1206
|
- src/ruby/spec/google_rpc_status_utils_spec.rb
|
1207
1207
|
- src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
|
1208
1208
|
- src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
|
1209
|
+
- src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto
|
1209
1210
|
- src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
|
1210
1211
|
- src/ruby/spec/pb/codegen/package_option_spec.rb
|
1211
1212
|
- src/ruby/spec/pb/duplicate/codegen_spec.rb
|
@@ -1986,42 +1987,43 @@ signing_key:
|
|
1986
1987
|
specification_version: 4
|
1987
1988
|
summary: GRPC system in Ruby
|
1988
1989
|
test_files:
|
1989
|
-
- src/ruby/spec/spec_helper.rb
|
1990
1990
|
- src/ruby/spec/pb/health/checker_spec.rb
|
1991
|
-
- src/ruby/spec/pb/
|
1992
|
-
- src/ruby/spec/pb/codegen/package_option_spec.rb
|
1993
|
-
- src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
|
1991
|
+
- src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto
|
1994
1992
|
- src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
|
1993
|
+
- src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
|
1995
1994
|
- src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
|
1996
|
-
- src/ruby/spec/
|
1997
|
-
- src/ruby/spec/
|
1998
|
-
- src/ruby/spec/
|
1999
|
-
- src/ruby/spec/server_credentials_spec.rb
|
2000
|
-
- src/ruby/spec/call_credentials_spec.rb
|
2001
|
-
- src/ruby/spec/client_server_spec.rb
|
2002
|
-
- src/ruby/spec/error_sanity_spec.rb
|
2003
|
-
- src/ruby/spec/channel_spec.rb
|
1995
|
+
- src/ruby/spec/pb/codegen/package_option_spec.rb
|
1996
|
+
- src/ruby/spec/pb/duplicate/codegen_spec.rb
|
1997
|
+
- src/ruby/spec/client_auth_spec.rb
|
2004
1998
|
- src/ruby/spec/server_spec.rb
|
2005
|
-
- src/ruby/spec/
|
2006
|
-
- src/ruby/spec/generic/rpc_server_spec.rb
|
2007
|
-
- src/ruby/spec/generic/active_call_spec.rb
|
1999
|
+
- src/ruby/spec/channel_connection_spec.rb
|
2008
2000
|
- src/ruby/spec/generic/rpc_server_pool_spec.rb
|
2009
2001
|
- src/ruby/spec/generic/client_interceptors_spec.rb
|
2010
|
-
- src/ruby/spec/generic/
|
2002
|
+
- src/ruby/spec/generic/server_interceptors_spec.rb
|
2003
|
+
- src/ruby/spec/generic/active_call_spec.rb
|
2011
2004
|
- src/ruby/spec/generic/interceptor_registry_spec.rb
|
2012
2005
|
- src/ruby/spec/generic/service_spec.rb
|
2013
|
-
- src/ruby/spec/generic/
|
2014
|
-
- src/ruby/spec/
|
2015
|
-
- src/ruby/spec/
|
2006
|
+
- src/ruby/spec/generic/rpc_server_spec.rb
|
2007
|
+
- src/ruby/spec/generic/rpc_desc_spec.rb
|
2008
|
+
- src/ruby/spec/generic/client_stub_spec.rb
|
2009
|
+
- src/ruby/spec/spec_helper.rb
|
2010
|
+
- src/ruby/spec/channel_credentials_spec.rb
|
2011
|
+
- src/ruby/spec/compression_options_spec.rb
|
2016
2012
|
- src/ruby/spec/testdata/ca.pem
|
2017
|
-
- src/ruby/spec/testdata/server1.key
|
2018
2013
|
- src/ruby/spec/testdata/server1.pem
|
2014
|
+
- src/ruby/spec/testdata/client.pem
|
2019
2015
|
- src/ruby/spec/testdata/README
|
2016
|
+
- src/ruby/spec/testdata/server1.key
|
2017
|
+
- src/ruby/spec/testdata/client.key
|
2018
|
+
- src/ruby/spec/google_rpc_status_utils_spec.rb
|
2019
|
+
- src/ruby/spec/errors_spec.rb
|
2020
|
+
- src/ruby/spec/channel_spec.rb
|
2021
|
+
- src/ruby/spec/client_server_spec.rb
|
2022
|
+
- src/ruby/spec/time_consts_spec.rb
|
2020
2023
|
- src/ruby/spec/support/helpers.rb
|
2021
2024
|
- src/ruby/spec/support/services.rb
|
2025
|
+
- src/ruby/spec/error_sanity_spec.rb
|
2026
|
+
- src/ruby/spec/server_credentials_spec.rb
|
2027
|
+
- src/ruby/spec/call_spec.rb
|
2022
2028
|
- src/ruby/spec/debug_message_spec.rb
|
2023
|
-
- src/ruby/spec/
|
2024
|
-
- src/ruby/spec/time_consts_spec.rb
|
2025
|
-
- src/ruby/spec/channel_credentials_spec.rb
|
2026
|
-
- src/ruby/spec/channel_connection_spec.rb
|
2027
|
-
- src/ruby/spec/client_auth_spec.rb
|
2029
|
+
- src/ruby/spec/call_credentials_spec.rb
|