Sha256: c0ce120d3d02cce67e779feba7fb684a212b441fb72d123b047bd62c1c1be221

Contents?: true

Size: 447 Bytes

Versions: 24

Compression:

Stored size: 447 Bytes

Contents

#!/usr/bin/env ruby

# Before requiring protobuf, ensure that we will not load any
# server or client code.
#
ENV['PB_NO_NETWORKING'] = '1'

$LOAD_PATH << ::File.expand_path("../../lib", __FILE__)
require 'protobuf'
require 'protobuf/descriptors'
require 'protobuf/code_generator'

request_bytes = STDIN.read
code_generator = ::Protobuf::CodeGenerator.new(request_bytes)
response_bytes = code_generator.response_bytes
STDOUT.print(response_bytes)

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
protobuf-core-3.5.0 bin/protoc-gen-ruby
protobuf-3.6.12 bin/protoc-gen-ruby
protobuf-3.6.11 bin/protoc-gen-ruby
protobuf-3.6.10 bin/protoc-gen-ruby
protobuf-3.6.9 bin/protoc-gen-ruby
protobuf-3.7.0.pre0 bin/protoc-gen-ruby
protobuf-3.6.7 bin/protoc-gen-ruby
protobuf-3.6.6 bin/protoc-gen-ruby
protobuf-3.6.2 bin/protoc-gen-ruby
protobuf-3.6.1 bin/protoc-gen-ruby
protobuf-3.6.0 bin/protoc-gen-ruby
protobuf-3.5.5 bin/protoc-gen-ruby
protobuf-3.5.4 bin/protoc-gen-ruby
protobuf-3.5.3 bin/protoc-gen-ruby
protobuf-3.5.2 bin/protoc-gen-ruby
protobuf-3.5.1 bin/protoc-gen-ruby
prepor-protobuf-3.5.1 bin/protoc-gen-prepor-ruby
prepor-protobuf-3.5.0 bin/protoc-gen-ruby
protobuf-3.5.0 bin/protoc-gen-ruby
protobuf-3.4.4 bin/protoc-gen-ruby