tanjunchen
64cdea5a07
fix some spelling mistakes in document
6 years ago
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.
6 years ago
Joe Bolinger
f463965084
Allow :: in ruby_package
6 years ago
Mike Moore
5f30da6dd1
Update variable names in spec
6 years ago
Mike Moore
abcdf2d183
Party like its 2015
6 years ago
Mike Moore
b47f2048b8
Log ParseError raised in BadStatus#to_rpc_status
6 years ago
Mike Moore
71db662452
Add tests for error methods
6 years ago
ganmacs
bd1fdfaabe
Return unimplemented
...
when calling a method which is server_streamer and is not implemented by user
6 years ago
Alexander Polcyn
f6e8417627
Move package_options.proto file for ruby test
6 years ago
ganmacs
50c31d18e5
Use logger to suppress output debug output during test
7 years ago
Nick Gordon
3fe2c98877
Updates to the ruby generator for protobuf 3.6.0 changes
...
test for verifying the ruby_package option
added WeWork to the AUTHORS file
7 years ago
Dylan Thacker-Smith
78f3f44efb
ruby: Raise instead of hanging if grpc is used before and after fork
7 years ago
Chris Lamb
fba18d8551
Fix a number of spelling errors.
7 years ago
ganmacs
c1b64e3493
GRPC::Cancelled should be occured when calling Enumrable#next on canceled call
7 years ago
ganmacs
811a580425
EchoMsg is defined in spec/support/services.rb
7 years ago
ganmacs
cb450277a3
All spec files require spec_helper
7 years ago
ganmacs
075a26faff
spec_helper requires grpc
7 years ago
ganmacs
0b4fb6a5e2
Move a script which has a pre-requirement to outside of spec
...
And make it to be execute when using `./tools/run_tests/run_tests.py -l ruby`
7 years ago
Alexander Polcyn
e8bced7db8
Fix codegen test under gcov config
7 years ago
Alexander Polcyn
10acefc104
Never throw CallErrors for failed bidi reads or writes
7 years ago
Alexander Polcyn
ae937d34d6
Never throw CallErrors for failed bidi reads or writes
7 years ago
Daniel Neighman
8b7007ad7b
Updates the ruby generator RubyAsType to correctly account for underscores in packages
...
Prior to this change, when the ruby generator tried to reference an entity that was not part of the same package
(or a direct parent package) and the package contains underscores,
the result would simply uppercase the first character.
It should however uppercase each letter that proceeds an underscore and remove underscores.
i.e.
```
package my_package.service;
import "my_package/data.proto";
service MyService {
rpc Test (data.Request) returns data.Response {}
}
```
Was
```ruby
# ...
rpc :Test, My_package::Data::REquest, My_package::Data::Response
# ...
```
Should be:
```ruby
# ...
rpc :Test, MyPackage::Data::REquest, My_package::Data::Response
# ...
```
7 years ago
Alexander Polcyn
7b87bab832
Refactor ruby server shutdown to fix a race
7 years ago
Alexander Polcyn
b14f1ea602
Disable soreuseport in ruby unit tests
7 years ago
Jan Tattermusch
a2044f83c6
metadata plugin update statuses in wrapped langs
7 years ago
Marko Bogdanović
9f4a8eeced
Add HealthChecker helpers for setting statuses
7 years ago
Alexander Polcyn
55b3617b5a
update ruby extension to compression changes
8 years ago
Muxi Yan
4c7bc85bd8
Revert changes to "identity" "deflate" "gzip" "stream-gzip" compression algorithm names at surface API
...
This reverts commit 6360274841
.
This reverts commit 33d7a7aa5a
.
8 years ago
Muxi Yan
6360274841
Make the names of compression algorithms backwards compatible at surface API
8 years ago
Muxi Yan
906f69c1df
Fix Ruby build
8 years ago
Muxi Yan
74878c7bf5
Another Ruby build fix
8 years ago
Alexander Polcyn
f1b1ab0899
return nil from google rpc status conversion if the grpc-status-details-bin trailer wasnt set
8 years ago
Shaun McCormick
eec7a917ba
Add Ruby server interceptors
8 years ago
Alexander Polcyn
a594ba0bd7
add a client side utility for extracting a google rpc
...
status from a grpc::Status
8 years ago
Alexander Polcyn
67fa513fba
make sure calls created in ruby unit tests are completed timely
8 years ago
John Millikin
e387852303
Catch NotImplementedError exceptions and forward them to the client.
...
The old code only caught `StandardError`, which doesn't include
`NotImplementedError`. Despite the name, this error indicates a failure
of low-level OS interaction rather than unimplemented user code.
Any errors not caught by this section will cause the server to
terminate, which is generally undesirable because it might be happily
handling other requests.
8 years ago
Alexander Polcyn
c6627caf3a
cancel calls with an error message when bidi write loop fails with user
...
error
8 years ago
jiangtaoli2016
3aaa5ea028
minor fix
8 years ago
Alexander Polcyn
39088914ef
fix cancellation test flake
8 years ago
Alexander Polcyn
cd22f11905
properly finish bidi calls when there is an initial error
8 years ago
Alexander Polcyn
11fade7c14
Fix a ruby test flake
8 years ago
Alexander Polcyn
85cc143a7f
fix memory leak with large metadata keys or values
8 years ago
Alexander Polcyn
7cc83e0701
add a standalone client auth test
8 years ago
Alexander Polcyn
7cc30c1155
add missing fields on server call context and improve robustness of finished calls
8 years ago
Alexander Polcyn
59a19a9d5e
make sure that client-side view of calls is robust
8 years ago
Alexander Polcyn
fb1e164cd8
dont wait for gc to destroy calls on ruby server
8 years ago
Alexander Polcyn
8d69a2fea8
correct channel arg constructor calls in ruby channel creds test
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Alexander Polcyn
032f398543
cleanup
8 years ago
Alexander Polcyn
b2c0b7bc74
constant state watch without timeouts
8 years ago