Tim Emiola
b5bcca44df
Adds interop cancellation tests
10 years ago
Tim Emiola
a10a8432f3
Corrects handling of status during bidi call orchestration.
...
- Ensures that invalid status are raised as exceptions
- Ensures that exceptions during the write thread are bubbled up to the starting
thread
Also - improves the debug messages during the BiDi calls
10 years ago
Tim Emiola
1b39916bba
Adds an explicit Cancellation exception
...
- uses Forwardable to provide access the @call within an ActiveCall
- removes redundant methods from ActiveCall
10 years ago
Tim Emiola
72d70fc0af
Adds a tests that demonstrates successful cancellation
10 years ago
Tim Emiola
89a5bd726a
Updates the pubsub sample so that it no longer uses a scope
10 years ago
Tim Emiola
189d9b0b1d
Adds a jwt_token_creds interop test
10 years ago
Tim Emiola
7db18b4cbf
Automatically adds a key for the jwt_aud_uri to the metadata handled by the metadata_update_proc
10 years ago
Tim Emiola
51a4c0846b
Corrects the Changelog date
10 years ago
Tim Emiola
095af67318
Revert "Update installation instructions to mention debian binary install"
...
This reverts commit db9eb05eea
.
10 years ago
Tim Emiola
1e0981262c
Correct style errors identified by the latest version of RuboCop
10 years ago
Tim Emiola
4bda5e39b9
Add a changelog
10 years ago
Tim Emiola
e1fd1bbe14
Update the version to 0.6.1
10 years ago
Tim Emiola
4907df078e
Update the version of googleauth to 0.4
10 years ago
Tim Emiola
db9eb05eea
Update installation instructions to mention debian binary install
10 years ago
Yuki Yugui Sonoda
2e50a7ab75
Also fix rb_CallOps too.
10 years ago
Yuki Yugui Sonoda
a7d369ea67
Use the prefix "grpc_rb_" rather than just "grpc_".
10 years ago
Tim Emiola
b48e010b47
Fixed bad op reference
10 years ago
Tim Emiola
2efdebaaaa
Adds comments to clarify memory handling
10 years ago
Tim Emiola
89cc87359f
Move timeout handling into the extension
10 years ago
Tim Emiola
c8b55a3a31
Cleanup: remove redundant extension code
10 years ago
Tim Emiola
495e9a8c75
Cleanup: remove redundant ruby code
10 years ago
Tim Emiola
f90ce677b3
Updates BidiCall/ClientStub to the new Call API
10 years ago
Tim Emiola
b22a21ebe7
Update RPC server to use the new call API
10 years ago
Tim Emiola
5684b4073c
Updates ActiveCall to use the new call API
10 years ago
Tim Emiola
05e934fe16
Rewrite client_server_spec to use the new call API
10 years ago
Tim Emiola
48b36b5bbf
Updates Server#request_call in line with the new API
10 years ago
Tim Emiola
1dae4acbec
Adds Call#run_batch
...
- named run_batch rather than start_batch
- this is because the func starts the batch, but additionally waits for it to
complete
10 years ago
Tim Emiola
98a32d399a
Adds symbols to access the fields in Status struct
10 years ago
Tim Emiola
6de558f9cd
Exposes the implementation of CompletionQueue#pluck
...
- allows it to be used from other files, e.g, in Call#run_batch
- this keeps code related to releasing the GIL during #pluck in one place
10 years ago
Tim Emiola
6b493a3353
Adds byte_buffer -> ruby string and char * -> byte_buffer convenience methods
10 years ago
Tim Emiola
37b09f4d83
Adds the call operation codes
10 years ago
Tim Emiola
564719d28e
Updates Channel#create_call to the new API
10 years ago
Yuki Yugui Sonoda
d241bcc030
Avoid identifiers reserved by Ruby
...
"prefix `rb` shows that it belongs to `ruby`". [RHG]
`rb` is a prefix to prevent exported symbols in libruby from
conflicting with symbols in other libraries, in particular,
dynamically loaded Ruby extension libraries.
So the prefix is reserved by Ruby by convention.
For gRPC, simply "grpc_" would be a better prefix.
[RHG]: Minero Aoki. "The Ruby Hacking Guide" (2002), chapter 4
10 years ago
Tim Emiola
14e941d0d2
Bump ruby version to match the new release
10 years ago
Tim Emiola
f20d760972
Updates the Rakefile
...
- simplify the test suite namespace
- fix bug in test suite setup where wrappper tests were run twice
- removes unnecessary descs
- add bunder's gem tasks for release and installation
10 years ago
Tim Emiola
f3770c38b7
Renables the test checking the server can send the initial bidi message
10 years ago
Tim Emiola
601869bb1a
Enables some incorrectly disabled tests
10 years ago
Tim Emiola
77e2fb0f95
Corrects the handling of metadata when the optional deadline is specified
10 years ago
Tim Emiola
e52995ef2b
Adds back calls to #finish at the end of server calls
10 years ago
Tim Emiola
62e3cc8429
Exposes the metadata method in server-side ActiveCall view classes
10 years ago
Tim Emiola
d5c733e824
Fixes reference to variable in the auth package
10 years ago
Tim Emiola
dfa5efb72e
Removes unused dependencies
10 years ago
Tim Emiola
485f0ed140
Corrects the host used in the client_server spec tests
10 years ago
Tim Emiola
4c7caf6180
Fix for #804
10 years ago
Tim Emiola
c32375c67c
Decompose the ClientStub initialize method
10 years ago
Tim Emiola
0ce8edc49e
Updates ruby code affected by the secure server API change
10 years ago
Tim Emiola
3a0d9768d3
Updates the ruby C extension to match the new secure C server API
10 years ago
Misha Brukman
5cdf37eb7b
Removed execute permissions from README files.
10 years ago
mattn
b9e1563853
Support ruby 2.2.0
10 years ago
murgatroid99
6a4c4fabf3
Added ruby tests to run_tests.py
10 years ago