Sha256: 20ef09c9ca313864b7186acdb9703c8489e7ea2782c52c9bba1a27d9bde8f198

Contents?: true

Size: 448 Bytes

Versions: 29

Compression:

Stored size: 448 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

29 entries across 29 versions & 2 rubygems

Version Path
protobuffy-3.6.0 bin/protoc-gen-ruby
protobuffy-3.5.1 bin/protoc-gen-ruby
protobuffy-3.4.0 bin/protoc-gen-ruby
protobuffy-3.3.0 bin/protoc-gen-ruby
protobuffy-3.2.0 bin/protoc-gen-ruby
protobuffy-3.1.0 bin/protoc-gen-ruby
protobuf-3.3.6 bin/protoc-gen-ruby
protobuf-3.3.5 bin/protoc-gen-ruby
protobuf-3.3.4 bin/protoc-gen-ruby
protobuf-3.3.3 bin/protoc-gen-ruby
protobuf-3.3.2 bin/protoc-gen-ruby
protobuf-3.3.1 bin/protoc-gen-ruby
protobuf-3.3.0 bin/protoc-gen-ruby
protobuf-3.2.1 bin/protoc-gen-ruby
protobuf-3.2.0 bin/protoc-gen-ruby
protobuf-3.1.0 bin/protoc-gen-ruby
protobuf-3.0.5 bin/protoc-gen-ruby
protobuf-3.0.4 bin/protoc-gen-ruby
protobuf-2.8.13 bin/protoc-gen-ruby
protobuf-3.0.3 bin/protoc-gen-ruby