grpc 1.2.1.pre1-x64-mingw32 → 1.2.1.pre2-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 +4 -4
- data/grpc_c.32.ruby +0 -0
- data/grpc_c.64.ruby +0 -0
- data/src/ruby/ext/grpc/rb_call.c +11 -7
- data/src/ruby/lib/grpc/2.0/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.1/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.2/grpc_c.so +0 -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/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa7175136f39adf750e2fc776e64c34492369306
|
4
|
+
data.tar.gz: 696ba3b6e557b063b8018e8a83657c0651b5cff5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af55851c9eabbbd21e265ed96f3631a634ad075d599c35cb627c58c01e9316af001f1d2b051bfe7a0c28ff39e649dba2ea04ad500e13ae66bec018c069b9846b
|
7
|
+
data.tar.gz: d5a61a5cd156c4fc128ed158411185c5ad16ea7711bf9e5767c18581c2c228711d0f67e7e4406a86a3cdfa0bc1e0854ce2a61fe5f11d5d33c230f0ee563860d5
|
data/grpc_c.32.ruby
CHANGED
Binary file
|
data/grpc_c.64.ruby
CHANGED
Binary file
|
data/src/ruby/ext/grpc/rb_call.c
CHANGED
@@ -784,7 +784,7 @@ static VALUE grpc_run_batch_stack_build_result(run_batch_stack *st) {
|
|
784
784
|
Only one operation of each type can be active at once in any given
|
785
785
|
batch */
|
786
786
|
static VALUE grpc_rb_call_run_batch(VALUE self, VALUE ops_hash) {
|
787
|
-
run_batch_stack st;
|
787
|
+
run_batch_stack *st = NULL;
|
788
788
|
grpc_rb_call *call = NULL;
|
789
789
|
grpc_event ev;
|
790
790
|
grpc_call_error err;
|
@@ -792,6 +792,7 @@ static VALUE grpc_rb_call_run_batch(VALUE self, VALUE ops_hash) {
|
|
792
792
|
VALUE rb_write_flag = rb_ivar_get(self, id_write_flag);
|
793
793
|
unsigned write_flag = 0;
|
794
794
|
void *tag = (void*)&st;
|
795
|
+
|
795
796
|
if (RTYPEDDATA_DATA(self) == NULL) {
|
796
797
|
rb_raise(grpc_rb_eCallError, "Cannot run batch on closed call");
|
797
798
|
return Qnil;
|
@@ -806,14 +807,16 @@ static VALUE grpc_rb_call_run_batch(VALUE self, VALUE ops_hash) {
|
|
806
807
|
if (rb_write_flag != Qnil) {
|
807
808
|
write_flag = NUM2UINT(rb_write_flag);
|
808
809
|
}
|
809
|
-
|
810
|
-
|
810
|
+
st = gpr_malloc(sizeof(run_batch_stack));
|
811
|
+
grpc_run_batch_stack_init(st, write_flag);
|
812
|
+
grpc_run_batch_stack_fill_ops(st, ops_hash);
|
811
813
|
|
812
814
|
/* call grpc_call_start_batch, then wait for it to complete using
|
813
815
|
* pluck_event */
|
814
|
-
err = grpc_call_start_batch(call->wrapped, st
|
816
|
+
err = grpc_call_start_batch(call->wrapped, st->ops, st->op_num, tag, NULL);
|
815
817
|
if (err != GRPC_CALL_OK) {
|
816
|
-
grpc_run_batch_stack_cleanup(
|
818
|
+
grpc_run_batch_stack_cleanup(st);
|
819
|
+
gpr_free(st);
|
817
820
|
rb_raise(grpc_rb_eCallError,
|
818
821
|
"grpc_call_start_batch failed with %s (code=%d)",
|
819
822
|
grpc_call_error_detail_of(err), err);
|
@@ -826,8 +829,9 @@ static VALUE grpc_rb_call_run_batch(VALUE self, VALUE ops_hash) {
|
|
826
829
|
}
|
827
830
|
/* Build and return the BatchResult struct result,
|
828
831
|
if there is an error, it's reflected in the status */
|
829
|
-
result = grpc_run_batch_stack_build_result(
|
830
|
-
grpc_run_batch_stack_cleanup(
|
832
|
+
result = grpc_run_batch_stack_build_result(st);
|
833
|
+
grpc_run_batch_stack_cleanup(st);
|
834
|
+
gpr_free(st);
|
831
835
|
return result;
|
832
836
|
}
|
833
837
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/src/ruby/lib/grpc/grpc_c.so
CHANGED
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.2.1.
|
4
|
+
version: 1.2.1.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: 2017-03-
|
11
|
+
date: 2017-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|