grpc 1.60.0.pre1-x86-mingw32 → 1.61.0.pre2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e75318d10e9db37b1a9bdf17a3342661041477bce6558d5ce2c9a6f450e4e18
4
- data.tar.gz: 423016e457cf4db75fb56e0e7f8c96a228803733df869ebe530435e9568e0657
3
+ metadata.gz: '05706184d48c2e3ea46a84f443211069fce1d18dd43698b416c63b2938b352dd'
4
+ data.tar.gz: 53848f87e90da43933f02b11669d7a4ace675b7744afc5d7c5ea29d7a6cbf857
5
5
  SHA512:
6
- metadata.gz: 780b68d7b099607daf0d88bca35f4ff2220ac394dc346711f11ebd51bf6c65caa171090c2506b01aee355801d67fc4b696b3d6c9154989bdc4ab49d9e0ecf771
7
- data.tar.gz: 2061a9c7f1828a281a470292564767de50b11d4e55a25162d8d804fbe64df1423c91d8682e27440af5375b399af873ef007e6e45559224f3e41e8f0f05abb912
6
+ metadata.gz: bfbebcddf540035b065a8db475b5280c767434586a9c8c886bdb1779ad2999fcdd65eb1e9975f8ec4f99bc38dd903bdc6c12e1bb9ebc28961bf864b3c7e9786c
7
+ data.tar.gz: 914583e105e43426279a8178754f286cd4186cbda9fd305dc5a5a9386374a3543edc33dea78d43eefb45aaeb57ee95d798f3fb3a90326a708210cc850d685b43
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 = (char*)the_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);
@@ -23,7 +23,6 @@
23
23
  #include <math.h>
24
24
  #include <ruby/vm.h>
25
25
  #include <stdbool.h>
26
- #include <sys/time.h>
27
26
  #include <sys/types.h>
28
27
  #include <unistd.h>
29
28
 
@@ -21,8 +21,6 @@
21
21
 
22
22
  #include <ruby/ruby.h>
23
23
 
24
- #include <sys/time.h>
25
-
26
24
  #include <grpc/support/time.h>
27
25
 
28
26
  /* grpc_rb_mGrpcCore is the module containing the ruby wrapper GRPC classes. */
@@ -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
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.60.0.pre1'
17
+ VERSION = '1.61.0.pre2'
18
18
  end
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.60.0.pre1
4
+ version: 1.61.0.pre2
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - gRPC Authors
8
8
  autorequire:
9
9
  bindir: src/ruby/bin
10
10
  cert_chain: []
11
- date: 2023-11-13 00:00:00.000000000 Z
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.3'
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.3'
138
+ version: '1.4'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rspec
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -253,6 +253,7 @@ files:
253
253
  - src/ruby/lib/grpc/3.0/grpc_c.so
254
254
  - src/ruby/lib/grpc/3.1/grpc_c.so
255
255
  - src/ruby/lib/grpc/3.2/grpc_c.so
256
+ - src/ruby/lib/grpc/3.3/grpc_c.so
256
257
  - src/ruby/lib/grpc/core/status_codes.rb
257
258
  - src/ruby/lib/grpc/core/time_consts.rb
258
259
  - src/ruby/lib/grpc/errors.rb
@@ -345,14 +346,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
345
346
  version: '2.7'
346
347
  - - "<"
347
348
  - !ruby/object:Gem::Version
348
- version: 3.3.dev
349
+ version: 3.4.dev
349
350
  required_rubygems_version: !ruby/object:Gem::Requirement
350
351
  requirements:
351
- - - ">"
352
+ - - ">="
352
353
  - !ruby/object:Gem::Version
353
- version: 1.3.1
354
+ version: '0'
354
355
  requirements: []
355
- rubygems_version: 3.4.22
356
+ rubygems_version: 3.5.5
356
357
  signing_key:
357
358
  specification_version: 4
358
359
  summary: GRPC system in Ruby