Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
teach protoc-gen-ruby PB_{DUMP,LOAD}_REQUEST_BYTES
`PB_DUMP_REQUEST_BYTES=foo.bin protoc foo.proto --plugin=protoc-gen-gem=bin/protoc-gen-ruby --gem_out=.` will dump the raw proto request bytes generated by protoc for foo.proto to foo.bin `PB_LOAD_REQUEST_BYTES=foo.bin bin/protoc-gen-ruby` will read the raw request bytes from foo.bin and print the generated code (actually it is the code gen response proto, but it is still readable) to STDOUT
- Loading branch information