grpc 1.60.0-x64-mingw32 → 1.61.0.pre2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grpc_c.64-msvcrt.ruby +0 -0
- data/src/ruby/ext/grpc/rb_channel_args.c +3 -1
- data/src/ruby/ext/grpc/rb_grpc.c +0 -1
- data/src/ruby/ext/grpc/rb_grpc.h +0 -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.7/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/3.0/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 436cb51a4af567cb415a651dbc445d227ba3909e9ed482fcde79d86077f9bee8
|
4
|
+
data.tar.gz: a553f41ac329161b71d34031b8037411d6578950f40877013aee6fea7e3a4a5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 955343cb925d900c1c0f7bf09e44a9d68cea19035097c1f34bc9517120ea2cb0addd6338f7a1ae75e7f1e2557f6b835aceb9acabeecf0035ca2a757609497bf1
|
7
|
+
data.tar.gz: eea77053ae03e7fd6ab0908e3cb70431f2db8782f9d2888270eb81c189c9e8203f9b49756965ec41d060bf2e2b5ca92e8fd41bbe02d93d4f09ddee82ca1deee2
|
data/grpc_c.64-msvcrt.ruby
CHANGED
Binary file
|
@@ -71,7 +71,7 @@ static int grpc_rb_channel_create_in_process_add_args_hash_cb(VALUE key,
|
|
71
71
|
return ST_STOP;
|
72
72
|
}
|
73
73
|
|
74
|
-
args->args[args->num_args - 1].key = (
|
74
|
+
args->args[args->num_args - 1].key = gpr_strdup(the_key);
|
75
75
|
switch (TYPE(val)) {
|
76
76
|
case T_SYMBOL:
|
77
77
|
args->args[args->num_args - 1].type = GRPC_ARG_STRING;
|
@@ -163,6 +163,8 @@ void grpc_rb_channel_args_destroy(grpc_channel_args* args) {
|
|
163
163
|
GPR_ASSERT(args != NULL);
|
164
164
|
if (args->args == NULL) return;
|
165
165
|
for (int i = 0; i < args->num_args; i++) {
|
166
|
+
// the key was created with gpr_strdup
|
167
|
+
gpr_free(args->args[i].key);
|
166
168
|
if (args->args[i].type == GRPC_ARG_STRING) {
|
167
169
|
// we own string pointers, which were created with gpr_strdup
|
168
170
|
gpr_free(args->args[i].value.string);
|
data/src/ruby/ext/grpc/rb_grpc.c
CHANGED
data/src/ruby/ext/grpc/rb_grpc.h
CHANGED
@@ -180,6 +180,8 @@ grpc_tls_certificate_provider_static_data_create_type grpc_tls_certificate_provi
|
|
180
180
|
grpc_tls_certificate_provider_file_watcher_create_type grpc_tls_certificate_provider_file_watcher_create_import;
|
181
181
|
grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_release_import;
|
182
182
|
grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import;
|
183
|
+
grpc_tls_credentials_options_set_min_tls_version_type grpc_tls_credentials_options_set_min_tls_version_import;
|
184
|
+
grpc_tls_credentials_options_set_max_tls_version_type grpc_tls_credentials_options_set_max_tls_version_import;
|
183
185
|
grpc_tls_credentials_options_copy_type grpc_tls_credentials_options_copy_import;
|
184
186
|
grpc_tls_credentials_options_destroy_type grpc_tls_credentials_options_destroy_import;
|
185
187
|
grpc_tls_credentials_options_set_certificate_provider_type grpc_tls_credentials_options_set_certificate_provider_import;
|
@@ -469,6 +471,8 @@ void grpc_rb_load_imports(HMODULE library) {
|
|
469
471
|
grpc_tls_certificate_provider_file_watcher_create_import = (grpc_tls_certificate_provider_file_watcher_create_type) GetProcAddress(library, "grpc_tls_certificate_provider_file_watcher_create");
|
470
472
|
grpc_tls_certificate_provider_release_import = (grpc_tls_certificate_provider_release_type) GetProcAddress(library, "grpc_tls_certificate_provider_release");
|
471
473
|
grpc_tls_credentials_options_create_import = (grpc_tls_credentials_options_create_type) GetProcAddress(library, "grpc_tls_credentials_options_create");
|
474
|
+
grpc_tls_credentials_options_set_min_tls_version_import = (grpc_tls_credentials_options_set_min_tls_version_type) GetProcAddress(library, "grpc_tls_credentials_options_set_min_tls_version");
|
475
|
+
grpc_tls_credentials_options_set_max_tls_version_import = (grpc_tls_credentials_options_set_max_tls_version_type) GetProcAddress(library, "grpc_tls_credentials_options_set_max_tls_version");
|
472
476
|
grpc_tls_credentials_options_copy_import = (grpc_tls_credentials_options_copy_type) GetProcAddress(library, "grpc_tls_credentials_options_copy");
|
473
477
|
grpc_tls_credentials_options_destroy_import = (grpc_tls_credentials_options_destroy_type) GetProcAddress(library, "grpc_tls_credentials_options_destroy");
|
474
478
|
grpc_tls_credentials_options_set_certificate_provider_import = (grpc_tls_credentials_options_set_certificate_provider_type) GetProcAddress(library, "grpc_tls_credentials_options_set_certificate_provider");
|
@@ -515,6 +515,12 @@ extern grpc_tls_certificate_provider_release_type grpc_tls_certificate_provider_
|
|
515
515
|
typedef grpc_tls_credentials_options*(*grpc_tls_credentials_options_create_type)(void);
|
516
516
|
extern grpc_tls_credentials_options_create_type grpc_tls_credentials_options_create_import;
|
517
517
|
#define grpc_tls_credentials_options_create grpc_tls_credentials_options_create_import
|
518
|
+
typedef void(*grpc_tls_credentials_options_set_min_tls_version_type)(grpc_tls_credentials_options* options, grpc_tls_version min_tls_version);
|
519
|
+
extern grpc_tls_credentials_options_set_min_tls_version_type grpc_tls_credentials_options_set_min_tls_version_import;
|
520
|
+
#define grpc_tls_credentials_options_set_min_tls_version grpc_tls_credentials_options_set_min_tls_version_import
|
521
|
+
typedef void(*grpc_tls_credentials_options_set_max_tls_version_type)(grpc_tls_credentials_options* options, grpc_tls_version max_tls_version);
|
522
|
+
extern grpc_tls_credentials_options_set_max_tls_version_type grpc_tls_credentials_options_set_max_tls_version_import;
|
523
|
+
#define grpc_tls_credentials_options_set_max_tls_version grpc_tls_credentials_options_set_max_tls_version_import
|
518
524
|
typedef grpc_tls_credentials_options*(*grpc_tls_credentials_options_copy_type)(grpc_tls_credentials_options* options);
|
519
525
|
extern grpc_tls_credentials_options_copy_type grpc_tls_credentials_options_copy_import;
|
520
526
|
#define grpc_tls_credentials_options_copy grpc_tls_credentials_options_copy_import
|
Binary file
|
Binary file
|
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.
|
4
|
+
version: 1.61.0.pre2
|
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:
|
11
|
+
date: 2024-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '1.
|
131
|
+
version: '1.4'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '1.
|
138
|
+
version: '1.4'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rspec
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -350,7 +350,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
350
350
|
- !ruby/object:Gem::Version
|
351
351
|
version: '0'
|
352
352
|
requirements: []
|
353
|
-
rubygems_version: 3.
|
353
|
+
rubygems_version: 3.5.5
|
354
354
|
signing_key:
|
355
355
|
specification_version: 4
|
356
356
|
summary: GRPC system in Ruby
|