Donna Dionne
aafe657978
Bump version to v1.34.x: regenerate projects
2020-10-07 12:51:27 -07:00
Mark D. Roth
30e4170dc3
Update version of master to 1.33-dev ("geeky").
2020-08-28 09:20:30 -07:00
Alexander Polcyn
cd13d5ab88
Copy channel args hash before appending ruby user agent
2020-08-13 12:51:45 -07:00
Jan Tattermusch
80daba44d9
regenerate projects
2020-07-22 17:38:48 +02:00
miyucy
f9111b2a82
Fix ruby 2.7 keyword arguments deprecation
...
Similar to https://github.com/grpc/grpc/pull/22915
2020-07-08 15:06:51 +09:00
Srini Polavarapu
057091fe1f
Regenerate projects
2020-06-05 13:54:32 -07:00
apolcyn
fed09cbe2c
Merge pull request #20417 from casperisfine/ruby-27-frozen-strings
...
Fix Ruby 2.7 compatibility in GenericService.underscore
2020-05-14 16:32:28 -07:00
Alexander Polcyn
90f13f08f0
plumb recv_stats_op error_string field up to the ruby surface
2020-05-12 18:23:22 -07:00
apolcyn
6640651bcf
Merge pull request #20867 from yoshimaru46/fix-to-use-immutable-string-literal
...
Fix to use immutable string literal
2020-05-12 13:24:17 -07:00
apolcyn
e63fa5fdf0
Merge pull request #22734 from south37/fix-yard-annotation-of-client-interceptor
...
Fix YARD annotation of GRPC::ClientInterceptor
2020-05-12 11:44:47 -07:00
Jason Meller
3e17411774
Covert hash to keyword arguments for ruby 2.7
...
Ruby 2.7 deprecated passing a hash as the last argument for a method that takes keyword params. This commit coverts the hash explicitly to keyword args using the double splat.
```
grpc-1.28.0-universal-darwin/src/ruby/lib/grpc/generic/service.rb:170: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
```
2020-05-10 17:15:30 -04:00
Nicolas "Pixel" Noble
791729d09f
Bumping version.
2020-04-30 08:12:29 +02:00
Jean Boussier
d6bebcd248
Fix Ruby 2.7 compatibility in GenericService.underscore
2020-04-27 12:38:46 +02:00
Nao Minami
c76ad73712
Fix yard annotation of ClientInterceptor
2020-04-22 18:50:48 +09:00
Richard Belleville
5ef379870d
Regenerate projects
2020-02-26 10:39:34 -08:00
Alexander Polcyn
1197454f5a
Regenerate projects
2020-01-17 15:36:25 -08:00
Richard Belleville
6feae07504
Regenerate projects
2019-12-03 15:08:50 -08:00
Yoshihiro Saito
4ba9b6d44e
Fix to use immutable string literal
2019-10-30 15:47:38 +09:00
Yash Tibrewal
07ef24344c
Regenerate projects
2019-10-24 11:54:20 -07:00
tanjunchen
64cdea5a07
fix some spelling mistakes in document
2019-10-04 09:07:35 +08:00
Esun Kim
cf444b9cab
Regenerate projects
2019-09-10 14:08:50 -07:00
Mike Moore
0f8dced6c4
Define Struct::Status in Ruby
...
Update error end2end test for loading when calling to_status.
Update error end2end test for loading when calling to_rpc_status.
2019-08-15 17:34:51 -06:00
Mike Moore
b132c34c61
Allow loading grpc/errors before grpc
2019-08-13 10:36:07 -06:00
Karthik Ravi Shankar
fcb43f9dee
Regenerate projects
2019-08-01 17:34:02 -07:00
apolcyn
8b71bd082e
Merge pull request #19585 from michaelherold/dont-require-relative-for-absolute-path
...
Don't require_relative for an absolute path
2019-07-17 09:58:54 -07:00
apolcyn
8cd016f597
Merge pull request #18913 from sat0yu/sat0yu/fix-typo
...
Fix a typo in the GRPC::RpcServer constructor description
2019-07-15 00:15:43 -07:00
Michael Herold
957fc7bab7
Don't require_relative for an absolute path
...
Ruby's `require_relative` method currently converts paths to absolute
paths. This idiosyncrasy means that the implementation of the require
for the distributed shared library works, however the semantics do not
mesh with the semantics of `require_relative`.
This is an issue when you redefine `require_relative` and follow the
semantics of the method, as [derailed_benchmarks does][1]. This means
that any project that uses `grpc` also cannot use that project (which
I will also be patching).
In the event that a new version of Ruby follows the semantics of the
method (whether or not that is likely), this will break as well.
By switching to `require` here instead of `require_relative`, we
maintain the functionality but do not use a semantically incompatible
method to do so.
[1]: 1b0c425720/lib/derailed_benchmarks/core_ext/kernel_require.rb (L24-L27)
2019-07-08 16:15:27 -05:00
Esun Kim
cd27a36924
Regenerate projects
2019-06-18 15:40:50 -07:00
Srini Polavarapu
6bc2ff1b5f
Regenerate projects
2019-05-10 10:38:59 -07:00
Alex Polcyn
b0db0f3fb4
Lazily load protobuf from the grpc ruby errors module
2019-05-06 20:57:28 +00:00
Yusuke Sato
7d55a8a904
Fix a typo in the GRPC::RpcServer constructor description
2019-04-30 15:25:05 +09:00
apolcyn
cdbab7bd72
Merge pull request #18752 from blowmage/bad_status-to_rpc_status
...
[Ruby] Add BadStatus#to_rpc_status
2019-04-26 18:16:33 -07:00
Mike Moore
b47f2048b8
Log ParseError raised in BadStatus#to_rpc_status
2019-04-18 22:26:39 -06:00
Mike Moore
0fa7cf9194
Update Add BadStatus#to_status documentation
2019-04-18 03:02:31 -06:00
Mike Moore
7afc6dbae3
Update BadStatus#to_rpc_status
...
Change the implementation to no longer raise when the rpc_status
protobuf value cannot be properly decoded.
Update the documentation.
2019-04-18 03:00:37 -06:00
Mike Moore
f370542dd6
Add BadStatus#to_rpc_status
2019-04-13 14:36:36 -06:00
SataQiu
44f92cdd17
clean up repeated words
2019-04-10 16:25:25 +08:00
Lidi Zheng
0231bf3b01
Regenerate projects
2019-03-29 16:24:50 -07:00
apolcyn
aa207933cb
Merge pull request #16240 from mattolson/fix-default-pool-keep-alive
...
Ruby: Fix default pool keep alive
2019-02-14 23:22:45 -08:00
Srini Polavarapu
b0efc103e3
Regenerate projects
2019-02-12 21:07:42 -08:00
Sanjay Pujare
94d5587643
Regenerate projects
2019-01-03 15:35:20 -08:00
Tommy Chen
39ac83a49e
ruby-sigint ready to be merged!
2018-12-26 11:17:48 -08:00
ganmacs
bd1fdfaabe
Return unimplemented
...
when calling a method which is server_streamer and is not implemented by user
2018-11-25 17:31:53 +09:00
Muxi Yan
f3e4ae633e
Regenerate projects
2018-11-19 15:24:53 -08:00
Stanley Cheung
e5ce1e36e6
Regenerate projects
2018-10-08 15:50:50 -07:00
apolcyn
3f1c75208e
Merge pull request #16593 from iguchi1124/remove-duplicate-error
...
Ruby: remove duplicated `Unimplemented` error definition
2018-10-08 10:32:45 -07:00
apolcyn
dc09ab5b37
Merge pull request #16642 from tenderlove/send-instead-of-method
...
Switch to `send` instead of `method(...).call`
2018-09-20 00:07:03 -07:00
Aaron Patterson
d374ee9a4f
Switch to `send` instead of `method(...).call`
...
This commit switches `method(...).call` to `send`. The call sites I
changed were all immediately calling `call` on the method object, then
throwing the method object away. Using `send` should be equivalent and
will not allocate the intermediate `method` object.
2018-09-17 15:32:57 -07:00
Shota Iguchi
f69d96a320
Remove duplicate `Unimplemented` error definition
2018-09-10 18:22:22 +09:00
ganmacs
005cb34614
Rescue GRPC::Core::CallError not to kill the worker threads
2018-08-28 16:24:36 +09:00