grpc 1.30.0-x86-linux → 1.30.1-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 +4 -4
- data/grpc_c.32.ruby +0 -0
- data/grpc_c.64.ruby +0 -0
- data/src/ruby/ext/grpc/rb_call_credentials.c +3 -2
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +6 -0
- data/src/ruby/lib/grpc/2.3/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.4/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.5/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.6/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.7/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/support/services.rb +10 -4
- metadata +29 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89dd57790e3c0dc5da33b9af77f7185dcb964eae23e478dedafe525ef255e5ce
|
4
|
+
data.tar.gz: d9815c850c2c450c987d06d90ae637f646f53d3859fc1a0ffbc36d8668bed6a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3d78e006a299dc3fc8406226993340de3fc2bec7965f65822beeb1162085057d0c1f59d42fe53c04170ac4a0d3484aaacae94e1df8d455588d90c87cc974413
|
7
|
+
data.tar.gz: b61d4a3a7c7c3168cdc582aff49ef24243feeb549750d23df33e82e82a626dded18cd65faf209d42521591683f94fa8b0bc1aa01962d1b010da0cccf4aa96d63
|
data/grpc_c.32.ruby
CHANGED
Binary file
|
data/grpc_c.64.ruby
CHANGED
Binary file
|
@@ -109,6 +109,7 @@ static void grpc_rb_call_credentials_callback_with_gil(void* param) {
|
|
109
109
|
params->callback(params->user_data, md_ary.metadata, md_ary.count, status,
|
110
110
|
error_details);
|
111
111
|
grpc_rb_metadata_array_destroy_including_entries(&md_ary);
|
112
|
+
grpc_auth_metadata_context_reset(¶ms->context);
|
112
113
|
gpr_free(params);
|
113
114
|
}
|
114
115
|
|
@@ -118,9 +119,9 @@ static int grpc_rb_call_credentials_plugin_get_metadata(
|
|
118
119
|
grpc_metadata creds_md[GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX],
|
119
120
|
size_t* num_creds_md, grpc_status_code* status,
|
120
121
|
const char** error_details) {
|
121
|
-
callback_params* params =
|
122
|
+
callback_params* params = gpr_zalloc(sizeof(callback_params));
|
122
123
|
params->get_metadata = (VALUE)state;
|
123
|
-
params->context
|
124
|
+
grpc_auth_metadata_context_copy(&context, ¶ms->context);
|
124
125
|
params->user_data = user_data;
|
125
126
|
params->callback = cb;
|
126
127
|
|
@@ -135,6 +135,8 @@ grpc_google_refresh_token_credentials_create_type grpc_google_refresh_token_cred
|
|
135
135
|
grpc_access_token_credentials_create_type grpc_access_token_credentials_create_import;
|
136
136
|
grpc_google_iam_credentials_create_type grpc_google_iam_credentials_create_import;
|
137
137
|
grpc_sts_credentials_create_type grpc_sts_credentials_create_import;
|
138
|
+
grpc_auth_metadata_context_copy_type grpc_auth_metadata_context_copy_import;
|
139
|
+
grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_import;
|
138
140
|
grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
|
139
141
|
grpc_secure_channel_create_type grpc_secure_channel_create_import;
|
140
142
|
grpc_server_credentials_release_type grpc_server_credentials_release_import;
|
@@ -407,6 +409,8 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
407
409
|
grpc_access_token_credentials_create_import = (grpc_access_token_credentials_create_type) GetProcAddress(library, "grpc_access_token_credentials_create");
|
408
410
|
grpc_google_iam_credentials_create_import = (grpc_google_iam_credentials_create_type) GetProcAddress(library, "grpc_google_iam_credentials_create");
|
409
411
|
grpc_sts_credentials_create_import = (grpc_sts_credentials_create_type) GetProcAddress(library, "grpc_sts_credentials_create");
|
412
|
+
grpc_auth_metadata_context_copy_import = (grpc_auth_metadata_context_copy_type) GetProcAddress(library, "grpc_auth_metadata_context_copy");
|
413
|
+
grpc_auth_metadata_context_reset_import = (grpc_auth_metadata_context_reset_type) GetProcAddress(library, "grpc_auth_metadata_context_reset");
|
410
414
|
grpc_metadata_credentials_create_from_plugin_import = (grpc_metadata_credentials_create_from_plugin_type) GetProcAddress(library, "grpc_metadata_credentials_create_from_plugin");
|
411
415
|
grpc_secure_channel_create_import = (grpc_secure_channel_create_type) GetProcAddress(library, "grpc_secure_channel_create");
|
412
416
|
grpc_server_credentials_release_import = (grpc_server_credentials_release_type) GetProcAddress(library, "grpc_server_credentials_release");
|
@@ -380,6 +380,12 @@ extern grpc_google_iam_credentials_create_type grpc_google_iam_credentials_creat
|
|
380
380
|
typedef grpc_call_credentials*(*grpc_sts_credentials_create_type)(const grpc_sts_credentials_options* options, void* reserved);
|
381
381
|
extern grpc_sts_credentials_create_type grpc_sts_credentials_create_import;
|
382
382
|
#define grpc_sts_credentials_create grpc_sts_credentials_create_import
|
383
|
+
typedef void(*grpc_auth_metadata_context_copy_type)(grpc_auth_metadata_context* from, grpc_auth_metadata_context* to);
|
384
|
+
extern grpc_auth_metadata_context_copy_type grpc_auth_metadata_context_copy_import;
|
385
|
+
#define grpc_auth_metadata_context_copy grpc_auth_metadata_context_copy_import
|
386
|
+
typedef void(*grpc_auth_metadata_context_reset_type)(grpc_auth_metadata_context* context);
|
387
|
+
extern grpc_auth_metadata_context_reset_type grpc_auth_metadata_context_reset_import;
|
388
|
+
#define grpc_auth_metadata_context_reset grpc_auth_metadata_context_reset_import
|
383
389
|
typedef grpc_call_credentials*(*grpc_metadata_credentials_create_from_plugin_type)(grpc_metadata_credentials_plugin plugin, grpc_security_level min_security_level, void* reserved);
|
384
390
|
extern grpc_metadata_credentials_create_from_plugin_type grpc_metadata_credentials_create_from_plugin_import;
|
385
391
|
#define grpc_metadata_credentials_create_from_plugin grpc_metadata_credentials_create_from_plugin_import
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -17,12 +17,18 @@ require 'spec_helper'
|
|
17
17
|
|
18
18
|
# A test message
|
19
19
|
class EchoMsg
|
20
|
-
|
21
|
-
|
20
|
+
attr_reader :msg
|
21
|
+
|
22
|
+
def initialize(msg: '')
|
23
|
+
@msg = msg
|
22
24
|
end
|
23
25
|
|
24
|
-
def self.
|
25
|
-
|
26
|
+
def self.marshal(o)
|
27
|
+
o.msg
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.unmarshal(msg)
|
31
|
+
EchoMsg.new(msg: msg)
|
26
32
|
end
|
27
33
|
end
|
28
34
|
|
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.1
|
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: 2020-
|
11
|
+
date: 2020-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -352,41 +352,41 @@ specification_version: 4
|
|
352
352
|
summary: GRPC system in Ruby
|
353
353
|
test_files:
|
354
354
|
- src/ruby/spec/spec_helper.rb
|
355
|
-
- src/ruby/spec/client_auth_spec.rb
|
356
|
-
- src/ruby/spec/server_spec.rb
|
357
|
-
- src/ruby/spec/errors_spec.rb
|
358
|
-
- src/ruby/spec/generic/client_stub_spec.rb
|
359
|
-
- src/ruby/spec/generic/interceptor_registry_spec.rb
|
360
|
-
- src/ruby/spec/generic/rpc_server_pool_spec.rb
|
361
|
-
- src/ruby/spec/generic/rpc_server_spec.rb
|
362
|
-
- src/ruby/spec/generic/rpc_desc_spec.rb
|
363
|
-
- src/ruby/spec/generic/active_call_spec.rb
|
364
|
-
- src/ruby/spec/generic/server_interceptors_spec.rb
|
365
|
-
- src/ruby/spec/generic/service_spec.rb
|
366
|
-
- src/ruby/spec/generic/client_interceptors_spec.rb
|
367
|
-
- src/ruby/spec/channel_credentials_spec.rb
|
368
|
-
- src/ruby/spec/time_consts_spec.rb
|
369
|
-
- src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
|
370
|
-
- src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
|
371
|
-
- src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
|
372
|
-
- src/ruby/spec/pb/codegen/package_option_spec.rb
|
373
355
|
- src/ruby/spec/pb/health/checker_spec.rb
|
374
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
|
359
|
+
- src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
|
360
|
+
- src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
|
361
|
+
- src/ruby/spec/errors_spec.rb
|
375
362
|
- src/ruby/spec/call_spec.rb
|
363
|
+
- src/ruby/spec/compression_options_spec.rb
|
364
|
+
- src/ruby/spec/server_credentials_spec.rb
|
376
365
|
- src/ruby/spec/call_credentials_spec.rb
|
377
366
|
- src/ruby/spec/client_server_spec.rb
|
378
|
-
- src/ruby/spec/
|
367
|
+
- src/ruby/spec/error_sanity_spec.rb
|
379
368
|
- src/ruby/spec/channel_spec.rb
|
380
|
-
- src/ruby/spec/
|
381
|
-
- src/ruby/spec/
|
382
|
-
- src/ruby/spec/
|
383
|
-
- src/ruby/spec/
|
384
|
-
- src/ruby/spec/
|
385
|
-
- src/ruby/spec/
|
369
|
+
- 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
|
373
|
+
- src/ruby/spec/generic/rpc_server_pool_spec.rb
|
374
|
+
- src/ruby/spec/generic/client_interceptors_spec.rb
|
375
|
+
- src/ruby/spec/generic/rpc_desc_spec.rb
|
376
|
+
- src/ruby/spec/generic/interceptor_registry_spec.rb
|
377
|
+
- src/ruby/spec/generic/service_spec.rb
|
378
|
+
- src/ruby/spec/generic/server_interceptors_spec.rb
|
386
379
|
- src/ruby/spec/testdata/client.key
|
380
|
+
- src/ruby/spec/testdata/client.pem
|
387
381
|
- src/ruby/spec/testdata/ca.pem
|
388
382
|
- src/ruby/spec/testdata/server1.key
|
389
383
|
- src/ruby/spec/testdata/server1.pem
|
390
|
-
- src/ruby/spec/testdata/client.pem
|
391
384
|
- src/ruby/spec/testdata/README
|
392
|
-
- src/ruby/spec/
|
385
|
+
- src/ruby/spec/support/helpers.rb
|
386
|
+
- src/ruby/spec/support/services.rb
|
387
|
+
- 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
|