grpc 1.6.7-universal-darwin → 1.7.0.pre1-universal-darwin

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.

Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/src/ruby/ext/grpc/rb_call_credentials.c +6 -2
  3. data/src/ruby/ext/grpc/rb_grpc.c +1 -1
  4. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +30 -20
  5. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +50 -35
  6. data/src/ruby/lib/grpc.rb +1 -0
  7. data/src/ruby/lib/grpc/2.0/grpc_c.bundle +0 -0
  8. data/src/ruby/lib/grpc/2.1/grpc_c.bundle +0 -0
  9. data/src/ruby/lib/grpc/2.2/grpc_c.bundle +0 -0
  10. data/src/ruby/lib/grpc/2.3/grpc_c.bundle +0 -0
  11. data/src/ruby/lib/grpc/2.4/grpc_c.bundle +0 -0
  12. data/src/ruby/lib/grpc/generic/active_call.rb +34 -9
  13. data/src/ruby/lib/grpc/generic/bidi_call.rb +19 -10
  14. data/src/ruby/lib/grpc/generic/client_stub.rb +95 -38
  15. data/src/ruby/lib/grpc/generic/interceptor_registry.rb +53 -0
  16. data/src/ruby/lib/grpc/generic/interceptors.rb +186 -0
  17. data/src/ruby/lib/grpc/generic/rpc_desc.rb +66 -20
  18. data/src/ruby/lib/grpc/generic/rpc_server.rb +15 -3
  19. data/src/ruby/lib/grpc/google_rpc_status_utils.rb +1 -2
  20. data/src/ruby/lib/grpc/version.rb +1 -1
  21. data/src/ruby/pb/grpc/testing/duplicate/echo_duplicate_services_pb.rb +1 -0
  22. data/src/ruby/spec/channel_connection_spec.rb +1 -34
  23. data/src/ruby/spec/client_server_spec.rb +188 -82
  24. data/src/ruby/spec/generic/active_call_spec.rb +65 -11
  25. data/src/ruby/spec/generic/client_interceptors_spec.rb +153 -0
  26. data/src/ruby/spec/generic/interceptor_registry_spec.rb +65 -0
  27. data/src/ruby/spec/generic/rpc_desc_spec.rb +38 -0
  28. data/src/ruby/spec/generic/rpc_server_spec.rb +1 -34
  29. data/src/ruby/spec/generic/server_interceptors_spec.rb +218 -0
  30. data/src/ruby/spec/spec_helper.rb +4 -0
  31. data/src/ruby/spec/support/helpers.rb +73 -0
  32. data/src/ruby/spec/support/services.rb +147 -0
  33. metadata +24 -12
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.6.7
4
+ version: 1.7.0.pre1
5
5
  platform: universal-darwin
6
6
  authors:
7
7
  - gRPC Authors
8
8
  autorequire:
9
9
  bindir: src/ruby/bin
10
10
  cert_chain: []
11
- date: 2017-10-19 00:00:00.000000000 Z
11
+ date: 2017-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -100,28 +100,28 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0.9'
103
+ version: 0.14.1
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0.9'
110
+ version: 0.14.1
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '10.4'
117
+ version: '12.0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '10.4'
124
+ version: '12.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rake-compiler
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -156,28 +156,28 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '3.2'
159
+ version: '3.6'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '3.2'
166
+ version: '3.6'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rubocop
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 0.30.0
173
+ version: 0.49.1
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 0.30.0
180
+ version: 0.49.1
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: signet
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -251,6 +251,8 @@ files:
251
251
  - src/ruby/lib/grpc/generic/active_call.rb
252
252
  - src/ruby/lib/grpc/generic/bidi_call.rb
253
253
  - src/ruby/lib/grpc/generic/client_stub.rb
254
+ - src/ruby/lib/grpc/generic/interceptor_registry.rb
255
+ - src/ruby/lib/grpc/generic/interceptors.rb
254
256
  - src/ruby/lib/grpc/generic/rpc_desc.rb
255
257
  - src/ruby/lib/grpc/generic/rpc_server.rb
256
258
  - src/ruby/lib/grpc/generic/service.rb
@@ -283,10 +285,13 @@ files:
283
285
  - src/ruby/spec/compression_options_spec.rb
284
286
  - src/ruby/spec/error_sanity_spec.rb
285
287
  - src/ruby/spec/generic/active_call_spec.rb
288
+ - src/ruby/spec/generic/client_interceptors_spec.rb
286
289
  - src/ruby/spec/generic/client_stub_spec.rb
290
+ - src/ruby/spec/generic/interceptor_registry_spec.rb
287
291
  - src/ruby/spec/generic/rpc_desc_spec.rb
288
292
  - src/ruby/spec/generic/rpc_server_pool_spec.rb
289
293
  - src/ruby/spec/generic/rpc_server_spec.rb
294
+ - src/ruby/spec/generic/server_interceptors_spec.rb
290
295
  - src/ruby/spec/generic/service_spec.rb
291
296
  - src/ruby/spec/google_rpc_status_utils_spec.rb
292
297
  - src/ruby/spec/pb/duplicate/codegen_spec.rb
@@ -294,6 +299,8 @@ files:
294
299
  - src/ruby/spec/server_credentials_spec.rb
295
300
  - src/ruby/spec/server_spec.rb
296
301
  - src/ruby/spec/spec_helper.rb
302
+ - src/ruby/spec/support/helpers.rb
303
+ - src/ruby/spec/support/services.rb
297
304
  - src/ruby/spec/testdata/README
298
305
  - src/ruby/spec/testdata/ca.pem
299
306
  - src/ruby/spec/testdata/client.key
@@ -321,9 +328,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
321
328
  version: '2.5'
322
329
  required_rubygems_version: !ruby/object:Gem::Requirement
323
330
  requirements:
324
- - - ">="
331
+ - - ">"
325
332
  - !ruby/object:Gem::Version
326
- version: '0'
333
+ version: 1.3.1
327
334
  requirements: []
328
335
  rubyforge_project:
329
336
  rubygems_version: 2.6.10
@@ -341,10 +348,13 @@ test_files:
341
348
  - src/ruby/spec/compression_options_spec.rb
342
349
  - src/ruby/spec/error_sanity_spec.rb
343
350
  - src/ruby/spec/generic/active_call_spec.rb
351
+ - src/ruby/spec/generic/client_interceptors_spec.rb
344
352
  - src/ruby/spec/generic/client_stub_spec.rb
353
+ - src/ruby/spec/generic/interceptor_registry_spec.rb
345
354
  - src/ruby/spec/generic/rpc_desc_spec.rb
346
355
  - src/ruby/spec/generic/rpc_server_pool_spec.rb
347
356
  - src/ruby/spec/generic/rpc_server_spec.rb
357
+ - src/ruby/spec/generic/server_interceptors_spec.rb
348
358
  - src/ruby/spec/generic/service_spec.rb
349
359
  - src/ruby/spec/google_rpc_status_utils_spec.rb
350
360
  - src/ruby/spec/pb/duplicate/codegen_spec.rb
@@ -352,6 +362,8 @@ test_files:
352
362
  - src/ruby/spec/server_credentials_spec.rb
353
363
  - src/ruby/spec/server_spec.rb
354
364
  - src/ruby/spec/spec_helper.rb
365
+ - src/ruby/spec/support/helpers.rb
366
+ - src/ruby/spec/support/services.rb
355
367
  - src/ruby/spec/testdata/ca.pem
356
368
  - src/ruby/spec/testdata/client.key
357
369
  - src/ruby/spec/testdata/client.pem